]> granicus.if.org Git - php/commitdiff
Move the macosx fix to proper place.
authorfoobar <sniper@php.net>
Mon, 14 Jul 2003 03:57:57 +0000 (03:57 +0000)
committerfoobar <sniper@php.net>
Mon, 14 Jul 2003 03:57:57 +0000 (03:57 +0000)
ext/pdf/config.m4

index 430144193b4dd1fa2783d11efd2aab61d85d20d5..44a2c24b6cad8708dbdcd2a6eb9be8c19a0e33b5 100644 (file)
@@ -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)