]> granicus.if.org Git - php/commitdiff
Enable option checking on CI
authorPeter Kokot <peterkokot@gmail.com>
Tue, 2 Jul 2019 20:29:54 +0000 (22:29 +0200)
committerJoe Watkins <krakjoe@php.net>
Wed, 3 Jul 2019 06:16:31 +0000 (08:16 +0200)
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.

azure/i386/job.yml
azure/job.yml
azure/macos/job.yml
azure/msan_job.yml
travis/compile.sh

index 09bca0918e6409276eb5c811a6fa5334bedc251b..1183906fce72e697fe973814d79463a1c1630832 100644 (file)
@@ -15,6 +15,7 @@ jobs:
         export LDFLAGS=-L/usr/lib/i386-linux-gnu
         export PKG_CONFIG=/usr/bin/i686-linux-gnu-pkg-config
         ./configure ${{ parameters.configurationParameters }} \
+            --enable-option-checking=fatal \
             --prefix=/usr \
             --enable-phpdbg \
             --enable-fpm \
index 646faed75597558b745bc32fe6317fad82bd4fc0..994ccf0981edebf14fdfce01570c29b825029136 100644 (file)
@@ -14,6 +14,7 @@ jobs:
     - script: |
         ./buildconf --force
         ./configure ${{ parameters.configurationParameters }} \
+            --enable-option-checking=fatal \
             --prefix=/usr \
             --enable-phpdbg \
             --enable-fpm \
index a69a643e8aeb08c9952f6dec025acf051a69ef00..2d656ec15c6dd051320d0d090c6935572e96d9f4 100644 (file)
@@ -19,6 +19,7 @@ jobs:
         export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/icu4c/lib/pkgconfig"
         ./buildconf --force
         ./configure ${{ parameters.configurationParameters }} \
+            --enable-option-checking=fatal \
             --prefix=/usr/local \
             --disable-phpdbg \
             --enable-fpm \
index bae65e018e8bde7f687d83b0dfce78eb336f174b..28dcae3f885a109a915d9fbe082368eea4d78a52 100644 (file)
@@ -20,6 +20,7 @@ jobs:
         # msan requires all used libraries to be instrumented,
         # so we should avoiding linking against anything but libc here
         ./configure ${{ parameters.configurationParameters }} \
+            --enable-option-checking=fatal \
             --prefix=/usr \
             --without-sqlite3 \
             --without-pdo-sqlite \
index 4f5b88e38647d802637aae848dddbb559c4024bd..b03336bdc8c9dbbe8d5e6d182510e679f643a891 100755 (executable)
@@ -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 \