summaryrefslogtreecommitdiff
path: root/sysdeps/generic/configure
blob: c89b679eb93d490d6d99e33674b8d99d5109c914 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# This file is generated from configure.in by Autoconf.  DO NOT EDIT!
 

if [ ! "$inhibit_glue" ]; then

# For signame.c, used in make_siglist.
for ac_func in psignal
do
ac_tr_func=HAVE_`echo $ac_func | tr '[a-z]' '[A-Z]'`
echo "checking for ${ac_func}" 1>&4
if eval "test \"`echo '${'ac_cv_func_${ac_func}'+set}'`\" = set"; then
  echo "	using cached value for ac_cv_func_${ac_func}" 1>&5
else
  cat > conftest.${ac_ext} <<EOF
#include "confdefs.h"
#include <ctype.h>
int main() { return 0; }
int t() { 
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_${ac_func}) || defined (__stub___${ac_func})
choke me
#else
/* Override any gcc2 internal prototype to avoid an error.  */
extern char ${ac_func}(); ${ac_func}();
#endif
; return 0; }
EOF
if eval $ac_compile; then
  rm -rf conftest*
  eval "ac_cv_func_${ac_func}=yes"
else
  rm -rf conftest*
  eval "ac_cv_func_${ac_func}=no"
fi
rm -f conftest*

fi
if eval "test \"`echo '$ac_cv_func_'${ac_func}`\" = yes"; then
  
{
test "$verbose" = yes && \
echo "	defining ${ac_tr_func}"
echo "#define" ${ac_tr_func} "1" >> confdefs.h
DEFS="$DEFS -D${ac_tr_func}=1"
}

fi
done

fi