--- uuid.ac 2004/01/13 19:43:14 1.6
+++ uuid.ac 2004/01/15 12:43:52 1.7
@@ -27,31 +27,6 @@
dnl ## uuid.ac: UUID specific Autoconf checks
dnl ##
-dnl # Check for an ANSI C typedef in a header
-dnl # configure.in:
-dnl # SA_CHECK_TYPEDEF(<typedef>, <header>)
-dnl # acconfig.h:
-dnl # #undef HAVE_<typedef>
-
-AC_DEFUN(SA_CHECK_TYPEDEF,[dnl
- AC_REQUIRE([AC_HEADER_STDC])dnl
- AC_MSG_CHECKING(for typedef $1)
- AC_CACHE_VAL(ac_cv_typedef_$1,[
- AC_EGREP_CPP(dnl
-changequote(<<,>>)dnl
-<<(^|[^a-zA-Z_0-9])$1[^a-zA-Z_0-9]>>dnl
-changequote([,]), [
-#include <$2>],
- ac_cv_typedef_$1=yes,
- ac_cv_typedef_$1=no
- )
- ])dnl
- AC_MSG_RESULT($ac_cv_typedef_$1)
- if test $ac_cv_typedef_$1 = yes; then
- AC_DEFINE(HAVE_[]translit($1, [a-z], [A-Z]), 1, [Define to 1 if $1 exists])
- fi
-])
-
dnl # Check for anything OSSP uuid wants to know
dnl # configure.in:
dnl # UUID_CHECK_ALL
@@ -64,9 +39,6 @@
fi
AC_CHECK_LIB(socket, accept)
- dnl # make sure some platforms find their IPv6 library
- AC_CHECK_LIB(inet6, getaddrinfo)
-
dnl # check for system headers
AC_CHECK_HEADERS(sys/types.h sys/param.h sys/time.h sys/socket.h sys/sockio.h sys/ioctl.h)
AC_CHECK_HEADERS(netdb.h ifaddrs.h net/if.h net/if_dl.h net/if_arp.h netinet/in.h arpa/inet.h,,,
@@ -97,9 +69,5 @@
AC_CHECK_SIZEOF(unsigned long, 4)
AC_CHECK_SIZEOF(long long, 8)
AC_CHECK_SIZEOF(unsigned long long, 8)
-
- dnl # check for network/socket size type
- SA_CHECK_TYPEDEF(socklen_t, sys/socket.h)
- SA_CHECK_TYPEDEF(ssize_t, sys/types.h)
])
|