X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=configure.ad;h=bd4251f4931c2ea2f8b9d0f22235c42bebe2d1b9;hp=0e53cfa9d44d7b26b45f2869eea5c7f6e4945dff;hb=4d410261ffce5fdb85666b487aedb25e3af42c04;hpb=562927f2871fedc49ec9e3e7e74bf93cbcafb71e 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 ##