]> granicus.if.org Git - php/commitdiff
The extensions build as shared were installed into wrong place
authorfoobar <sniper@php.net>
Tue, 5 Feb 2002 01:27:00 +0000 (01:27 +0000)
committerfoobar <sniper@php.net>
Tue, 5 Feb 2002 01:27:00 +0000 (01:27 +0000)
even as the layout was PHP.

configure.in

index 1abefb46d56b96a34b6a98eb74531db7280a3257..f3476dd73ee5ce940cfb2bd8e744ecba5d68e670 100644 (file)
@@ -578,6 +578,15 @@ PHP_ARG_WITH(layout,[layout of installed files],
 [  --with-layout=TYPE      Sets how installed files will be laid out.  Type is
                           one of "PHP" (default) or "GNU"], PHP)
 
+case $PHP_LAYOUT in
+  GNU)
+    oldstyleextdir=no
+    ;;
+  *)
+    oldstyleextdir=yes
+    ;;
+esac
+
 PHP_ARG_WITH(config-file-path,[path to configuration file],
 [  --with-config-file-path=PATH  
                           Sets the path in which to look for php.ini,
@@ -587,10 +596,10 @@ if test "$PHP_CONFIG_FILE_PATH" = "DEFAULT"; then
   case $PHP_LAYOUT in
     GNU)
       PHP_CONFIG_FILE_PATH=$sysconfdir
-      oldstyleextdir=no;;
+      ;;
     *)
       PHP_CONFIG_FILE_PATH=$libdir
-      oldstyleextdir=yes;;
+      ;;
   esac
 fi