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 /cmakeconfig.h.in | |
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 'cmakeconfig.h.in')
-rw-r--r-- | cmakeconfig.h.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in index 2b8e9a988a..705e1ef03a 100644 --- a/cmakeconfig.h.in +++ b/cmakeconfig.h.in @@ -48,9 +48,12 @@ /* Define to 1 if you have the <fcntl.h> header file. */ #cmakedefine HAVE_FCNTL_H 1 -/* Define to 1 if you have the <getopt.h> header file. */ +/* Define to 1 if you have the 'getopt' function. */ #cmakedefine HAVE_GETOPT 1 +/* Define to 1 if you have the <getopt.h> header file. */ +#cmakedefine HAVE_GETOPT_H 1 + /* Define to 1 if you have the `chown' function. */ #cmakedefine HAVE_CHOWN 1 |