aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2007-06-13 17:32:59 +0000
committerChong Yidong2007-06-13 17:32:59 +0000
commitdba7bae083155eef1eed7f1a15cb1965765ce0f8 (patch)
tree3ed24396cc05212c41d5b4180f47332dbab4e164
parent687b2aa364020f16f4374a1c03af10884eacd081 (diff)
downloademacs-dba7bae083155eef1eed7f1a15cb1965765ce0f8.tar.gz
emacs-dba7bae083155eef1eed7f1a15cb1965765ce0f8.zip
Regenerate.
-rwxr-xr-xconfigure227
1 files changed, 84 insertions, 143 deletions
diff --git a/configure b/configure
index 1d1223e81e8..2542eb20bd6 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
@@ -12098,11 +12098,14 @@ _ACEOF
12098 fi 12098 fi
12099fi 12099fi
12100 12100
12101HAVE_XAW3D=no
12101if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then 12102if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then
12102 if test x"${HAVE_X11R5}" = xyes; then 12103 if test x"${HAVE_X11R5}" != xyes; then
12103 { echo "$as_me:$LINENO: checking X11 version 5 with Xaw" >&5 12104 USE_X_TOOLKIT=none
12104echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6; } 12105 else
12105 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then 12106 { echo "$as_me:$LINENO: checking for xaw3d" >&5
12107echo $ECHO_N "checking for xaw3d... $ECHO_C" >&6; }
12108 if test "${emacs_cv_xaw3d+set}" = set; then
12106 echo $ECHO_N "(cached) $ECHO_C" >&6 12109 echo $ECHO_N "(cached) $ECHO_C" >&6
12107else 12110else
12108 cat >conftest.$ac_ext <<_ACEOF 12111 cat >conftest.$ac_ext <<_ACEOF
@@ -12113,7 +12116,7 @@ cat >>conftest.$ac_ext <<_ACEOF
12113/* end confdefs.h. */ 12116/* end confdefs.h. */
12114 12117
12115#include <X11/Intrinsic.h> 12118#include <X11/Intrinsic.h>
12116#include <X11/Xaw/Simple.h> 12119#include <X11/Xaw3d/Simple.h>
12117int 12120int
12118main () 12121main ()
12119{ 12122{
@@ -12140,35 +12143,97 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12140 test ! -s conftest.err 12143 test ! -s conftest.err
12141 } && test -s conftest$ac_exeext && 12144 } && test -s conftest$ac_exeext &&
12142 $as_test_x conftest$ac_exeext; then 12145 $as_test_x conftest$ac_exeext; then
12143 emacs_cv_x11_version_5_with_xaw=yes 12146 emacs_cv_xaw3d=yes
12144else 12147else
12145 echo "$as_me: failed program was:" >&5 12148 echo "$as_me: failed program was:" >&5
12146sed 's/^/| /' conftest.$ac_ext >&5 12149sed 's/^/| /' conftest.$ac_ext >&5
12147 12150
12148 emacs_cv_x11_version_5_with_xaw=no 12151 emacs_cv_xaw3d=no
12149fi 12152fi
12150 12153
12151rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12154rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12152 conftest$ac_exeext conftest.$ac_ext 12155 conftest$ac_exeext conftest.$ac_ext
12153fi 12156fi
12154 12157
12155 if test $emacs_cv_x11_version_5_with_xaw = yes; then 12158 if test $emacs_cv_xaw3d = yes; then
12156 { echo "$as_me:$LINENO: result: 5 or newer, with Xaw; use toolkit by default" >&5 12159 { echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5
12157echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6; } 12160echo "${ECHO_T}yes; using Lucid toolkit" >&6; }
12158 USE_X_TOOLKIT=LUCID 12161 USE_X_TOOLKIT=LUCID
12162 HAVE_XAW3D=yes
12163
12164cat >>confdefs.h <<\_ACEOF
12165#define HAVE_XAW3D 1
12166_ACEOF
12167
12159 else 12168 else
12160 if test x"${USE_X_TOOLKIT}" = xLUCID; then 12169 { echo "$as_me:$LINENO: result: no" >&5
12170echo "${ECHO_T}no" >&6; }
12171 { echo "$as_me:$LINENO: checking for libXaw" >&5
12172echo $ECHO_N "checking for libXaw... $ECHO_C" >&6; }
12173 if test "${emacs_cv_xaw+set}" = set; then
12174 echo $ECHO_N "(cached) $ECHO_C" >&6
12175else
12176 cat >conftest.$ac_ext <<_ACEOF
12177/* confdefs.h. */
12178_ACEOF
12179cat confdefs.h >>conftest.$ac_ext
12180cat >>conftest.$ac_ext <<_ACEOF
12181/* end confdefs.h. */
12182
12183#include <X11/Intrinsic.h>
12184#include <X11/Xaw/Simple.h>
12185int
12186main ()
12187{
12188
12189 ;
12190 return 0;
12191}
12192_ACEOF
12193rm -f conftest.$ac_objext conftest$ac_exeext
12194if { (ac_try="$ac_link"
12195case "(($ac_try" in
12196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12197 *) ac_try_echo=$ac_try;;
12198esac
12199eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12200 (eval "$ac_link") 2>conftest.er1
12201 ac_status=$?
12202 grep -v '^ *+' conftest.er1 >conftest.err
12203 rm -f conftest.er1
12204 cat conftest.err >&5
12205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12206 (exit $ac_status); } && {
12207 test -z "$ac_c_werror_flag" ||
12208 test ! -s conftest.err
12209 } && test -s conftest$ac_exeext &&
12210 $as_test_x conftest$ac_exeext; then
12211 emacs_cv_xaw=yes
12212else
12213 echo "$as_me: failed program was:" >&5
12214sed 's/^/| /' conftest.$ac_ext >&5
12215
12216 emacs_cv_xaw=no
12217fi
12218
12219rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12220 conftest$ac_exeext conftest.$ac_ext
12221fi
12222
12223 if test $emacs_cv_xaw = yes; then
12224 { echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5
12225echo "${ECHO_T}yes; using Lucid toolkit" >&6; }
12226 USE_X_TOOLKIT=LUCID
12227 elif test x"${USE_X_TOOLKIT}" = xLUCID; then
12161 { { echo "$as_me:$LINENO: error: Lucid toolkit requires X11/Xaw include files" >&5 12228 { { echo "$as_me:$LINENO: error: Lucid toolkit requires X11/Xaw include files" >&5
12162echo "$as_me: error: Lucid toolkit requires X11/Xaw include files" >&2;} 12229echo "$as_me: error: Lucid toolkit requires X11/Xaw include files" >&2;}
12163 { (exit 1); exit 1; }; } 12230 { (exit 1); exit 1; }; }
12164 else 12231 else
12165 { echo "$as_me:$LINENO: result: before 5 or no Xaw; do not use toolkit by default" >&5 12232 { echo "$as_me:$LINENO: result: no; do not use toolkit by default" >&5
12166echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6; } 12233echo "${ECHO_T}no; do not use toolkit by default" >&6; }
12167 USE_X_TOOLKIT=none 12234 USE_X_TOOLKIT=none
12168 fi 12235 fi
12169 fi 12236 fi
12170 else
12171 USE_X_TOOLKIT=none
12172 fi 12237 fi
12173fi 12238fi
12174 12239
@@ -12605,130 +12670,6 @@ echo "${ECHO_T}$emacs_cv_lesstif" >&6; }
12605 fi 12670 fi
12606fi 12671fi
12607 12672
12608### Is -lXaw3d available?
12609HAVE_XAW3D=no
12610if test "${HAVE_X11}" = "yes"; then
12611 if test "${USE_X_TOOLKIT}" != "none" && test "${with_toolkit_scroll_bars}" != "no"; then
12612 { echo "$as_me:$LINENO: checking for X11/Xaw3d/Scrollbar.h" >&5
12613echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6; }
12614if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
12615 echo $ECHO_N "(cached) $ECHO_C" >&6
12616else
12617 cat >conftest.$ac_ext <<_ACEOF
12618/* confdefs.h. */
12619_ACEOF
12620cat confdefs.h >>conftest.$ac_ext
12621cat >>conftest.$ac_ext <<_ACEOF
12622/* end confdefs.h. */
12623#include <X11/Xaw3d/Scrollbar.h>
12624_ACEOF
12625if { (ac_try="$ac_cpp conftest.$ac_ext"
12626case "(($ac_try" in
12627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12628 *) ac_try_echo=$ac_try;;
12629esac
12630eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12631 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12632 ac_status=$?
12633 grep -v '^ *+' conftest.er1 >conftest.err
12634 rm -f conftest.er1
12635 cat conftest.err >&5
12636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12637 (exit $ac_status); } >/dev/null && {
12638 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12639 test ! -s conftest.err
12640 }; then
12641 ac_cv_header_X11_Xaw3d_Scrollbar_h=yes
12642else
12643 echo "$as_me: failed program was:" >&5
12644sed 's/^/| /' conftest.$ac_ext >&5
12645
12646 ac_cv_header_X11_Xaw3d_Scrollbar_h=no
12647fi
12648
12649rm -f conftest.err conftest.$ac_ext
12650fi
12651{ echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
12652echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6; }
12653if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
12654 { echo "$as_me:$LINENO: checking for XawScrollbarSetThumb in -lXaw3d" >&5
12655echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6; }
12656if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
12657 echo $ECHO_N "(cached) $ECHO_C" >&6
12658else
12659 ac_check_lib_save_LIBS=$LIBS
12660LIBS="-lXaw3d $LIBS"
12661cat >conftest.$ac_ext <<_ACEOF
12662/* confdefs.h. */
12663_ACEOF
12664cat confdefs.h >>conftest.$ac_ext
12665cat >>conftest.$ac_ext <<_ACEOF
12666/* end confdefs.h. */
12667
12668/* Override any GCC internal prototype to avoid an error.
12669 Use char because int might match the return type of a GCC
12670 builtin and then its argument prototype would still apply. */
12671#ifdef __cplusplus
12672extern "C"
12673#endif
12674char XawScrollbarSetThumb ();
12675int
12676main ()
12677{
12678return XawScrollbarSetThumb ();
12679 ;
12680 return 0;
12681}
12682_ACEOF
12683rm -f conftest.$ac_objext conftest$ac_exeext
12684if { (ac_try="$ac_link"
12685case "(($ac_try" in
12686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12687 *) ac_try_echo=$ac_try;;
12688esac
12689eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12690 (eval "$ac_link") 2>conftest.er1
12691 ac_status=$?
12692 grep -v '^ *+' conftest.er1 >conftest.err
12693 rm -f conftest.er1
12694 cat conftest.err >&5
12695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12696 (exit $ac_status); } && {
12697 test -z "$ac_c_werror_flag" ||
12698 test ! -s conftest.err
12699 } && test -s conftest$ac_exeext &&
12700 $as_test_x conftest$ac_exeext; then
12701 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes
12702else
12703 echo "$as_me: failed program was:" >&5
12704sed 's/^/| /' conftest.$ac_ext >&5
12705
12706 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no
12707fi
12708
12709rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12710 conftest$ac_exeext conftest.$ac_ext
12711LIBS=$ac_check_lib_save_LIBS
12712fi
12713{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
12714echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6; }
12715if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
12716 HAVE_XAW3D=yes
12717fi
12718
12719fi
12720
12721
12722 if test "${HAVE_XAW3D}" = "yes"; then
12723
12724cat >>confdefs.h <<\_ACEOF
12725#define HAVE_XAW3D 1
12726_ACEOF
12727
12728 fi
12729 fi
12730fi
12731
12732 12673
12733 12674
12734USE_TOOLKIT_SCROLL_BARS=no 12675USE_TOOLKIT_SCROLL_BARS=no