]> granicus.if.org Git - graphviz/commitdiff
fix quartz test
authorglenlow <devnull@localhost>
Fri, 1 Feb 2008 02:31:10 +0000 (02:31 +0000)
committerglenlow <devnull@localhost>
Fri, 1 Feb 2008 02:31:10 +0000 (02:31 +0000)
configure.ac
macbuild

index 003fedfee23a1c0115db85afb96df8c852b2ce87..093b3437fd686eaaeb14ad3046fcf09e3982542d 100644 (file)
@@ -1908,21 +1908,16 @@ dnl -----------------------------------
 dnl INCLUDES and LIBS for QUARTZ 
 
 AC_ARG_WITH(quartz,
-  [AC_HELP_STRING([--with-quartz=no], [quartz library])],
+  [AC_HELP_STRING([--with-quartz=no], [Quartz framework (Mac OS X)])],
   [], [with_quartz=no])
 
 if test "x$with_quartz" = "xyes"; then
-#PKG_CHECK_MODULES(QUARTZ, [libquartz >= 0.4],
-#      [HAVE_QUARTZ=1
-#      AC_DEFINE_UNQUOTED(HAVE_QUARTZ,1,
-#              [Define if you have the quartz library for SWF support])],
-#      [AC_MSG_WARN(quartz library not available)])
 
 if test -d "/System/Library/Frameworks/ApplicationServices.framework"; then
 HAVE_QUARTZ=1
-AC_DEFINE_UNQUOTED(HAVE_QUARTZ,1,[Define if you have the quartz library for SWF support])
-QUARTZ_CFLAGS='-I/usr/include/quartz'
-QUARTZ_LIBS='-L/usr/lib -lquartz'
+AC_DEFINE_UNQUOTED(HAVE_QUARTZ,1,[Define if you have the Quartz framework for Mac OS X])
+QUARTZ_CFLAGS=''
+QUARTZ_LIBS='-framework ApplicationServices'
 fi
 
 fi
index 143f8bcae29736486838ef76735d212e208d6176..950511ee27e5ae92b510c18c69d0c330c93004d2 100755 (executable)
--- a/macbuild
+++ b/macbuild
@@ -3,7 +3,7 @@
 PACKAGEMAKER="/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker"
 
 # configure for Universal Binaries
-./configure --disable-dependency-tracking CFLAGS="-arch i386 -arch ppc" LDFLAGS="-arch i386 -arch ppc"
+./configure --disable-dependency-tracking --with-quartz CFLAGS="-arch i386 -arch ppc" LDFLAGS="-arch i386 -arch ppc"
 make
 
 # make into the macosx build directory