From 475135e4bb90212385f19c8aac8b39bd123f0a2f Mon Sep 17 00:00:00 2001 From: hjl Date: Fri, 13 Sep 2002 03:38:11 +0000 Subject: [PATCH] 2002-09-12 H.J. Lu * configure.in: Remove checking svctcp_socket and svcudp_socket. * configure: Regenerated. * support/include/config.h.in (HAVE_SVCTCP_SOCKET): Removed. (HAVE_SVCUDP_SOCKET): Removed. * support/include/nfslib.h: Undo the last change. --- ChangeLog | 10 ++++ configure | 110 ------------------------------------ configure.in | 2 - support/include/config.h.in | 8 --- support/include/nfslib.h | 8 +-- 5 files changed, 12 insertions(+), 126 deletions(-) diff --git a/ChangeLog b/ChangeLog index 00fc995..f7a5c5f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2002-09-12 H.J. Lu + + * configure.in: Remove checking svctcp_socket and svcudp_socket. + * configure: Regenerated. + + * support/include/config.h.in (HAVE_SVCTCP_SOCKET): Removed. + (HAVE_SVCUDP_SOCKET): Removed. + + * support/include/nfslib.h: Undo the last change. + 2002-09-12 H.J. Lu * support/include/nfslib.h (svctcp_socket): Protect it with diff --git a/configure b/configure index 49fa033..41c1d68 100755 --- a/configure +++ b/configure @@ -1582,116 +1582,6 @@ else fi done -for ac_func in svctcp_socket -do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:1589: checking for $ac_func" >&5 -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. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { - -/* 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 echo configure:1617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - 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 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <&6 -fi -done - -for ac_func in svcudp_socket -do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:1644: checking for $ac_func" >&5 -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. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { - -/* 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 echo configure:1672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - 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 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <&6 -fi -done - cat >> confdefs.h <