|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
[2014-10-17 14:00 UTC] tyrael@php.net
-Assigned To:
+Assigned To: tyrael
[2015-01-05 05:02 UTC] stas@php.net
-Status: Assigned
+Status: Closed
[2015-01-05 05:02 UTC] stas@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 02:00:01 2025 UTC |
Description: ------------ configure is used to determine EXPANDED_DATADIR, which in turn is used to set PHP_DATADIR in main/build-defs.h.in / main/build-defs.h. configure sets EXPANDED_DATADIR from datadir, which in turn is set to '$datarootdir' and then eval'ed once. Now datarootdir is set to '${prefix}/shared', so first datadir is set to '$datarootdir', then once eval'ed to '${prefix}/shared' as a verbatim string. This string ends up as the value of PHP_DATADIR in main/build-defs.h: #define PHP_DATADIR "${prefix}/share" To fix this one needs to eval datadir in configure.in twice: --- configure.in 2014-02-05 11:00:36.000000000 +0100 +++ configure.in 2014-02-24 21:31:45.656842000 +0100 @@ -1172,6 +1172,7 @@ exec_prefix=`eval echo $exec_prefix` libdir=`eval echo $libdir` datadir=`eval echo $datadir` +datadir=`eval echo $datadir` dnl Build extension directory path Regards, Rainer