From: Stig Bakken Date: Sun, 22 Apr 2001 01:16:25 +0000 (+0000) Subject: * don't override $libdir and $datadir if they are specified on the X-Git-Tag: php-4.0.6RC1~346 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=39796b76138ae33f876ef011a75842082ac84c57;p=php * don't override $libdir and $datadir if they are specified on the commandline --- diff --git a/configure.in b/configure.in index 5205b49112..3c34a5e24b 100644 --- a/configure.in +++ b/configure.in @@ -698,12 +698,12 @@ phptempdir="`pwd`/libs" test "$prefix" = "NONE" && prefix="/usr/local" test "$exec_prefix" = "NONE" && exec_prefix='${prefix}' case $libdir in - */php) ;; - *) libdir="$libdir/php";; + '${exec_prefix}/lib') libdir="$libdir/php";; + *) ;; esac case $datadir in - */php) ;; - *) datadir="$datadir/php";; + '${prefix}/share') datadir="$datadir/php";; + *) ;; esac dnl Build extension directory path