From: foobar Date: Tue, 7 Jun 2005 21:56:09 +0000 (+0000) Subject: - Fix paths when using --libdir and --includedir configure options X-Git-Tag: php-5.0.1b1~50 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d3f1bf4c3513494feeaa578c6375c89b4d8616e1;p=php - Fix paths when using --libdir and --includedir configure options --- diff --git a/scripts/Makefile.frag b/scripts/Makefile.frag index 7ae716eba0..debe7a5beb 100644 --- a/scripts/Makefile.frag +++ b/scripts/Makefile.frag @@ -4,7 +4,7 @@ # phpincludedir = $(includedir)/php -phpbuilddir = $(prefix)/lib/php/build +phpbuilddir = $(libdir)/build BUILD_FILES = \ scripts/phpize.m4 \ diff --git a/scripts/phpize.in b/scripts/phpize.in index 3a90174368..25835a38a6 100644 --- a/scripts/phpize.in +++ b/scripts/phpize.in @@ -2,8 +2,8 @@ # Variable declaration prefix='@prefix@' -phpdir="$prefix/lib/php/build" -includedir="$prefix/include/php" +phpdir="@libdir@/build" +includedir="@includedir@/php" builddir="`pwd`" FILES_BUILD="mkdep.awk scan_makefile_in.awk shtool libtool.m4"