aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2003-06-29 12:05:01 +0000
committerDave Love2003-06-29 12:05:01 +0000
commit849d80cfb2339b0dd5711052482dc2c50eb4b827 (patch)
treeafc1bda3e6f2f69ff3c660eef9f183c1c0184cac
parenta6c2ef66b23dfc884c173e5a8c79477b30def1fd (diff)
downloademacs-849d80cfb2339b0dd5711052482dc2c50eb4b827.tar.gz
emacs-849d80cfb2339b0dd5711052482dc2c50eb4b827.zip
*** empty log message ***
-rwxr-xr-xconfigure16
1 files changed, 13 insertions, 3 deletions
diff --git a/configure b/configure
index 9c3d5403a84..19cd5774fa7 100755
--- a/configure
+++ b/configure
@@ -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
3411cat confdefs.h >>conftest.$ac_ext 3410cat confdefs.h >>conftest.$ac_ext
3412cat >>conftest.$ac_ext <<_ACEOF 3411cat >>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>
3416int 3415int
3417main () 3416main ()
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;
8913char *res_class; 8916char *res_class;
8914XIMProc callback; 8917XIMProc callback;
8915XPointer *client_data; 8918XPointer *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. */
8922extern 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
8953fi 8963fi
8954 8964
8955### Use -lXpm if available, unless `--with-xpm=no'. 8965### Use -lXpm if available, unless `--with-xpm=no'.