diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 86519155..9edcfff1 100644 --- a/configure.in +++ b/configure.in @@ -484,7 +484,9 @@ if test "x$enable_debug" = "xyes"; then fi # Warnings are there for a reason -CFLAGS="$CFLAGS -Wall -Werror -ansi" +if test "x$GCC" = "xyes"; then + CFLAGS="$CFLAGS -Wall -Werror -ansi" +fi # Use gnome-doc-utils: GNOME_DOC_INIT([0.8.0]) |