diff options
| author | Jan Djärv | 2007-08-29 06:36:57 +0000 |
|---|---|---|
| committer | Jan Djärv | 2007-08-29 06:36:57 +0000 |
| commit | c982cf7d879ba60689923257bf4ea90b1eb5c6d0 (patch) | |
| tree | b67ca439b8024fa937b4545c67bd6a4d040901e2 | |
| parent | 381864b2990031119da16684668b48eb86894dca (diff) | |
| download | emacs-c982cf7d879ba60689923257bf4ea90b1eb5c6d0.tar.gz emacs-c982cf7d879ba60689923257bf4ea90b1eb5c6d0.zip | |
New option: --without-xaw3d.
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rwxr-xr-x | configure | 101 | ||||
| -rw-r--r-- | configure.in | 18 |
3 files changed, 99 insertions, 24 deletions
| @@ -1,3 +1,7 @@ | |||
| 1 | 2007-08-29 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | ||
| 2 | |||
| 3 | * configure.in: New option: --without-xaw3d. | ||
| 4 | |||
| 1 | 2007-08-24 Glenn Morris <rgm@gnu.org> | 5 | 2007-08-24 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * configure.in: Check for a suitably recent makeinfo. | 7 | * configure.in: Check for a suitably recent makeinfo. |
| @@ -412,10 +412,10 @@ else | |||
| 412 | fi | 412 | fi |
| 413 | 413 | ||
| 414 | test \$exitcode = 0") || { | 414 | test \$exitcode = 0") || { |
| 415 | echo Please tell bug-autoconf@gnu.org about your system, | 415 | echo No shell found that supports shell functions. |
| 416 | echo including any error possibly output before this message. | 416 | echo Please tell autoconf@gnu.org about your system, |
| 417 | echo This can help us improve future autoconf versions. | 417 | echo including any error possibly output before this |
| 418 | echo Configuration will now proceed without shell functions. | 418 | echo message |
| 419 | } | 419 | } |
| 420 | 420 | ||
| 421 | 421 | ||
| @@ -679,6 +679,7 @@ INSTALL_DATA | |||
| 679 | RANLIB | 679 | RANLIB |
| 680 | INSTALL_INFO | 680 | INSTALL_INFO |
| 681 | GZIP_PROG | 681 | GZIP_PROG |
| 682 | MAKEINFO | ||
| 682 | LIBSOUND | 683 | LIBSOUND |
| 683 | PKG_CONFIG | 684 | PKG_CONFIG |
| 684 | ALSA_CFLAGS | 685 | ALSA_CFLAGS |
| @@ -1348,6 +1349,7 @@ Optional Packages: | |||
| 1348 | --with-pkg-config-prog Path to pkg-config to use for finding GTK and librsvg | 1349 | --with-pkg-config-prog Path to pkg-config to use for finding GTK and librsvg |
| 1349 | --without-toolkit-scroll-bars | 1350 | --without-toolkit-scroll-bars |
| 1350 | don't use Motif or Xaw3d scroll bars | 1351 | don't use Motif or Xaw3d scroll bars |
| 1352 | --without-xaw3d don't use Xaw3d | ||
| 1351 | --without-xim don't use X11 XIM | 1353 | --without-xim don't use X11 XIM |
| 1352 | --without-carbon don't use Carbon GUI on Mac OS X | 1354 | --without-carbon don't use Carbon GUI on Mac OS X |
| 1353 | --with-x use the X Window System | 1355 | --with-x use the X Window System |
| @@ -1976,6 +1978,12 @@ if test "${with_toolkit_scroll_bars+set}" = set; then | |||
| 1976 | fi | 1978 | fi |
| 1977 | 1979 | ||
| 1978 | 1980 | ||
| 1981 | # Check whether --with-xpm was given. | ||
| 1982 | if test "${with_xpm+set}" = set; then | ||
| 1983 | withval=$with_xpm; | ||
| 1984 | fi | ||
| 1985 | |||
| 1986 | |||
| 1979 | # Check whether --with-xim was given. | 1987 | # Check whether --with-xim was given. |
| 1980 | if test "${with_xim+set}" = set; then | 1988 | if test "${with_xim+set}" = set; then |
| 1981 | withval=$with_xim; | 1989 | withval=$with_xim; |
| @@ -5330,6 +5338,61 @@ fi | |||
| 5330 | 5338 | ||
| 5331 | 5339 | ||
| 5332 | 5340 | ||
| 5341 | ## Need makeinfo >= 4.6 (?) to build the manuals. | ||
| 5342 | # Extract the first word of "makeinfo", so it can be a program name with args. | ||
| 5343 | set dummy makeinfo; ac_word=$2 | ||
| 5344 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
| 5345 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | ||
| 5346 | if test "${ac_cv_path_MAKEINFO+set}" = set; then | ||
| 5347 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 5348 | else | ||
| 5349 | case $MAKEINFO in | ||
| 5350 | [\\/]* | ?:[\\/]*) | ||
| 5351 | ac_cv_path_MAKEINFO="$MAKEINFO" # Let the user override the test with a path. | ||
| 5352 | ;; | ||
| 5353 | *) | ||
| 5354 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 5355 | for as_dir in $PATH | ||
| 5356 | do | ||
| 5357 | IFS=$as_save_IFS | ||
| 5358 | test -z "$as_dir" && as_dir=. | ||
| 5359 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 5360 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | ||
| 5361 | ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext" | ||
| 5362 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 5363 | break 2 | ||
| 5364 | fi | ||
| 5365 | done | ||
| 5366 | done | ||
| 5367 | IFS=$as_save_IFS | ||
| 5368 | |||
| 5369 | test -z "$ac_cv_path_MAKEINFO" && ac_cv_path_MAKEINFO="no" | ||
| 5370 | ;; | ||
| 5371 | esac | ||
| 5372 | fi | ||
| 5373 | MAKEINFO=$ac_cv_path_MAKEINFO | ||
| 5374 | if test -n "$MAKEINFO"; then | ||
| 5375 | { echo "$as_me:$LINENO: result: $MAKEINFO" >&5 | ||
| 5376 | echo "${ECHO_T}$MAKEINFO" >&6; } | ||
| 5377 | else | ||
| 5378 | { echo "$as_me:$LINENO: result: no" >&5 | ||
| 5379 | echo "${ECHO_T}no" >&6; } | ||
| 5380 | fi | ||
| 5381 | |||
| 5382 | |||
| 5383 | if test "$MAKEINFO" != "no" && \ | ||
| 5384 | test x"`$MAKEINFO --version 2> /dev/null | $EGREP 'texinfo[^0-9]*([5-9]|4\.[6-9])'`" = x; then | ||
| 5385 | MAKEINFO=no | ||
| 5386 | fi | ||
| 5387 | |||
| 5388 | if test "$MAKEINFO" = "no"; then | ||
| 5389 | { { echo "$as_me:$LINENO: error: makeinfo >= 4.6 is required " >&5 | ||
| 5390 | echo "$as_me: error: makeinfo >= 4.6 is required " >&2;} | ||
| 5391 | { (exit 1); exit 1; }; } | ||
| 5392 | fi | ||
| 5393 | |||
| 5394 | |||
| 5395 | |||
| 5333 | if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x | 5396 | if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x |
| 5334 | then | 5397 | then |
| 5335 | ac_link="$ac_link $GCC_LINK_TEST_OPTIONS" | 5398 | ac_link="$ac_link $GCC_LINK_TEST_OPTIONS" |
| @@ -11450,6 +11513,7 @@ if test "${HAVE_GTK}" = "yes"; then | |||
| 11450 | with_toolkit_scroll_bars=yes | 11513 | with_toolkit_scroll_bars=yes |
| 11451 | fi | 11514 | fi |
| 11452 | 11515 | ||
| 11516 | HAVE_GTK_MULTIDISPLAY=no | ||
| 11453 | 11517 | ||
| 11454 | for ac_func in gdk_display_open | 11518 | for ac_func in gdk_display_open |
| 11455 | do | 11519 | do |
| @@ -12299,9 +12363,10 @@ if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then | |||
| 12299 | if test x"${HAVE_X11R5}" != xyes; then | 12363 | if test x"${HAVE_X11R5}" != xyes; then |
| 12300 | USE_X_TOOLKIT=none | 12364 | USE_X_TOOLKIT=none |
| 12301 | else | 12365 | else |
| 12302 | { echo "$as_me:$LINENO: checking for xaw3d" >&5 | 12366 | if test "$with_xaw3d" != no; then |
| 12367 | { echo "$as_me:$LINENO: checking for xaw3d" >&5 | ||
| 12303 | echo $ECHO_N "checking for xaw3d... $ECHO_C" >&6; } | 12368 | echo $ECHO_N "checking for xaw3d... $ECHO_C" >&6; } |
| 12304 | if test "${emacs_cv_xaw3d+set}" = set; then | 12369 | if test "${emacs_cv_xaw3d+set}" = set; then |
| 12305 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12370 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12306 | else | 12371 | else |
| 12307 | cat >conftest.$ac_ext <<_ACEOF | 12372 | cat >conftest.$ac_ext <<_ACEOF |
| @@ -12351,6 +12416,9 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |||
| 12351 | conftest$ac_exeext conftest.$ac_ext | 12416 | conftest$ac_exeext conftest.$ac_ext |
| 12352 | fi | 12417 | fi |
| 12353 | 12418 | ||
| 12419 | else | ||
| 12420 | emacs_cv_xaw3d=no | ||
| 12421 | fi | ||
| 12354 | if test $emacs_cv_xaw3d = yes; then | 12422 | if test $emacs_cv_xaw3d = yes; then |
| 12355 | { echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5 | 12423 | { echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5 |
| 12356 | echo "${ECHO_T}yes; using Lucid toolkit" >&6; } | 12424 | echo "${ECHO_T}yes; using Lucid toolkit" >&6; } |
| @@ -14253,13 +14321,13 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 14253 | MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" | 14321 | MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" |
| 14254 | 14322 | ||
| 14255 | if test "X${MISSING}" != X; then | 14323 | if test "X${MISSING}" != X; then |
| 14256 | { { echo "$as_me:$LINENO: error: The following required libraries was not found: | 14324 | { { echo "$as_me:$LINENO: error: The following required libraries were not found: |
| 14257 | $MISSING | 14325 | $MISSING |
| 14258 | Maybe some development libraries/packages are missing? | 14326 | Maybe some development libraries/packages are missing? |
| 14259 | If you don't want to link with them give | 14327 | If you don't want to link with them give |
| 14260 | $WITH_NO | 14328 | $WITH_NO |
| 14261 | as options to configure" >&5 | 14329 | as options to configure" >&5 |
| 14262 | echo "$as_me: error: The following required libraries was not found: | 14330 | echo "$as_me: error: The following required libraries were not found: |
| 14263 | $MISSING | 14331 | $MISSING |
| 14264 | Maybe some development libraries/packages are missing? | 14332 | Maybe some development libraries/packages are missing? |
| 14265 | If you don't want to link with them give | 14333 | If you don't want to link with them give |
| @@ -18446,13 +18514,11 @@ _ACEOF | |||
| 18446 | cat confdefs.h >>conftest.$ac_ext | 18514 | cat confdefs.h >>conftest.$ac_ext |
| 18447 | cat >>conftest.$ac_ext <<_ACEOF | 18515 | cat >>conftest.$ac_ext <<_ACEOF |
| 18448 | /* end confdefs.h. */ | 18516 | /* end confdefs.h. */ |
| 18449 | #include <sys/types.h> /* for off_t */ | 18517 | #include <stdio.h> |
| 18450 | #include <stdio.h> | ||
| 18451 | int | 18518 | int |
| 18452 | main () | 18519 | main () |
| 18453 | { | 18520 | { |
| 18454 | int (*fp) (FILE *, off_t, int) = fseeko; | 18521 | return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0); |
| 18455 | return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); | ||
| 18456 | ; | 18522 | ; |
| 18457 | return 0; | 18523 | return 0; |
| 18458 | } | 18524 | } |
| @@ -18492,13 +18558,11 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 18492 | cat >>conftest.$ac_ext <<_ACEOF | 18558 | cat >>conftest.$ac_ext <<_ACEOF |
| 18493 | /* end confdefs.h. */ | 18559 | /* end confdefs.h. */ |
| 18494 | #define _LARGEFILE_SOURCE 1 | 18560 | #define _LARGEFILE_SOURCE 1 |
| 18495 | #include <sys/types.h> /* for off_t */ | 18561 | #include <stdio.h> |
| 18496 | #include <stdio.h> | ||
| 18497 | int | 18562 | int |
| 18498 | main () | 18563 | main () |
| 18499 | { | 18564 | { |
| 18500 | int (*fp) (FILE *, off_t, int) = fseeko; | 18565 | return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0); |
| 18501 | return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); | ||
| 18502 | ; | 18566 | ; |
| 18503 | return 0; | 18567 | return 0; |
| 18504 | } | 18568 | } |
| @@ -24405,6 +24469,7 @@ INSTALL_DATA!$INSTALL_DATA$ac_delim | |||
| 24405 | RANLIB!$RANLIB$ac_delim | 24469 | RANLIB!$RANLIB$ac_delim |
| 24406 | INSTALL_INFO!$INSTALL_INFO$ac_delim | 24470 | INSTALL_INFO!$INSTALL_INFO$ac_delim |
| 24407 | GZIP_PROG!$GZIP_PROG$ac_delim | 24471 | GZIP_PROG!$GZIP_PROG$ac_delim |
| 24472 | MAKEINFO!$MAKEINFO$ac_delim | ||
| 24408 | LIBSOUND!$LIBSOUND$ac_delim | 24473 | LIBSOUND!$LIBSOUND$ac_delim |
| 24409 | PKG_CONFIG!$PKG_CONFIG$ac_delim | 24474 | PKG_CONFIG!$PKG_CONFIG$ac_delim |
| 24410 | ALSA_CFLAGS!$ALSA_CFLAGS$ac_delim | 24475 | ALSA_CFLAGS!$ALSA_CFLAGS$ac_delim |
| @@ -24438,7 +24503,6 @@ x_default_search_path!$x_default_search_path$ac_delim | |||
| 24438 | etcdir!$etcdir$ac_delim | 24503 | etcdir!$etcdir$ac_delim |
| 24439 | archlibdir!$archlibdir$ac_delim | 24504 | archlibdir!$archlibdir$ac_delim |
| 24440 | bitmapdir!$bitmapdir$ac_delim | 24505 | bitmapdir!$bitmapdir$ac_delim |
| 24441 | gamedir!$gamedir$ac_delim | ||
| 24442 | _ACEOF | 24506 | _ACEOF |
| 24443 | 24507 | ||
| 24444 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then | 24508 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then |
| @@ -24480,6 +24544,7 @@ _ACEOF | |||
| 24480 | ac_delim='%!_!# ' | 24544 | ac_delim='%!_!# ' |
| 24481 | for ac_last_try in false false false false false :; do | 24545 | for ac_last_try in false false false false false :; do |
| 24482 | cat >conf$$subs.sed <<_ACEOF | 24546 | cat >conf$$subs.sed <<_ACEOF |
| 24547 | gamedir!$gamedir$ac_delim | ||
| 24483 | gameuser!$gameuser$ac_delim | 24548 | gameuser!$gameuser$ac_delim |
| 24484 | c_switch_system!$c_switch_system$ac_delim | 24549 | c_switch_system!$c_switch_system$ac_delim |
| 24485 | c_switch_machine!$c_switch_machine$ac_delim | 24550 | c_switch_machine!$c_switch_machine$ac_delim |
| @@ -24493,7 +24558,7 @@ carbon_appdir!$carbon_appdir$ac_delim | |||
| 24493 | LTLIBOBJS!$LTLIBOBJS$ac_delim | 24558 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
| 24494 | _ACEOF | 24559 | _ACEOF |
| 24495 | 24560 | ||
| 24496 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 11; then | 24561 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 12; then |
| 24497 | break | 24562 | break |
| 24498 | elif $ac_last_try; then | 24563 | elif $ac_last_try; then |
| 24499 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | 24564 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
diff --git a/configure.in b/configure.in index d1796ca41e8..b5f4eb8e6df 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -119,6 +119,8 @@ AC_ARG_WITH(pkg-config-prog, | |||
| 119 | AC_ARG_WITH(toolkit-scroll-bars, | 119 | AC_ARG_WITH(toolkit-scroll-bars, |
| 120 | [ --without-toolkit-scroll-bars | 120 | [ --without-toolkit-scroll-bars |
| 121 | don't use Motif or Xaw3d scroll bars]) | 121 | don't use Motif or Xaw3d scroll bars]) |
| 122 | AC_ARG_WITH(xpm, | ||
| 123 | [ --without-xaw3d don't use Xaw3d]) | ||
| 122 | AC_ARG_WITH(xim, | 124 | AC_ARG_WITH(xim, |
| 123 | [ --without-xim don't use X11 XIM]) | 125 | [ --without-xim don't use X11 XIM]) |
| 124 | AC_ARG_WITH(carbon, | 126 | AC_ARG_WITH(carbon, |
| @@ -2300,14 +2302,18 @@ if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then | |||
| 2300 | if test x"${HAVE_X11R5}" != xyes; then | 2302 | if test x"${HAVE_X11R5}" != xyes; then |
| 2301 | USE_X_TOOLKIT=none | 2303 | USE_X_TOOLKIT=none |
| 2302 | else | 2304 | else |
| 2303 | AC_MSG_CHECKING(for xaw3d) | 2305 | if test "$with_xaw3d" != no; then |
| 2304 | AC_CACHE_VAL(emacs_cv_xaw3d, | 2306 | AC_MSG_CHECKING(for xaw3d) |
| 2305 | [AC_TRY_LINK([ | 2307 | AC_CACHE_VAL(emacs_cv_xaw3d, |
| 2308 | [AC_TRY_LINK([ | ||
| 2306 | #include <X11/Intrinsic.h> | 2309 | #include <X11/Intrinsic.h> |
| 2307 | #include <X11/Xaw3d/Simple.h>], | 2310 | #include <X11/Xaw3d/Simple.h>], |
| 2308 | [], | 2311 | [], |
| 2309 | emacs_cv_xaw3d=yes, | 2312 | emacs_cv_xaw3d=yes, |
| 2310 | emacs_cv_xaw3d=no)]) | 2313 | emacs_cv_xaw3d=no)]) |
| 2314 | else | ||
| 2315 | emacs_cv_xaw3d=no | ||
| 2316 | fi | ||
| 2311 | if test $emacs_cv_xaw3d = yes; then | 2317 | if test $emacs_cv_xaw3d = yes; then |
| 2312 | AC_MSG_RESULT([yes; using Lucid toolkit]) | 2318 | AC_MSG_RESULT([yes; using Lucid toolkit]) |
| 2313 | USE_X_TOOLKIT=LUCID | 2319 | USE_X_TOOLKIT=LUCID |