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 f97e8d5

Browse files
committed
Autotools: Include only php_config.h in libmbfl
This is a sync with the include style used as of PHP-8.4 to be able to do simultaneous in-source and out-of-source builds. When building with phpize there isn't any symbol used from the generated extensions's config.h but the php_config.h is needed for some preprocessor macros to be resolved properly.
1 parent 16e218a commit f97e8d5

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

‎ext/mbstring/config.m4‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -163,14 +163,8 @@ if test "$PHP_MBSTRING" != "no"; then
163163
PHP_ADD_INCLUDE([$ext_builddir/$dir])
164164
done
165165

166-
out="php_config.h"
167-
168-
if test "$ext_shared" != "no" && test -f "$ext_builddir/config.h.in"; then
169-
out="$abs_builddir/config.h"
170-
fi
171-
172166
cat > $ext_builddir/libmbfl/config.h <<EOF
173-
#include "$out"
167+
#include <main/php_config.h>
174168
EOF
175169

176170
PHP_INSTALL_HEADERS([ext/mbstring], [mbstring.h])

0 commit comments

Comments
(0)

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