Wine - 1.1.23
Austin English
austinenglish at gmail.com
Fri Jun 12 18:23:36 CDT 2009
On Fri, Jun 12, 2009 at 4:24 PM, Noah Fields<nqeron at gmail.com> wrote:
> configure: WARNING: mach-o/dyld_images.h: present but cannot be compiled
> configure: WARNING: mach-o/dyld_images.h: check for missing prerequisite
> headers?
> configure: WARNING: mach-o/dyld_images.h: see the Autoconf documentation
> configure: WARNING: mach-o/dyld_images.h: section "Present But Cannot Be
> Compiled"
> configure: WARNING: mach-o/dyld_images.h: proceeding with the preprocessor's
> result
> configure: WARNING: mach-o/dyld_images.h: in the future, the compiler will
> take precedence
> configure: WARNING: ## ------------------------------------ ##
> configure: WARNING: ## Report this to wine-devel at winehq.org ##
> configure: WARNING: ## ------------------------------------ ##
Try this patch. You'll need to run autoconf after applying.
--
-Austin
-------------- next part --------------
diff --git a/configure.ac b/configure.ac
index 4b89c19..fc73da7 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-devel
mailing list