X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=configure.ad;h=bd4251f4931c2ea2f8b9d0f22235c42bebe2d1b9;hb=f449c0a95327fd4e60a5b9d3c9d50fae0f8d835a;hp=0e53cfa9d44d7b26b45f2869eea5c7f6e4945dff;hpb=c6bb9e5e82ae3a2d667e826b9bd979cbe72e1493;p=silc.git diff --git a/configure.ad b/configure.ad index 0e53cfa9..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 ##