cvs: php4 / configure.in
| From: | Jani Taskinen | Date: | Tue, 05 Feb 2002 01:27:00 +0000 |
| Subject: | cvs: php4 / configure.in | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-9272@lists.php.net to get a copy of this message | ||
sniper Mon Feb 4 20:27:00 2002 EDT
Modified files:
/php4 configure.in
Log:
The extensions build as shared were installed into wrong place
even as the layout was PHP.
Index: php4/configure.in
diff -u php4/configure.in:1.298 php4/configure.in:1.299
--- php4/configure.in:1.298 Sun Feb 3 15:00:26 2002
+++ php4/configure.in Mon Feb 4 20:27:00 2002
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.298 2002/02/03 20:00:26 dickmeiss Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.299 2002/02/05 01:27:00 sniper Exp $ -*- sh -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(1)
@@ -578,6 +578,15 @@
[ --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 @@
case $PHP_LAYOUT in
GNU)
PHP_CONFIG_FILE_PATH=$sysconfdir
- oldstyleextdir=no;;
+ ;;
*)
PHP_CONFIG_FILE_PATH=$libdir
- oldstyleextdir=yes;;
+ ;;
esac
fi