From e075c5369c84e06eb68b25519644c4b007b68ce8 Mon Sep 17 00:00:00 2001 From: bdc Date: Wed, 1 Nov 1995 23:13:25 +0000 Subject: [PATCH] *** empty log message *** --- configure | 65 +++++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 58 insertions(+), 7 deletions(-) diff --git a/configure b/configure index 58debda..a501cd5 100755 --- a/configure +++ b/configure @@ -1333,7 +1333,7 @@ else fi done -for ac_func in dlopen gettimeofday ftime nlist select setitimer sigaction +for ac_func in strerror do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then @@ -1384,7 +1384,7 @@ else fi done -for ac_func in socket chroot +for ac_func in dlopen gettimeofday ftime nlist select setitimer sigaction do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then @@ -1430,6 +1430,57 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then #define $ac_tr_func 1 EOF +else + echo "$ac_t""no" 1>&6 +fi +done + +for ac_func in socket chroot +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +char $ac_func(); + +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 +$ac_func(); +#endif + +; return 0; } +EOF +if eval $ac_link; 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 + echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr '[a-z]' '[A-Z]'` + cat >> confdefs.h <&6 fi @@ -1513,7 +1564,7 @@ EOF else cat > conftest.$ac_ext < int main() { return 0; } @@ -1548,7 +1599,7 @@ EOF else cat > conftest.$ac_ext < int main() { return 0; } @@ -1583,7 +1634,7 @@ EOF else cat > conftest.$ac_ext < int main() { return 0; } @@ -1617,7 +1668,7 @@ EOF else cat > conftest.$ac_ext < int main() { return 0; } @@ -1652,7 +1703,7 @@ EOF else cat > conftest.$ac_ext < #include