aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Djärv2007-08-29 06:36:57 +0000
committerJan Djärv2007-08-29 06:36:57 +0000
commitc982cf7d879ba60689923257bf4ea90b1eb5c6d0 (patch)
treeb67ca439b8024fa937b4545c67bd6a4d040901e2
parent381864b2990031119da16684668b48eb86894dca (diff)
downloademacs-c982cf7d879ba60689923257bf4ea90b1eb5c6d0.tar.gz
emacs-c982cf7d879ba60689923257bf4ea90b1eb5c6d0.zip
New option: --without-xaw3d.
-rw-r--r--ChangeLog4
-rwxr-xr-xconfigure101
-rw-r--r--configure.in18
3 files changed, 99 insertions, 24 deletions
diff --git a/ChangeLog b/ChangeLog
index 813452e1272..8efdc255c01 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
12007-08-29 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
2
3 * configure.in: New option: --without-xaw3d.
4
12007-08-24 Glenn Morris <rgm@gnu.org> 52007-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.
diff --git a/configure b/configure
index 5bf06d0d3b6..a120cb47d61 100755
--- a/configure
+++ b/configure
@@ -412,10 +412,10 @@ else
412fi 412fi
413 413
414test \$exitcode = 0") || { 414test \$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
679RANLIB 679RANLIB
680INSTALL_INFO 680INSTALL_INFO
681GZIP_PROG 681GZIP_PROG
682MAKEINFO
682LIBSOUND 683LIBSOUND
683PKG_CONFIG 684PKG_CONFIG
684ALSA_CFLAGS 685ALSA_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
1976fi 1978fi
1977 1979
1978 1980
1981# Check whether --with-xpm was given.
1982if test "${with_xpm+set}" = set; then
1983 withval=$with_xpm;
1984fi
1985
1986
1979# Check whether --with-xim was given. 1987# Check whether --with-xim was given.
1980if test "${with_xim+set}" = set; then 1988if 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.
5343set dummy makeinfo; ac_word=$2
5344{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5345echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5346if test "${ac_cv_path_MAKEINFO+set}" = set; then
5347 echo $ECHO_N "(cached) $ECHO_C" >&6
5348else
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
5355for as_dir in $PATH
5356do
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
5365done
5366done
5367IFS=$as_save_IFS
5368
5369 test -z "$ac_cv_path_MAKEINFO" && ac_cv_path_MAKEINFO="no"
5370 ;;
5371esac
5372fi
5373MAKEINFO=$ac_cv_path_MAKEINFO
5374if test -n "$MAKEINFO"; then
5375 { echo "$as_me:$LINENO: result: $MAKEINFO" >&5
5376echo "${ECHO_T}$MAKEINFO" >&6; }
5377else
5378 { echo "$as_me:$LINENO: result: no" >&5
5379echo "${ECHO_T}no" >&6; }
5380fi
5381
5382
5383if 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
5386fi
5387
5388if test "$MAKEINFO" = "no"; then
5389 { { echo "$as_me:$LINENO: error: makeinfo >= 4.6 is required " >&5
5390echo "$as_me: error: makeinfo >= 4.6 is required " >&2;}
5391 { (exit 1); exit 1; }; }
5392fi
5393
5394
5395
5333if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x 5396if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x
5334then 5397then
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
11454for ac_func in gdk_display_open 11518for ac_func in gdk_display_open
11455do 11519do
@@ -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
12303echo $ECHO_N "checking for xaw3d... $ECHO_C" >&6; } 12368echo $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
12306else 12371else
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
12352fi 12417fi
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
12356echo "${ECHO_T}yes; using Lucid toolkit" >&6; } 12424echo "${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
14258Maybe some development libraries/packages are missing? 14326Maybe some development libraries/packages are missing?
14259If you don't want to link with them give 14327If you don't want to link with them give
14260 $WITH_NO 14328 $WITH_NO
14261as options to configure" >&5 14329as options to configure" >&5
14262echo "$as_me: error: The following required libraries was not found: 14330echo "$as_me: error: The following required libraries were not found:
14263 $MISSING 14331 $MISSING
14264Maybe some development libraries/packages are missing? 14332Maybe some development libraries/packages are missing?
14265If you don't want to link with them give 14333If you don't want to link with them give
@@ -18446,13 +18514,11 @@ _ACEOF
18446cat confdefs.h >>conftest.$ac_ext 18514cat confdefs.h >>conftest.$ac_ext
18447cat >>conftest.$ac_ext <<_ACEOF 18515cat >>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>
18451int 18518int
18452main () 18519main ()
18453{ 18520{
18454int (*fp) (FILE *, off_t, int) = fseeko; 18521return 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
18492cat >>conftest.$ac_ext <<_ACEOF 18558cat >>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>
18497int 18562int
18498main () 18563main ()
18499{ 18564{
18500int (*fp) (FILE *, off_t, int) = fseeko; 18565return 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
24405RANLIB!$RANLIB$ac_delim 24469RANLIB!$RANLIB$ac_delim
24406INSTALL_INFO!$INSTALL_INFO$ac_delim 24470INSTALL_INFO!$INSTALL_INFO$ac_delim
24407GZIP_PROG!$GZIP_PROG$ac_delim 24471GZIP_PROG!$GZIP_PROG$ac_delim
24472MAKEINFO!$MAKEINFO$ac_delim
24408LIBSOUND!$LIBSOUND$ac_delim 24473LIBSOUND!$LIBSOUND$ac_delim
24409PKG_CONFIG!$PKG_CONFIG$ac_delim 24474PKG_CONFIG!$PKG_CONFIG$ac_delim
24410ALSA_CFLAGS!$ALSA_CFLAGS$ac_delim 24475ALSA_CFLAGS!$ALSA_CFLAGS$ac_delim
@@ -24438,7 +24503,6 @@ x_default_search_path!$x_default_search_path$ac_delim
24438etcdir!$etcdir$ac_delim 24503etcdir!$etcdir$ac_delim
24439archlibdir!$archlibdir$ac_delim 24504archlibdir!$archlibdir$ac_delim
24440bitmapdir!$bitmapdir$ac_delim 24505bitmapdir!$bitmapdir$ac_delim
24441gamedir!$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
24480ac_delim='%!_!# ' 24544ac_delim='%!_!# '
24481for ac_last_try in false false false false false :; do 24545for ac_last_try in false false false false false :; do
24482 cat >conf$$subs.sed <<_ACEOF 24546 cat >conf$$subs.sed <<_ACEOF
24547gamedir!$gamedir$ac_delim
24483gameuser!$gameuser$ac_delim 24548gameuser!$gameuser$ac_delim
24484c_switch_system!$c_switch_system$ac_delim 24549c_switch_system!$c_switch_system$ac_delim
24485c_switch_machine!$c_switch_machine$ac_delim 24550c_switch_machine!$c_switch_machine$ac_delim
@@ -24493,7 +24558,7 @@ carbon_appdir!$carbon_appdir$ac_delim
24493LTLIBOBJS!$LTLIBOBJS$ac_delim 24558LTLIBOBJS!$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,
119AC_ARG_WITH(toolkit-scroll-bars, 119AC_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])
122AC_ARG_WITH(xpm,
123[ --without-xaw3d don't use Xaw3d])
122AC_ARG_WITH(xim, 124AC_ARG_WITH(xim,
123[ --without-xim don't use X11 XIM]) 125[ --without-xim don't use X11 XIM])
124AC_ARG_WITH(carbon, 126AC_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