3396 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3397 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
3398 |
for ac_declaration in \ |
for ac_declaration in \ |
3399 |
''\ |
'' \ |
|
'#include <stdlib.h>' \ |
|
3400 |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
3401 |
'extern "C" void std::exit (int); using std::exit;' \ |
'extern "C" void std::exit (int); using std::exit;' \ |
3402 |
'extern "C" void exit (int) throw ();' \ |
'extern "C" void exit (int) throw ();' \ |
3410 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
3411 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
3412 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
|
#include <stdlib.h> |
|
3413 |
$ac_declaration |
$ac_declaration |
3414 |
|
#include <stdlib.h> |
3415 |
int |
int |
3416 |
main () |
main () |
3417 |
{ |
{ |
8893 |
#define USE_XIM 1 |
#define USE_XIM 1 |
8894 |
_ACEOF |
_ACEOF |
8895 |
|
|
8896 |
|
late_CFLAGS=$CFLAGS |
8897 |
|
if test "$GCC" = yes; then |
8898 |
|
CFLAGS="$CFLAGS --pedantic-errors" |
8899 |
|
fi |
8900 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
8901 |
#line $LINENO "configure" |
#line $LINENO "configure" |
8902 |
/* confdefs.h. */ |
/* confdefs.h. */ |
8916 |
char *res_class; |
char *res_class; |
8917 |
XIMProc callback; |
XIMProc callback; |
8918 |
XPointer *client_data; |
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 |
8925 |
(void)XRegisterIMInstantiateCallback(display, db, res_name, res_class, callback, |
(void)XRegisterIMInstantiateCallback(display, db, res_name, res_class, callback, |
8926 |
client_data); |
client_data); |
8927 |
; |
; |
8959 |
_ACEOF |
_ACEOF |
8960 |
|
|
8961 |
fi |
fi |
8962 |
|
CFLAGS=$late_CFLAGS |
8963 |
fi |
fi |
8964 |
|
|
8965 |
### Use -lXpm if available, unless `--with-xpm=no'. |
### Use -lXpm if available, unless `--with-xpm=no'. |