summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-07-14 03:57:57 +0000
committerfoobar <sniper@php.net>2003-07-14 03:57:57 +0000
commitc2b21f7098fd4746f362761c5e1d4f546b11a8b2 (patch)
treeec114229585c3ef99a565e2dcc7508a7517aa3b6
parent750635d1312a0434ce77bee03200725705f7a666 (diff)
downloadphp-git-c2b21f7098fd4746f362761c5e1d4f546b11a8b2.tar.gz
Move the macosx fix to proper place.
-rw-r--r--ext/pdf/config.m412
1 files 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)