Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit dada90e

Browse files
Remove CORE_INCLUDES and use exclusively INCLUDES
1 parent ab28632 commit dada90e

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

‎build/Makefile.global‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ mkinstalldirs = $(top_srcdir)/build/shtool mkdir -p
22
INSTALL = $(top_srcdir)/build/shtool install -c
33
INSTALL_DATA = $(INSTALL) -m 644
44

5-
COMMON_FLAGS = $(CORE_INCLUDES) $(INCLUDES) $(EXTRA_INCLUDES) $(CPPFLAGS) $(PHP_FRAMEWORKPATH)
5+
COMMON_FLAGS = $(INCLUDES) $(EXTRA_INCLUDES) $(CPPFLAGS) $(PHP_FRAMEWORKPATH)
66

77
all: $(all_targets)
88
@echo

‎configure.ac‎

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1351,15 +1351,14 @@ LIBZEND_BASIC_CHECKS
13511351
LIBZEND_DLSYM_CHECK
13521352
LIBZEND_OTHER_CHECKS
13531353

1354-
CORE_INCLUDES="$CORE_INCLUDES -I\$(top_builddir)/main -I\$(top_builddir)"
1355-
INCLUDES="$INCLUDES -I\$(top_builddir)/TSRM"
1356-
INCLUDES="$INCLUDES -I\$(top_builddir)/Zend"
1357-
1358-
if test "$abs_srcdir" != "$abs_builddir"; then
1359-
CORE_INCLUDES="$CORE_INCLUDES -I\$(top_srcdir)/main -I\$(top_srcdir)"
1360-
INCLUDES="$INCLUDES -I\$(top_srcdir)/Zend"
1361-
INCLUDES="$INCLUDES -I\$(top_srcdir)/TSRM"
1362-
fi
1354+
PHP_ADD_INCLUDE([$abs_srcdir], [1])
1355+
PHP_ADD_INCLUDE([$abs_srcdir/main], [1])
1356+
PHP_ADD_INCLUDE([$abs_builddir], [1])
1357+
PHP_ADD_INCLUDE([$abs_builddir/main], [1])
1358+
PHP_ADD_INCLUDE([$abs_builddir/TSRM])
1359+
PHP_ADD_INCLUDE([$abs_builddir/Zend])
1360+
PHP_ADD_INCLUDE([$abs_srcdir/Zend])
1361+
PHP_ADD_INCLUDE([$abs_srcdir/TSRM])
13631362

13641363
ZEND_EXTRA_LIBS="$LIBS"
13651364
unset LIBS
@@ -1544,7 +1543,6 @@ PHP_SUBST_OLD(EXTRA_LDFLAGS)
15441543
PHP_SUBST_OLD(EXTRA_LDFLAGS_PROGRAM)
15451544
PHP_SUBST_OLD(EXTRA_LIBS)
15461545
PHP_SUBST_OLD(ZEND_EXTRA_LIBS)
1547-
PHP_SUBST_OLD(CORE_INCLUDES)
15481546
PHP_SUBST_OLD(INCLUDES)
15491547
PHP_SUBST_OLD(EXTRA_INCLUDES)
15501548
PHP_SUBST_OLD(INSTALL_IT)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /