summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorFerenc Kovacs <tyrael@php.net>2015-01-03 19:18:07 +0100
committerFerenc Kovacs <tyrael@php.net>2015-01-03 19:18:07 +0100
commit83db77532398f4c9da7625ffb42de4a6ece9c20f (patch)
treedfedfd8c74d5e19526c44086460f139c65ac6b97 /configure.in
parent244fc1e05367dc7ebdf2db260c8bc8b106563d26 (diff)
downloadphp-git-83db77532398f4c9da7625ffb42de4a6ece9c20f.tar.gz
Fixes #66764 - configure doesn't define EXPANDED_DATADIR / PHP_DATADIR correctly
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 358b94d37b..10456d19f0 100644
--- a/configure.in
+++ b/configure.in
@@ -1170,7 +1170,7 @@ case $libdir in
libdir=$libdir/php
;;
esac
-case $datadir in
+case `eval echo $datadir` in
'${prefix}/share')
datadir=$datadir/php
;;
@@ -1185,7 +1185,7 @@ old_libdir=$libdir
old_datadir=$datadir
exec_prefix=`eval echo $exec_prefix`
libdir=`eval echo $libdir`
-datadir=`eval echo $datadir`
+datadir=`eval eval echo $datadir`
dnl Build extension directory path