X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=configure.ac;h=8ef9fc83be0cf6ce1dcdfce4078150fd2b09791f;hp=6876829dbdb78c1d5257d9d6afecfa79a01dae22;hb=06a86a60a7dabc685bdbd81ce3d36ea5f7e2c2d4;hpb=ec4062feac1b0b315a0394d7bb6efdf1875fffe7 diff --git a/configure.ac b/configure.ac index 6876829d..8ef9fc83 100644 --- a/configure.ac +++ b/configure.ac @@ -766,10 +766,7 @@ AC_CHECK_FUNCS_ONCE([ \ AC_FUNC_STRERROR_R SAVE_CFLAGS="$CFLAGS" -# Emulate behavior of src/Makefile.am -if test "x$GCC" = "xyes"; then - CFLAGS="$CFLAGS -Wall -Werror" -fi +CFLAGS="-Wall -Werror" AC_CACHE_CHECK([for strtok_r], [c_cv_have_strtok_r_default],