From: foobar Date: Tue, 5 Feb 2002 01:27:00 +0000 (+0000) Subject: The extensions build as shared were installed into wrong place X-Git-Tag: php-4.2.0RC1~423 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=53cfce6bc59afec4a87d792849788ef42bb5ed05;p=php The extensions build as shared were installed into wrong place even as the layout was PHP. --- diff --git a/configure.in b/configure.in index 1abefb46d5..f3476dd73e 100644 --- a/configure.in +++ b/configure.in @@ -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