From a45192e183d456b3288e466b51137e7e2a5e2cf6 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Tue, 2 Jul 2019 22:29:54 +0200 Subject: Enable option checking on CI This adds the Autoconf's --enable-option-checking=fatal option so when non existing option from the PHP's configure options is used a fatal error happens. --- travis/compile.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'travis/compile.sh') diff --git a/travis/compile.sh b/travis/compile.sh index 4f5b88e386..b03336bdc8 100755 --- a/travis/compile.sh +++ b/travis/compile.sh @@ -5,7 +5,7 @@ else TS=""; fi if [[ "$ENABLE_DEBUG" == 1 ]]; then - DEBUG="--enable-debug --without-pcre-valgrind"; + DEBUG="--enable-debug"; else DEBUG=""; fi @@ -27,6 +27,7 @@ MAKE_JOBS=${MAKE_JOBS:-2} ./buildconf --force ./configure \ +--enable-option-checking=fatal \ --prefix="$HOME"/php-install \ $CONFIG_QUIET \ $DEBUG \ @@ -46,7 +47,7 @@ $TS \ --with-freetype \ --with-xpm \ --enable-exif \ ---enable-zip \ +--with-zip \ --with-zlib \ --with-zlib-dir=/usr \ --enable-soap \ -- cgit v1.2.1