Mercurial > emacs
comparison configure @ 88123:375f2633d815
New directory
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Mon, 08 Sep 2003 11:56:09 +0000 |
parents | 68b5197b6800 |
children | a02c064cebec |
comparison
equal
deleted
inserted
replaced
52428:27bc8b966642 | 88123:375f2633d815 |
---|---|
2574 | 2574 |
2575 ## Darwin / Mac OS X | 2575 ## Darwin / Mac OS X |
2576 powerpc-apple-darwin* ) | 2576 powerpc-apple-darwin* ) |
2577 machine=powermac opsys=darwin | 2577 machine=powermac opsys=darwin |
2578 # Define CPP as follows to make autoconf work correctly. | 2578 # Define CPP as follows to make autoconf work correctly. |
2579 CPP="gcc -E -no-cpp-precomp" | 2579 CPP="cc -E -traditional-cpp" |
2580 ;; | 2580 ;; |
2581 | 2581 |
2582 ## AMD x86-64 Linux-based GNU system | 2582 ## AMD x86-64 Linux-based GNU system |
2583 x86_64-*-linux-gnu* ) | 2583 x86_64-*-linux-gnu* ) |
2584 machine=amdx86-64 opsys=gnu-linux | 2584 machine=amdx86-64 opsys=gnu-linux |
3418 (eval $ac_try) 2>&5 | 3418 (eval $ac_try) 2>&5 |
3419 ac_status=$? | 3419 ac_status=$? |
3420 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3420 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3421 (exit $ac_status); }; }; then | 3421 (exit $ac_status); }; }; then |
3422 for ac_declaration in \ | 3422 for ac_declaration in \ |
3423 ''\ | 3423 '' \ |
3424 '#include <stdlib.h>' \ | |
3425 'extern "C" void std::exit (int) throw (); using std::exit;' \ | 3424 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
3426 'extern "C" void std::exit (int); using std::exit;' \ | 3425 'extern "C" void std::exit (int); using std::exit;' \ |
3427 'extern "C" void exit (int) throw ();' \ | 3426 'extern "C" void exit (int) throw ();' \ |
3428 'extern "C" void exit (int);' \ | 3427 'extern "C" void exit (int);' \ |
3429 'void exit (int);' | 3428 'void exit (int);' |
3433 /* confdefs.h. */ | 3432 /* confdefs.h. */ |
3434 _ACEOF | 3433 _ACEOF |
3435 cat confdefs.h >>conftest.$ac_ext | 3434 cat confdefs.h >>conftest.$ac_ext |
3436 cat >>conftest.$ac_ext <<_ACEOF | 3435 cat >>conftest.$ac_ext <<_ACEOF |
3437 /* end confdefs.h. */ | 3436 /* end confdefs.h. */ |
3437 $ac_declaration | |
3438 #include <stdlib.h> | 3438 #include <stdlib.h> |
3439 $ac_declaration | |
3440 int | 3439 int |
3441 main () | 3440 main () |
3442 { | 3441 { |
3443 exit (42); | 3442 exit (42); |
3444 ; | 3443 ; |
8909 | 8908 |
8910 USE_TOOLKIT_SCROLL_BARS=yes | 8909 USE_TOOLKIT_SCROLL_BARS=yes |
8911 fi | 8910 fi |
8912 fi | 8911 fi |
8913 | 8912 |
8914 cat >conftest.$ac_ext <<_ACEOF | |
8915 #line $LINENO "configure" | |
8916 /* confdefs.h. */ | |
8917 _ACEOF | |
8918 cat confdefs.h >>conftest.$ac_ext | |
8919 cat >>conftest.$ac_ext <<_ACEOF | |
8920 /* end confdefs.h. */ | |
8921 | |
8922 #include <X11/Xlib.h> | |
8923 #include <X11/Xresource.h> | |
8924 int | |
8925 main () | |
8926 { | |
8927 XIMProc callback; | |
8928 ; | |
8929 return 0; | |
8930 } | |
8931 _ACEOF | |
8932 rm -f conftest.$ac_objext | |
8933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
8934 (eval $ac_compile) 2>&5 | |
8935 ac_status=$? | |
8936 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8937 (exit $ac_status); } && | |
8938 { ac_try='test -s conftest.$ac_objext' | |
8939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
8940 (eval $ac_try) 2>&5 | |
8941 ac_status=$? | |
8942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8943 (exit $ac_status); }; }; then | |
8944 HAVE_XIM=yes | |
8945 | |
8946 cat >>confdefs.h <<\_ACEOF | |
8947 #define HAVE_XIM 1 | |
8948 _ACEOF | |
8949 | |
8950 else | |
8951 echo "$as_me: failed program was:" >&5 | |
8952 sed 's/^/| /' conftest.$ac_ext >&5 | |
8953 | |
8954 HAVE_XIM=no | |
8955 fi | |
8956 rm -f conftest.$ac_objext conftest.$ac_ext | |
8957 | |
8958 | 8913 |
8959 if test "${with_xim}" != "no"; then | 8914 if test "${with_xim}" != "no"; then |
8960 | 8915 |
8961 cat >>confdefs.h <<\_ACEOF | 8916 cat >>confdefs.h <<\_ACEOF |
8962 #define USE_XIM 1 | 8917 #define USE_XIM 1 |
8963 _ACEOF | 8918 _ACEOF |
8964 | 8919 |
8965 fi | 8920 fi |
8966 | 8921 if test "${HAVE_X11}" = "yes"; then |
8967 | |
8968 if test "${HAVE_XIM}" != "no"; then | |
8969 late_CFLAGS=$CFLAGS | 8922 late_CFLAGS=$CFLAGS |
8970 if test "$GCC" = yes; then | 8923 if test "$GCC" = yes; then |
8971 CFLAGS="$CFLAGS --pedantic-errors" | 8924 CFLAGS="$CFLAGS --pedantic-errors" |
8972 fi | 8925 fi |
8973 cat >conftest.$ac_ext <<_ACEOF | 8926 cat >conftest.$ac_ext <<_ACEOF |