]> granicus.if.org Git - php/commitdiff
- Fix paths when using --libdir and --includedir configure options
authorfoobar <sniper@php.net>
Tue, 7 Jun 2005 21:56:09 +0000 (21:56 +0000)
committerfoobar <sniper@php.net>
Tue, 7 Jun 2005 21:56:09 +0000 (21:56 +0000)
scripts/Makefile.frag
scripts/phpize.in

index 7ae716eba09907115945ffb1c6669f8ccc97673b..debe7a5beb1b68e3338c11720c05151f3b995a32 100644 (file)
@@ -4,7 +4,7 @@
 #
 
 phpincludedir = $(includedir)/php
-phpbuilddir = $(prefix)/lib/php/build
+phpbuilddir = $(libdir)/build
 
 BUILD_FILES = \
        scripts/phpize.m4 \
index 3a901743681db61eb7224c34d1697d20f88ee3e6..25835a38a6c6119e2a59e12224c87eb2d7713de2 100644 (file)
@@ -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"