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 echo "configure:8: checking for $ac_func" >&5
8 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9 echo $ac_n "(cached) $ac_c" 1>&6
11 cat > conftest.$ac_ext <<EOF
14 /* System header to define __stub macros and hopefully few prototypes,
15 which can conflict with char $ac_func(); below. */
17 /* Override any gcc2 internal prototype to avoid an error. */
18 /* We use char because int might match the return type of a gcc2
19 builtin and then its argument prototype would still apply. */
24 /* The GNU C library defines this for functions which it implements
25 to always fail with ENOSYS. Some functions are actually named
26 something starting with __ and the normal name is an alias. */
27 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35 if { (eval echo configure:36: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
37 eval "ac_cv_func_$ac_func=yes"
39 echo "configure: failed program was:" >&5
40 cat conftest.$ac_ext >&5
42 eval "ac_cv_func_$ac_func=no"
47 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
48 echo "$ac_t""yes" 1>&6
49 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50 cat >> confdefs.h <<EOF