configure.ac: fix mach-o/dyld_images.h detection on OS X
Austin English
austinenglish at gmail.com
Sat Jun 13 17:47:05 CDT 2009
Works fine for me, and the two users who also reported it didn't complain :-).
--
-Austin
-------------- next part --------------
diff --git a/configure.ac b/configure.ac
index 4b89c19..09eeb07 100644
--- a/configure.ac
+++ b/configure.ac
@@ -301,7 +301,6 @@ AC_CHECK_HEADERS(\
linux/serial.h \
linux/types.h \
linux/ucdrom.h \
- mach-o/dyld_images.h \
mach-o/nlist.h \
mach/mach.h \
mach/machine.h \
@@ -328,6 +327,7 @@ AC_CHECK_HEADERS(\
scsi/scsi_ioctl.h \
scsi/sg.h \
soundcard.h \
+ stdbool.h \
stdint.h \
strings.h \
stropts.h \
@@ -478,6 +478,14 @@ AC_CHECK_HEADERS([linux/ipx.h],,,
# include <linux/types.h>
#endif])
+AC_CHECK_HEADERS([mach-o/dyld_images.h],,,
+ [#ifdef HAVE_STDBOOL_H
+ # include <stdbool.h>
+ #endif
+ #ifdef HAVE_STDINT_H
+ # include <stdint.h>
+ #endif])
+
AC_CHECK_HEADERS([resolv.h],,,
[#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
diff --git a/include/config.h.in b/include/config.h.in
index c94523e..95efb70 100644
--- a/include/config.h.in
+++ b/include/config.h.in
@@ -699,6 +699,9 @@
/* Define to 1 if you have the `statvfs' function. */
#undef HAVE_STATVFS
+/* Define to 1 if you have the <stdboo.h> header file. */
+#undef HAVE_STDBOOL_H
+
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
More information about the wine-patches
mailing list