configure: Add a check for the grp.h header.
authorAlexandre Julliard <julliard@winehq.org>
Tue, 9 Dec 2008 16:09:42 +0000 (17:09 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 9 Dec 2008 16:09:42 +0000 (17:09 +0100)
configure
configure.ac
dlls/shell32/shfldr_unixfs.c
include/config.h.in

index 939e20d79eb60ea635ce5433be11eacb86652f4d..1a1da47bb71d7c2ac8c6aaa2b58d318c1f1f1461 100755 (executable)
--- a/configure
+++ b/configure
@@ -7434,6 +7434,7 @@ done
 
 
 
+
 
 
 for ac_header in \
@@ -7456,6 +7457,7 @@ for ac_header in \
        float.h \
        fontconfig/fontconfig.h \
        getopt.h \
+       grp.h \
        ieeefp.h \
        io.h \
        jack/jack.h \
index 2540c0d948e1163585e8114368132172863e9f6d..1dce0d130860a648ed09e98be9666fdf986d2d68 100644 (file)
@@ -258,6 +258,7 @@ AC_CHECK_HEADERS(\
        float.h \
        fontconfig/fontconfig.h \
        getopt.h \
+       grp.h \
        ieeefp.h \
        io.h \
        jack/jack.h \
index 3a550a135d2143ca593f417f4509768f0528f11f..582a98065c0b96c3b3c93d7ec0f3f3469db4cab8 100644 (file)
 #ifdef HAVE_PWD_H
 # include <pwd.h>
 #endif
-#include <grp.h>
+#ifdef HAVE_GRP_H
+# include <grp.h>
+#endif
 
 #define COBJMACROS
 #define NONAMELESSUNION
index dd8c5ce540670d6fe86e1ddcd19de63e3907c62d..84c41deb628435979fd5e0e689c84aa2b05efcf5 100644 (file)
 /* Define if we have libgphoto2 development environment */
 #undef HAVE_GPHOTO2
 
+/* Define to 1 if you have the <grp.h> header file. */
+#undef HAVE_GRP_H
+
 /* Define to 1 if you have the <hal/libhal.h> header file. */
 #undef HAVE_HAL_LIBHAL_H