diff options
| author | Jan Djärv | 2007-11-01 07:38:13 +0000 |
|---|---|---|
| committer | Jan Djärv | 2007-11-01 07:38:13 +0000 |
| commit | e818a45041b54e37a5f0e0c1dccf8a7294e54040 (patch) | |
| tree | 1d8d460c7b9180129a060cd0bcacee16f2fb2fee | |
| parent | 04a697fefe9b64173b39d07d9b5bb857e16d6c40 (diff) | |
| download | emacs-e818a45041b54e37a5f0e0c1dccf8a7294e54040.tar.gz emacs-e818a45041b54e37a5f0e0c1dccf8a7294e54040.zip | |
Remove HAVE_X11R5 check.
| -rw-r--r-- | configure.in | 86 |
1 files changed, 32 insertions, 54 deletions
diff --git a/configure.in b/configure.in index c6fca826461..34ec52ab92c 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -2118,24 +2118,6 @@ fail; | |||
| 2118 | fi | 2118 | fi |
| 2119 | fi | 2119 | fi |
| 2120 | 2120 | ||
| 2121 | if test "${window_system}" = "x11"; then | ||
| 2122 | AC_MSG_CHECKING(X11 version 5) | ||
| 2123 | AC_CACHE_VAL(emacs_cv_x11_version_5, | ||
| 2124 | [AC_TRY_LINK([#include <X11/Xlib.h>], | ||
| 2125 | [#if XlibSpecificationRelease < 5 | ||
| 2126 | fail; | ||
| 2127 | #endif | ||
| 2128 | ], emacs_cv_x11_version_5=yes, emacs_cv_x11_version_5=no)]) | ||
| 2129 | if test $emacs_cv_x11_version_5 = yes; then | ||
| 2130 | AC_MSG_RESULT(5 or newer) | ||
| 2131 | HAVE_X11R5=yes | ||
| 2132 | AC_DEFINE(HAVE_X11R5, 1, | ||
| 2133 | [Define to 1 if you have the X11R5 or newer version of Xlib.]) | ||
| 2134 | else | ||
| 2135 | HAVE_X11R5=no | ||
| 2136 | AC_MSG_RESULT(before 5) | ||
| 2137 | fi | ||
| 2138 | fi | ||
| 2139 | 2121 | ||
| 2140 | ### Use -lrsvg-2 if available, unless `--with-rsvg=no' is specified. | 2122 | ### Use -lrsvg-2 if available, unless `--with-rsvg=no' is specified. |
| 2141 | HAVE_RSVG=no | 2123 | HAVE_RSVG=no |
| @@ -2298,46 +2280,42 @@ dnl Do not put whitespace before the #include statements below. | |||
| 2298 | dnl Older compilers (eg sunos4 cc) choke on it. | 2280 | dnl Older compilers (eg sunos4 cc) choke on it. |
| 2299 | HAVE_XAW3D=no | 2281 | HAVE_XAW3D=no |
| 2300 | if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then | 2282 | if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then |
| 2301 | if test x"${HAVE_X11R5}" != xyes; then | 2283 | if test "$with_xaw3d" != no; then |
| 2302 | USE_X_TOOLKIT=none | 2284 | AC_MSG_CHECKING(for xaw3d) |
| 2303 | else | 2285 | AC_CACHE_VAL(emacs_cv_xaw3d, |
| 2304 | if test "$with_xaw3d" != no; then | 2286 | [AC_TRY_LINK([ |
| 2305 | AC_MSG_CHECKING(for xaw3d) | ||
| 2306 | AC_CACHE_VAL(emacs_cv_xaw3d, | ||
| 2307 | [AC_TRY_LINK([ | ||
| 2308 | #include <X11/Intrinsic.h> | 2287 | #include <X11/Intrinsic.h> |
| 2309 | #include <X11/Xaw3d/Simple.h>], | 2288 | #include <X11/Xaw3d/Simple.h>], |
| 2310 | [], | 2289 | [], |
| 2311 | emacs_cv_xaw3d=yes, | 2290 | emacs_cv_xaw3d=yes, |
| 2312 | emacs_cv_xaw3d=no)]) | 2291 | emacs_cv_xaw3d=no)]) |
| 2313 | else | 2292 | else |
| 2314 | emacs_cv_xaw3d=no | 2293 | emacs_cv_xaw3d=no |
| 2315 | fi | 2294 | fi |
| 2316 | if test $emacs_cv_xaw3d = yes; then | 2295 | if test $emacs_cv_xaw3d = yes; then |
| 2296 | AC_MSG_RESULT([yes; using Lucid toolkit]) | ||
| 2297 | USE_X_TOOLKIT=LUCID | ||
| 2298 | HAVE_XAW3D=yes | ||
| 2299 | AC_DEFINE(HAVE_XAW3D, 1, | ||
| 2300 | [Define to 1 if you have the Xaw3d library (-lXaw3d).]) | ||
| 2301 | else | ||
| 2302 | AC_MSG_RESULT(no) | ||
| 2303 | AC_MSG_CHECKING(for libXaw) | ||
| 2304 | AC_CACHE_VAL(emacs_cv_xaw, | ||
| 2305 | [AC_TRY_LINK([ | ||
| 2306 | #include <X11/Intrinsic.h> | ||
| 2307 | #include <X11/Xaw/Simple.h>], | ||
| 2308 | [], | ||
| 2309 | emacs_cv_xaw=yes, | ||
| 2310 | emacs_cv_xaw=no)]) | ||
| 2311 | if test $emacs_cv_xaw = yes; then | ||
| 2317 | AC_MSG_RESULT([yes; using Lucid toolkit]) | 2312 | AC_MSG_RESULT([yes; using Lucid toolkit]) |
| 2318 | USE_X_TOOLKIT=LUCID | 2313 | USE_X_TOOLKIT=LUCID |
| 2319 | HAVE_XAW3D=yes | 2314 | elif test x"${USE_X_TOOLKIT}" = xLUCID; then |
| 2320 | AC_DEFINE(HAVE_XAW3D, 1, | 2315 | AC_MSG_ERROR([Lucid toolkit requires X11/Xaw include files]) |
| 2321 | [Define to 1 if you have the Xaw3d library (-lXaw3d).]) | ||
| 2322 | else | 2316 | else |
| 2323 | AC_MSG_RESULT(no) | 2317 | AC_MSG_RESULT([no; do not use toolkit by default]) |
| 2324 | AC_MSG_CHECKING(for libXaw) | 2318 | USE_X_TOOLKIT=none |
| 2325 | AC_CACHE_VAL(emacs_cv_xaw, | ||
| 2326 | [AC_TRY_LINK([ | ||
| 2327 | #include <X11/Intrinsic.h> | ||
| 2328 | #include <X11/Xaw/Simple.h>], | ||
| 2329 | [], | ||
| 2330 | emacs_cv_xaw=yes, | ||
| 2331 | emacs_cv_xaw=no)]) | ||
| 2332 | if test $emacs_cv_xaw = yes; then | ||
| 2333 | AC_MSG_RESULT([yes; using Lucid toolkit]) | ||
| 2334 | USE_X_TOOLKIT=LUCID | ||
| 2335 | elif test x"${USE_X_TOOLKIT}" = xLUCID; then | ||
| 2336 | AC_MSG_ERROR([Lucid toolkit requires X11/Xaw include files]) | ||
| 2337 | else | ||
| 2338 | AC_MSG_RESULT([no; do not use toolkit by default]) | ||
| 2339 | USE_X_TOOLKIT=none | ||
| 2340 | fi | ||
| 2341 | fi | 2319 | fi |
| 2342 | fi | 2320 | fi |
| 2343 | fi | 2321 | fi |
| @@ -3359,7 +3337,7 @@ typedef unsigned size_t; | |||
| 3359 | 3337 | ||
| 3360 | #ifdef HAVE_X11R6 | 3338 | #ifdef HAVE_X11R6 |
| 3361 | #define HAVE_X_I18N | 3339 | #define HAVE_X_I18N |
| 3362 | #elif defined HAVE_X11R5 && !defined X11R5_INHIBIT_I18N | 3340 | #elif !defined X11R5_INHIBIT_I18N |
| 3363 | #define HAVE_X_I18N | 3341 | #define HAVE_X_I18N |
| 3364 | #endif | 3342 | #endif |
| 3365 | 3343 | ||