diff -rN -u old-stream-engine/configure.ac new-stream-engine/configure.ac --- old-stream-engine/configure.ac 2008-03-28 19:00:08.000000000 +0000 +++ new-stream-engine/configure.ac 2008-03-28 19:00:08.000000000 +0000 @@ -48,6 +48,11 @@ dnl decide error flags AS_COMPILER_FLAG(-Wall, ERROR_CFLAGS="-Wall", ERROR_CFLAGS="") AS_COMPILER_FLAG(-Werror, werror=yes, werror=no) + +AC_ARG_ENABLE(Werror, + AC_HELP_STRING([--disable-Werror],[compile without -Werror (normally enabled in development builds)]), + werror=$enableval, :) + AS_COMPILER_FLAG(-Wextra, wextra=yes, wextra=no) AS_COMPILER_FLAG(-Wno-missing-field-initializers, wno_missing_field_initializers=yes,