]> granicus.if.org Git - php/commitdiff
More PHP_LIBDIR fixes for lib64 platforms.
authorJoe Orton <jorton@php.net>
Mon, 13 Dec 2004 10:30:21 +0000 (10:30 +0000)
committerJoe Orton <jorton@php.net>
Mon, 13 Dec 2004 10:30:21 +0000 (10:30 +0000)
ext/gd/config.m4

index f5d3c952752c569e44d7dd31d448c4d8fca27c56..5eeb481f429bc78762e1e3a2bab29c1849cef815 100644 (file)
@@ -220,7 +220,7 @@ AC_DEFUN(PHP_GD_T1LIB,[
     ],[
       AC_MSG_ERROR([Problem with libt1.(a|so). Please check config.log for more information.]) 
     ],[
-      -L$GD_T1_DIR/lib
+      -L$GD_T1_DIR/$PHP_LIBDIR
     ])
   fi
 ])
@@ -363,7 +363,7 @@ dnl Header path
   done
 
 dnl Library path
-  for i in lib/gd1.3 lib/gd lib gd1.3 gd ""; do
+  for i in $PHP_LIBDIR/gd1.3 $PHP_LIBDIR/gd $PHP_LIBDIR gd1.3 gd ""; do
     test -f "$PHP_GD/$i/libgd.$SHLIB_SUFFIX_NAME" -o -f "$PHP_GD/$i/libgd.a" && GD_LIB="$PHP_GD/$i"
   done