]> granicus.if.org Git - php/commitdiff
use $PHP_LAYOUT, not $libdir, to determine the extension install layout
authorStig Bakken <ssb@php.net>
Sun, 6 May 2001 23:16:33 +0000 (23:16 +0000)
committerStig Bakken <ssb@php.net>
Sun, 6 May 2001 23:16:33 +0000 (23:16 +0000)
configure.in

index a07fe9a546a02f67194f33b5f95be0138e0780ae..a63e8569293fa06db77ec42bcfde509329570825 100644 (file)
@@ -479,8 +479,12 @@ PHP_ARG_WITH(config-file-path,[path to configuration file],
 
 if test "x$PHP_CONFIG_FILE_PATH" = "xDEFAULT"; then
   case $PHP_LAYOUT in
-    GNU) PHP_CONFIG_FILE_PATH="$sysconfdir";;
-    *)   PHP_CONFIG_FILE_PATH="$libdir";;
+    GNU)
+      PHP_CONFIG_FILE_PATH="$sysconfdir"
+      oldstyleextdir=no;;
+    *)
+      PHP_CONFIG_FILE_PATH="$libdir"
+      oldstyleextdir=yes;;
   esac
 fi
 
@@ -710,13 +714,10 @@ LIBS=""
 
 test "$prefix" = "NONE" && prefix="/usr/local"
 test "$exec_prefix" = "NONE" && exec_prefix='${prefix}'
+
 case $libdir in
   '${exec_prefix}/lib')
     libdir="$libdir/php"
-       oldstyleextdir=yes
-    ;;
-  *)
-    oldstyleextdir=no
     ;;
 esac
 case $datadir in