diff options
author | Martin Kaiser <wireshark@kaiser.cx> | 2013-07-16 21:12:12 +0000 |
---|---|---|
committer | Martin Kaiser <wireshark@kaiser.cx> | 2013-07-16 21:12:12 +0000 |
commit | cc82d38c8b7c03d729f177274dbe33d67c867e0b (patch) | |
tree | 3203dc900c110f50b596621dbad1e96d4e3989af /ConfigureChecks.cmake | |
parent | 421e9ad4a04a55c7afa8e9ef45a52135526f7e61 (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 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 2baed4edc9..f36ada153b 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -31,6 +31,7 @@ check_include_file("direct.h" HAVE_DIRECT_H) check_include_file("dirent.h" HAVE_DIRENT_H) check_include_file("dlfcn.h" HAVE_DLFCN_H) check_include_file("fcntl.h" HAVE_FCNTL_H) +check_include_file("getopt.h" HAVE_GETOPT_H) check_include_file("grp.h" HAVE_GRP_H) check_include_file("g_ascii_strtoull.h" NEED_G_ASCII_STRTOULL_H) check_include_file("inet/aton.h" NEED_INET_ATON_H) |