From: Sascha Schumann Date: Tue, 28 Nov 2000 01:20:21 +0000 (+0000) Subject: Always add top_srcdir to the header file search path. X-Git-Tag: php-4.0.4RC3~44 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=84f8310e9a8178500ae85f42bea98d66540e4bd3;p=php Always add top_srcdir to the header file search path. --- diff --git a/build/rules_common.mk b/build/rules_common.mk index c886ca0f80..32ce8086b5 100644 --- a/build/rules_common.mk +++ b/build/rules_common.mk @@ -32,7 +32,7 @@ mkinstalldirs = $(top_srcdir)/build/shtool mkdir -p INSTALL = $(top_srcdir)/build/shtool install -c INSTALL_DATA = $(INSTALL) -m 644 -DEFS = -I. -I$(srcdir) -I$(top_builddir)/main +DEFS = -I. -I$(srcdir) -I$(top_builddir)/main -I$(top_srcdir) moduledir = $(EXTENSION_DIR) diff --git a/configure.in b/configure.in index 58432aecbb..13f4f61c83 100644 --- a/configure.in +++ b/configure.in @@ -669,7 +669,7 @@ else fi if test "$abs_srcdir" != "$abs_builddir"; then - INCLUDES="$INCLUDES -I\$(top_srcdir)/main -I\$(top_srcdir)/Zend -I\$(top_srcdir)" + INCLUDES="$INCLUDES -I\$(top_srcdir)/main -I\$(top_srcdir)/Zend" INCLUDES="$INCLUDES -I\$(top_srcdir)/TSRM" fi