100-autoconf-fixes.patch 541 B

1234567891011121314151617
  1. --- a/configure.in
  2. +++ b/configure.in
  3. @@ -11,14 +11,6 @@ AM_INIT_AUTOMAKE(snort,2.9.7.2)
  4. NO_OPTIMIZE="no"
  5. ADD_WERROR="no"
  6. -# Test for -Werror and sed it out for now since some of the auto tests,
  7. -# for example AC_CHECK_LIB, will fail because of
  8. -# warning: conflicting types for built-in function <func>
  9. -if eval "echo $CFLAGS | grep -e -Werror"; then
  10. - CFLAGS=`echo $CFLAGS | sed -e "s/-Werror//g"`
  11. - ADD_WERROR="yes"
  12. -fi
  13. -
  14. # Disable annoying practice of recursively re-running the autotools
  15. AM_MAINTAINER_MODE
  16. AC_PROG_CC_STDC