Alexandre Julliard : configure: Add a check for the grp.h header.
Alexandre Julliard
julliard at winehq.org
Wed Dec 10 07:41:27 CST 2008
Module: wine
Branch: master
Commit: 46678dcdde802f5851de6f506d29ba7f31cc32aa
URL: http://source.winehq.org/git/wine.git/?a=commit;h=46678dcdde802f5851de6f506d29ba7f31cc32aa
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Dec 9 17:09:42 2008 +0100
configure: Add a check for the grp.h header.
---
configure | 2 ++
configure.ac | 1 +
dlls/shell32/shfldr_unixfs.c | 4 +++-
include/config.h.in | 3 +++
4 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/configure b/configure
index 939e20d..1a1da47 100755
--- a/configure
+++ b/configure
@@ -7436,6 +7436,7 @@ done
+
for ac_header in \
AudioUnit/AudioUnit.h \
Carbon/Carbon.h \
@@ -7456,6 +7457,7 @@ for ac_header in \
float.h \
fontconfig/fontconfig.h \
getopt.h \
+ grp.h \
ieeefp.h \
io.h \
jack/jack.h \
diff --git a/configure.ac b/configure.ac
index 2540c0d..1dce0d1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -258,6 +258,7 @@ AC_CHECK_HEADERS(\
float.h \
fontconfig/fontconfig.h \
getopt.h \
+ grp.h \
ieeefp.h \
io.h \
jack/jack.h \
diff --git a/dlls/shell32/shfldr_unixfs.c b/dlls/shell32/shfldr_unixfs.c
index 3a550a1..582a980 100644
--- a/dlls/shell32/shfldr_unixfs.c
+++ b/dlls/shell32/shfldr_unixfs.c
@@ -141,7 +141,9 @@
#ifdef HAVE_PWD_H
# include <pwd.h>
#endif
-#include <grp.h>
+#ifdef HAVE_GRP_H
+# include <grp.h>
+#endif
#define COBJMACROS
#define NONAMELESSUNION
diff --git a/include/config.h.in b/include/config.h.in
index dd8c5ce..84c41de 100644
--- a/include/config.h.in
+++ b/include/config.h.in
@@ -234,6 +234,9 @@
/* 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
More information about the wine-cvs
mailing list