build: correctly set DISTCHECK_CONFIGURE_FLAGS
authorLubomir Rintel <lkundrak@v3.sk>
Wed, 3 Jun 2015 07:38:26 +0000 (09:38 +0200)
committerLubomir Rintel <lkundrak@v3.sk>
Wed, 3 Jun 2015 07:44:51 +0000 (09:44 +0200)
Fixes: 84021454eb0b126fda9cf29c46b7860f75c7ff8c

Makefile.am

index 2420f3b..7f66e4f 100644 (file)
@@ -36,7 +36,7 @@ DISTCHECK_CONFIGURE_FLAGS = \
        --enable-tests=yes \
        --with-valgrind=no \
        --enable-gtk-doc \
-       --enable-more-warnings=yes \
+       --enable-more-warnings=error \
        --with-udev-dir=$$dc_install_base/lib/udev \
        --with-wext=no \
        --enable-ifcfg-rh \
@@ -59,8 +59,6 @@ DISTCLEANFILES = intltool-extract intltool-merge intltool-update
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = NetworkManager.pc
 
-DISTCHECK_CONFIGURE_FLAGS = --enable-more-warnings=error
-
 CLEANFILES = cscope.in.out cscope.out cscope.po.out
 
 cscope: