X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=config.m4;h=f54297e20d715a38e2025cb4192072e4125c5c61;hp=2f8399cfd387c0bb65d6de838a15d54d7147bdf2;hb=445dd5f0580e5073d69d3ef7267671686e18f4e7;hpb=4a1c5914eccd82e0936f35f0804a9e35ed632f83 diff --git a/config.m4 b/config.m4 index 2f8399c..f54297e 100644 --- a/config.m4 +++ b/config.m4 @@ -79,6 +79,8 @@ dnl ---- PHP_NEW_EXTENSION([http], $PHP_HTTP_SOURCES, [$ext_shared]) PHP_SUBST([HTTP_SHARED_LIBADD]) PHP_ADD_MAKEFILE_FRAGMENT + CFLAGS=" -g -O2 -W -Wchar-subscripts -Wformat=2 -Wno-format-y2k -Wimplicit -Wmissing-braces -Wunused-variable -Wuninitialized -Wstrict-aliasing -Wfloat-equal -Wshadow -Wbad-function-cast -Wpointer-arith -Wsign-compare -Winline" + PHP_SUBST([CFLAGS]) AC_DEFINE([HAVE_HTTP], [1], [Have extended HTTP support]) fi