From c2b21f7098fd4746f362761c5e1d4f546b11a8b2 Mon Sep 17 00:00:00 2001 From: foobar Date: Mon, 14 Jul 2003 03:57:57 +0000 Subject: [PATCH] Move the macosx fix to proper place. --- ext/pdf/config.m4 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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) -- 2.50.1