aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMartin Kaiser <wireshark@kaiser.cx>2013-07-16 21:12:12 +0000
committerMartin Kaiser <wireshark@kaiser.cx>2013-07-16 21:12:12 +0000
commitcc82d38c8b7c03d729f177274dbe33d67c867e0b (patch)
tree3203dc900c110f50b596621dbad1e96d4e3989af /configure.ac
parent421e9ad4a04a55c7afa8e9ef45a52135526f7e61 (diff)
set HAVE_GETOPT_H and HAVE_GETOPT variables
for both autotools and cmake builds (in order to use getopt_long(), we have to check if we can include getopt.h) svn path=/trunk/; revision=50680
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index b516dec328..30d419934c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2135,7 +2135,7 @@ AC_SUBST(LIBCAP_LIBS)
dnl Checks for header files.
dnl Some of these may not be needed: http://hacks.owlfolio.org/header-survey/
-AC_CHECK_HEADERS(direct.h dirent.h fcntl.h grp.h inttypes.h netdb.h pwd.h stdarg.h stddef.h unistd.h)
+AC_CHECK_HEADERS(direct.h dirent.h fcntl.h getopt.h grp.h inttypes.h netdb.h pwd.h stdarg.h stddef.h unistd.h)
AC_CHECK_HEADERS(sys/ioctl.h sys/param.h sys/socket.h sys/sockio.h sys/stat.h sys/time.h sys/types.h sys/utsname.h sys/wait.h)
AC_CHECK_HEADERS(netinet/in.h)
AC_CHECK_HEADERS(arpa/inet.h arpa/nameser.h)