X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=config.m4;h=15d958c931198d587dd3cde9002e23602ac6f7fa;hb=693d9b2fa7b012575d4cee54b109264b269a3bda;hp=3967b1fe15b37ce9629874d0a6ce96690f937d5b;hpb=e6d4ae260275041fcc32f06f3487cdef6613c646;p=m6w6%2Fext-http diff --git a/config.m4 b/config.m4 index 3967b1f..15d958c 100644 --- a/config.m4 +++ b/config.m4 @@ -79,10 +79,12 @@ dnl ---- PHP_NEW_EXTENSION([http], $PHP_HTTP_SOURCES, [$ext_shared]) PHP_SUBST([HTTP_SHARED_LIBADD]) PHP_ADD_MAKEFILE_FRAGMENT - if ! test -z "$HTTP_ODD_WARNINGS"; then - CFLAGS=" -g -O2 -W -Wchar-subscripts -Wformat=2 -Wno-format-y2k -Wimplicit -Wmissing-braces -Wunused-variable -Wbad-function-cast -Wpointer-arith -Wsign-compare -Winline" - PHP_SUBST([CFLAGS]) - fi AC_DEFINE([HAVE_HTTP], [1], [Have extended HTTP support]) -fi +dnl --- +dnl odd warnings +dnl --- +dnl CFLAGS=" -g -O2 -W -Wchar-subscripts -Wformat=2 -Wno-format-y2k -Wimplicit -Wmissing-braces -Wunused-variable -Wbad-function-cast -Wpointer-arith -Wsign-compare -Winline" +dnl PHP_SUBST([CFLAGS]) + +fi