X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=configure.ad;h=bd4251f4931c2ea2f8b9d0f22235c42bebe2d1b9;hb=f449c0a95327fd4e60a5b9d3c9d50fae0f8d835a;hp=bb21ee683ed5f8b8f9004470c06821ebad9d258e;hpb=698466ad3709336c7865b05f4ba6d0747ad33795;p=silc.git diff --git a/configure.ad b/configure.ad index bb21ee68..bd4251f4 100644 --- a/configure.ad +++ b/configure.ad @@ -224,7 +224,7 @@ AC_HEADER_STAT # More header checking # -AC_CHECK_HEADERS(unistd.h string.h getopt.h errno.h fcntl.h assert.h) +AC_CHECK_HEADERS(unistd.h string.h errno.h fcntl.h assert.h) AC_CHECK_HEADERS(sys/types.h sys/stat.h sys/time.h stddef.h) AC_CHECK_HEADERS(netinet/in.h netinet/tcp.h xti.h netdb.h sys/resource.h) AC_CHECK_HEADERS(pwd.h grp.h termcap.h paths.h) @@ -298,13 +298,6 @@ AC_CHECK_FUNC(getopt_long, ], have_getopt_long=0 ) -AC_CHECK_FUNC(getopt, - [ - AC_DEFINE([HAVE_GETOPT], [], [HAVE_GETOPT]) - have_getopt=1 - ], have_getopt=0 -) - ## ## Enable/disable checking ## @@ -1246,7 +1239,7 @@ if test x$has_threads = xtrue; then esac # Check for threads - AC_CHECK_FUNC(pthread_create) + AC_CHECK_FUNCS(pthread_create pthread_key_create pthread_once) # Check for read/write locks AC_CHECK_FUNC(pthread_rwlock_init,