diff options
| author | Dave Love | 2003-06-29 12:05:01 +0000 |
|---|---|---|
| committer | Dave Love | 2003-06-29 12:05:01 +0000 |
| commit | 849d80cfb2339b0dd5711052482dc2c50eb4b827 (patch) | |
| tree | afc1bda3e6f2f69ff3c660eef9f183c1c0184cac | |
| parent | a6c2ef66b23dfc884c173e5a8c79477b30def1fd (diff) | |
| download | emacs-849d80cfb2339b0dd5711052482dc2c50eb4b827.tar.gz emacs-849d80cfb2339b0dd5711052482dc2c50eb4b827.zip | |
*** empty log message ***
| -rwxr-xr-x | configure | 16 |
1 files changed, 13 insertions, 3 deletions
| @@ -3396,8 +3396,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 3396 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3396 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3397 | (exit $ac_status); }; }; then | 3397 | (exit $ac_status); }; }; then |
| 3398 | for ac_declaration in \ | 3398 | for ac_declaration in \ |
| 3399 | ''\ | 3399 | '' \ |
| 3400 | '#include <stdlib.h>' \ | ||
| 3401 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ | 3400 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
| 3402 | 'extern "C" void std::exit (int); using std::exit;' \ | 3401 | 'extern "C" void std::exit (int); using std::exit;' \ |
| 3403 | 'extern "C" void exit (int) throw ();' \ | 3402 | 'extern "C" void exit (int) throw ();' \ |
| @@ -3411,8 +3410,8 @@ _ACEOF | |||
| 3411 | cat confdefs.h >>conftest.$ac_ext | 3410 | cat confdefs.h >>conftest.$ac_ext |
| 3412 | cat >>conftest.$ac_ext <<_ACEOF | 3411 | cat >>conftest.$ac_ext <<_ACEOF |
| 3413 | /* end confdefs.h. */ | 3412 | /* end confdefs.h. */ |
| 3414 | #include <stdlib.h> | ||
| 3415 | $ac_declaration | 3413 | $ac_declaration |
| 3414 | #include <stdlib.h> | ||
| 3416 | int | 3415 | int |
| 3417 | main () | 3416 | main () |
| 3418 | { | 3417 | { |
| @@ -8894,6 +8893,10 @@ cat >>confdefs.h <<\_ACEOF | |||
| 8894 | #define USE_XIM 1 | 8893 | #define USE_XIM 1 |
| 8895 | _ACEOF | 8894 | _ACEOF |
| 8896 | 8895 | ||
| 8896 | late_CFLAGS=$CFLAGS | ||
| 8897 | if test "$GCC" = yes; then | ||
| 8898 | CFLAGS="$CFLAGS --pedantic-errors" | ||
| 8899 | fi | ||
| 8897 | cat >conftest.$ac_ext <<_ACEOF | 8900 | cat >conftest.$ac_ext <<_ACEOF |
| 8898 | #line $LINENO "configure" | 8901 | #line $LINENO "configure" |
| 8899 | /* confdefs.h. */ | 8902 | /* confdefs.h. */ |
| @@ -8913,6 +8916,12 @@ char *res_name; | |||
| 8913 | char *res_class; | 8916 | char *res_class; |
| 8914 | XIMProc callback; | 8917 | XIMProc callback; |
| 8915 | XPointer *client_data; | 8918 | XPointer *client_data; |
| 8919 | #ifndef __GNUC__ | ||
| 8920 | /* If we're not using GCC, it's probably not XFree86, and this is | ||
| 8921 | probably right, but we can't use something like --pedantic-errors. */ | ||
| 8922 | extern Bool XRegisterIMInstantiateCallback(Display*, XrmDatabase, char*, | ||
| 8923 | char*, XIMProc, XPointer*); | ||
| 8924 | #endif | ||
| 8916 | (void)XRegisterIMInstantiateCallback(display, db, res_name, res_class, callback, | 8925 | (void)XRegisterIMInstantiateCallback(display, db, res_name, res_class, callback, |
| 8917 | client_data); | 8926 | client_data); |
| 8918 | ; | 8927 | ; |
| @@ -8950,6 +8959,7 @@ _ACEOF | |||
| 8950 | _ACEOF | 8959 | _ACEOF |
| 8951 | 8960 | ||
| 8952 | fi | 8961 | fi |
| 8962 | CFLAGS=$late_CFLAGS | ||
| 8953 | fi | 8963 | fi |
| 8954 | 8964 | ||
| 8955 | ### Use -lXpm if available, unless `--with-xpm=no'. | 8965 | ### Use -lXpm if available, unless `--with-xpm=no'. |