From cc82d38c8b7c03d729f177274dbe33d67c867e0b Mon Sep 17 00:00:00 2001 From: Martin Kaiser Date: Tue, 16 Jul 2013 21:12:12 +0000 Subject: 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 --- ConfigureChecks.cmake | 1 + 1 file changed, 1 insertion(+) (limited to 'ConfigureChecks.cmake') 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) -- cgit v1.2.1