Browse Source

The extensions build as shared were installed into wrong place

even as the layout was PHP.
experimental/ZendEngine2
foobar 25 years ago
parent
commit
53cfce6bc5
  1. 13
      configure.in

13
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

Loading…
Cancel
Save