Skip to content

Commit e1827ed

Browse files
committed
PHPC-759: Hide extension config summary for static builds
1 parent 62bb969 commit e1827ed

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

config.m4

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,9 @@ if test "$PHP_MONGODB" != "no"; then
356356
dnl This must come after PHP_NEW_EXTENSION, otherwise the srcdir won't be set
357357
PHP_ADD_MAKEFILE_FRAGMENT
358358

359-
AC_CONFIG_COMMANDS_POST([echo "
359+
AC_CONFIG_COMMANDS_POST([
360+
if test "$enable_static" = "no"; then
361+
echo "
360362
mongodb was configured with the following options:
361363
362364
Build configuration:
@@ -373,7 +375,9 @@ Build configuration:
373375
Please submit bugreports at:
374376
https://jira.mongodb.org/browse/PHPC
375377
376-
"])
378+
"
379+
fi
380+
])
377381
fi
378382

379383
dnl: vim: et sw=2

0 commit comments

Comments
 (0)