2 if test -z "$inhibit_glue"; then
3 # For signame.c, used in make_siglist.
6 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8 echo $ac_n "(cached) $ac_c" 1>&6
10 cat > conftest.$ac_ext <<EOF
13 /* System header to define __stub macros and hopefully few prototypes,
14 which can conflict with char $ac_func(); below. */
16 /* Override any gcc2 internal prototype to avoid an error. */
19 int main() { return 0; }
22 /* The GNU C library defines this for functions which it implements
23 to always fail with ENOSYS. Some functions are actually named
24 something starting with __ and the normal name is an alias. */
25 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33 if eval $ac_link; then
35 eval "ac_cv_func_$ac_func=yes"
38 eval "ac_cv_func_$ac_func=no"
43 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
44 echo "$ac_t""yes" 1>&6
45 ac_tr_func=HAVE_`echo $ac_func | tr '[a-z]' '[A-Z]'`
46 cat >> confdefs.h <<EOF