configure: AC_HEADER_ASSERT
authorMichael Wallner <mike@php.net>
Fri, 21 Oct 2016 10:54:21 +0000 (12:54 +0200)
committerMichael Wallner <mike@php.net>
Fri, 21 Oct 2016 10:54:21 +0000 (12:54 +0200)
config.m4

index cece1cb375ff8a2cf7fd37e34f6501680c2af192..2c7af0b58cbe2d0fec1d7534000c0f0da53b6370 100644 (file)
--- a/config.m4
+++ b/config.m4
@@ -58,6 +58,8 @@ if test "$PHP_PSI" != no; then
        PHP_ARG_WITH(psi-libffi, where to find libffi,
        [  --with-psi-libffi=DIR   PSI: path to libffi], [ ], [ ])
 
+       AC_HEADER_ASSERT dnl # adds --disable-assert to define NDEBUG
+       
        psi_save_LIBS=$LIBS
        LIBS=