From: foobar Date: Mon, 14 Jul 2003 03:57:57 +0000 (+0000) Subject: Move the macosx fix to proper place. X-Git-Tag: BEFORE_ARG_INFO~258 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c2b21f7098fd4746f362761c5e1d4f546b11a8b2;p=php Move the macosx fix to proper place. --- diff --git a/ext/pdf/config.m4 b/ext/pdf/config.m4 index 430144193b..44a2c24b6c 100644 --- a/ext/pdf/config.m4 +++ b/ext/pdf/config.m4 @@ -90,15 +90,15 @@ if test "$PHP_PDFLIB" != "no"; then dnl # dnl # The main PDFlib configure dnl # + case $host_alias in + *darwin*) + PHP_ADD_FRAMEWORK(CoreServices) + PHP_ADD_FRAMEWORK(ApplicationServices) + ;; + esac case $PHP_PDFLIB in yes) - case $host_alias in - *darwin*) - PHP_ADD_FRAMEWORK(CoreServices) - PHP_ADD_FRAMEWORK(ApplicationServices) - ;; - esac AC_CHECK_LIB(pdf, PDF_show_boxed, [ AC_DEFINE(HAVE_PDFLIB,1,[ ]) PHP_ADD_LIBRARY(pdf,, PDF_SHARED_LIBADD)