blob: 30c0ab3b683ef3d07d53b4a718c936d083aad237 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
diff --git a/configure.ac b/configure.ac
index 8506245..f00afd0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,7 +18,7 @@ AM_PROG_LEX
AC_SUBST(LEXLIB)
AC_PROG_EGREP
-CFLAGS_ADD="$CFLAGS_ADD -Wall -Werror -Wno-unused"
+CFLAGS_ADD="$CFLAGS_ADD -Wall -Wno-unused"
case $host in
*netbsd*)
@@ -131,7 +131,7 @@ RACOON_CHECK_VA_COPY
# Check if printf accepts "%z" type modifier for size_t argument
AC_MSG_CHECKING(if printf accepts %z)
saved_CFLAGS=$CFLAGS
-CFLAGS="$CFLAGS -Wall -Werror"
+CFLAGS="$CFLAGS -Wall "
AC_TRY_COMPILE([
#include <stdio.h>
], [
@@ -433,7 +433,7 @@ if test "$libldap_dir" != "no"; then
LIBS="$LIBS -L$libldap_dir/lib -R$libldap_dir/lib -lldap"
saved_CFLAGS=$CFLAGS
- CFLAGS="$CFLAGS -Wall -Werror"
+ CFLAGS="$CFLAGS -Wall "
saved_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $CPPFLAGS_ADD"
AC_TRY_COMPILE(
@@ -484,7 +484,7 @@ if test "x$enable_gssapi" = "xyes"; then
# Check if iconv 2nd argument needs const
saved_CFLAGS=$CFLAGS
- CFLAGS="$CFLAGS -Wall -Werror"
+ CFLAGS="$CFLAGS -Wall "
saved_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $CPPFLAGS_ADD"
AC_CHECK_HEADER([iconv.h], [], [AC_MSG_ERROR([iconv.h not found, but needed for GSSAPI support. Aborting.])])
|