[PATCH 2/5] quartzdrv: Only build the quartzdrv on Mac OS X.
Pierre d'Herbemont
pdherbemont at free.fr
Wed Oct 25 08:39:43 CDT 2006
---
configure.ac | 7 +++++++
dlls/make_dlls | 3 ++-
2 files changed, 9 insertions(+), 1 deletions(-)
-------------- next part --------------
diff --git a/configure.ac b/configure.ac
index fd37c5b..d647c3f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -146,11 +146,13 @@ AC_SUBST(XFILES,"")
AC_SUBST(OPENGLFILES,"")
AC_SUBST(GLU32FILES,"")
AC_SUBST(OPENGL_LIBS,"")
+AC_SUBST(QUARTZFILES,"")
dnl **** Check for header files ****
AC_CHECK_HEADERS(\
AudioUnit/AudioUnit.h \
+ Carbon/Carbon.h \
CoreAudio/CoreAudio.h \
IOKit/IOKitLib.h \
alsa/asoundlib.h \
@@ -1016,6 +1018,11 @@ case $host_os in
LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" dnl FIXME
;;
esac
+ dnl Enable quartz driver on Mac OS X
+ if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
+ then
+ QUARTZFILES='$(QUARTZFILES)'
+ fi
;;
*)
DLLFLAGS="$DLLFLAGS -fPIC"
diff --git a/dlls/make_dlls b/dlls/make_dlls
index f85fd89..7969c52 100755
--- a/dlls/make_dlls
+++ b/dlls/make_dlls
@@ -35,7 +35,8 @@ (
"glut32" => "GLUT32FILES",
"opengl32" => "OPENGLFILES",
"wined3d" => "OPENGLFILES",
- "winex11.drv" => "XFILES"
+ "winex11.drv" => "XFILES",
+ "winequartz.drv" => "QUARTZFILES"
);
sub needs_symlink($)
More information about the wine-patches
mailing list