comparison configure @ 51691:6a3cc9d03391

*** empty log message ***
author Dave Love <fx@gnu.org>
date Sun, 29 Jun 2003 12:05:01 +0000
parents 2d18e453554f
children 0bab97b183c0
comparison
equal deleted inserted replaced
51690:e6a0d3015a99 51691:6a3cc9d03391
3394 (eval $ac_try) 2>&5 3394 (eval $ac_try) 2>&5
3395 ac_status=$? 3395 ac_status=$?
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 ();' \
3404 'extern "C" void exit (int);' \ 3403 'extern "C" void exit (int);' \
3405 'void exit (int);' 3404 'void exit (int);'
3409 /* confdefs.h. */ 3408 /* confdefs.h. */
3410 _ACEOF 3409 _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. */
3413 $ac_declaration
3414 #include <stdlib.h> 3414 #include <stdlib.h>
3415 $ac_declaration
3416 int 3415 int
3417 main () 3416 main ()
3418 { 3417 {
3419 exit (42); 3418 exit (42);
3420 ; 3419 ;
8892 8891
8893 cat >>confdefs.h <<\_ACEOF 8892 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. */
8900 _ACEOF 8903 _ACEOF
8901 cat confdefs.h >>conftest.$ac_ext 8904 cat confdefs.h >>conftest.$ac_ext
8911 XrmDatabase db; 8914 XrmDatabase db;
8912 char *res_name; 8915 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 ;
8919 return 0; 8928 return 0;
8920 } 8929 }
8948 cat >>confdefs.h <<\_ACEOF 8957 cat >>confdefs.h <<\_ACEOF
8949 #define XRegisterIMInstantiateCallback_arg6 XPointer 8958 #define XRegisterIMInstantiateCallback_arg6 XPointer
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'.
8956 HAVE_XPM=no 8966 HAVE_XPM=no
8957 if test "${HAVE_X11}" = "yes"; then 8967 if test "${HAVE_X11}" = "yes"; then