diff options
-rw-r--r-- | m4/lpf-compile-warnings.m4 | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/m4/lpf-compile-warnings.m4 b/m4/lpf-compile-warnings.m4 index 626d380..4eb4c23 100644 --- a/m4/lpf-compile-warnings.m4 +++ b/m4/lpf-compile-warnings.m4 @@ -12,12 +12,7 @@ AC_DEFUN([LIBPLANFAHR_COMPILE_WARNINGS],[ AC_ARG_ENABLE([werror], AS_HELP_STRING([--enable-werror], [Use -Werror (if supported)]), [set_werror="$enableval"], - [if test -d $srcdir/.git; then - is_git_version=true - set_werror=yes - else - set_werror=no - fi]) + [set_werror=no]) # List of warnings that are not relevant / wanted |