1 # This file is generated from configure.in by Autoconf. DO NOT EDIT!
3 if test -z "$inhibit_glue"; then
4 # For signame.c, used in make_siglist.
9 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10 echo "$as_me:$LINENO: checking for $ac_func" >&5
11 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12 if eval "test \"\${$as_ac_var+set}\" = set"; then
13 echo $ECHO_N "(cached) $ECHO_C" >&6
15 cat >conftest.$ac_ext <<_ACEOF
18 cat confdefs.h >>conftest.$ac_ext
19 cat >>conftest.$ac_ext <<_ACEOF
21 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23 #define $ac_func innocuous_$ac_func
25 /* System header to define __stub macros and hopefully few prototypes,
26 which can conflict with char $ac_func (); below.
27 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28 <limits.h> exists even on freestanding compilers. */
38 /* Override any gcc2 internal prototype to avoid an error. */
43 /* We use char because int might match the return type of a gcc2
44 builtin and then its argument prototype would still apply. */
46 /* The GNU C library defines this for functions which it implements
47 to always fail with ENOSYS. Some functions are actually named
48 something starting with __ and the normal name is an alias. */
49 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52 char (*f) () = $ac_func;
66 rm -f conftest.$ac_objext conftest$ac_exeext
67 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68 (eval $ac_link) 2>conftest.er1
70 grep -v '^ *+' conftest.er1 >conftest.err
73 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74 (exit $ac_status); } &&
75 { ac_try='test -z "$ac_c_werror_flag"
76 || test ! -s conftest.err'
77 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81 (exit $ac_status); }; } &&
82 { ac_try='test -s conftest$ac_exeext'
83 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87 (exit $ac_status); }; }; then
90 echo "$as_me: failed program was:" >&5
91 sed 's/^/| /' conftest.$ac_ext >&5
95 rm -f conftest.err conftest.$ac_objext \
96 conftest$ac_exeext conftest.$ac_ext
98 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100 if test `eval echo '${'$as_ac_var'}'` = yes; then
101 cat >>confdefs.h <<_ACEOF
102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1