OSSP CVS Repository

ossp - Difference in ossp-pkg/sa/sa.ac versions 1.4 and 1.5
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/sa/sa.ac 1.4 -> 1.5

--- sa.ac        2001/10/08 14:47:30     1.4
+++ sa.ac        2001/10/08 15:01:26     1.5
@@ -53,28 +53,6 @@
     fi
 ])
 
-dnl #   Check for socklen_t
-dnl #   configure.in:
-dnl #     SA_CHECK_SOCKLENTYPE
-
-AC_DEFUN(SA_CHECK_SOCKLENTYPE,[dnl
-    SA_CHECK_TYPEDEF(socklen_t, sys/socket.h)
-    AC_MSG_CHECKING(for fallback socklen_t)
-    AC_CACHE_VAL(ac_cv_check_socklentype, [
-        if test ".$ac_cv_typedef_socklen_t" = .yes; then
-            ac_cv_check_socklentype='socklen_t'
-        else
-            ac_cv_check_socklentype='int'
-        fi
-    ])
-    AC_MSG_RESULT([$ac_cv_check_socklentype])
-    SA_FALLBACK_SOCKLEN_T="typedef ${ac_cv_check_socklentype} socklen_t;"
-    if test ".$ac_cv_check_socklentype" = ".socklen_t"; then
-        SA_FALLBACK_SOCKLEN_T="/* $SA_FALLBACK_SOCKLEN_T */"
-    fi
-    AC_SUBST(SA_FALLBACK_SOCKLEN_T)
-])
-
 dnl #   Check for anything OSSP SA wants to know
 dnl #   configure.in:
 dnl #     SA_CHECK_ALL
@@ -94,6 +72,6 @@
     AC_CHECK_FUNCS(inet_aton inet_pton inet_ntoa inet_ntop snprintf)
 
     dnl # check for network/socket size type
-    SA_CHECK_SOCKLENTYPE
+    SA_CHECK_TYPEDEF(socklen_t, sys/socket.h)
 ])
 

CVSTrac 2.0.1