From: ellson Date: Mon, 21 Jan 2008 01:23:35 +0000 (+0000) Subject: rough hack for a quartz test X-Git-Tag: LAST_LIBGRAPH~32^2~4858 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=967affc5e774ed8fc58598dd0da4f046cd4fd7d4;p=graphviz rough hack for a quartz test --- diff --git a/configure.ac b/configure.ac index 72001c7b4..f931e78bc 100644 --- a/configure.ac +++ b/configure.ac @@ -1820,11 +1820,19 @@ AC_ARG_WITH(quartz, [], [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)]) +#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_CFLAGS = '-L/usr/lib -lquartz' +fi + fi AC_SUBST(QUARTZ_CFLAGS) AC_SUBST(QUARTZ_LIBS)