Browse code

Remove werror options from distcheck target.

Tom Judge authored on 2012/06/02 03:54:26
Showing 4 changed files
... ...
@@ -29,7 +29,7 @@ pkgconfig_DATA = libclamav.pc
29 29
 # don't complain that configuration files and databases are not removed, this is intended
30 30
 distuninstallcheck_listfiles = find . -type f ! -name clamd.conf ! -name freshclam.conf ! -name daily.cvd ! -name main.cvd -print
31 31
 DISTCLEANFILES = target.h
32
-DISTCHECK_CONFIGURE_FLAGS=--enable-milter --disable-clamav --enable-distcheck-werror --enable-all-jit-targets --enable-llvm=yes
32
+DISTCHECK_CONFIGURE_FLAGS=--enable-milter --disable-clamav --enable-all-jit-targets --enable-llvm=yes
33 33
 lcov:
34 34
 	($(MAKE); cd unit_tests; $(MAKE) lcov)
35 35
 quick-check:
... ...
@@ -352,7 +352,7 @@ pkgconfig_DATA = libclamav.pc
352 352
 # don't complain that configuration files and databases are not removed, this is intended
353 353
 distuninstallcheck_listfiles = find . -type f ! -name clamd.conf ! -name freshclam.conf ! -name daily.cvd ! -name main.cvd -print
354 354
 DISTCLEANFILES = target.h
355
-DISTCHECK_CONFIGURE_FLAGS = --enable-milter --disable-clamav --enable-distcheck-werror --enable-all-jit-targets --enable-llvm=yes
355
+DISTCHECK_CONFIGURE_FLAGS = --enable-milter --disable-clamav --enable-all-jit-targets --enable-llvm=yes
356 356
 all: clamav-config.h
357 357
 	$(MAKE) $(AM_MAKEFLAGS) all-recursive
358 358
 
... ...
@@ -28,9 +28,6 @@
28 28
 ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
29 29
 #####
30 30
 
31
-# ClamAV: filter -Werror here
32
-CFLAGS=`echo "@CFLAGS@" | sed -e 's/-Werror[^=-]//'`
33
-
34 31
 ACLOCAL_AMFLAGS = -I m4
35 32
 AUTOMAKE_OPTIONS = foreign
36 33
 AM_CPPFLAGS =
... ...
@@ -140,6 +137,12 @@ CLEANFILES		       += libltdl.la \
140 140
 CLEANFILES	       += $(ltdl_LIBOBJS) $(ltdl_LTLIBOBJS)
141 141
 
142 142
 EXTRA_DIST	       += COPYING.LIB \
143
+			   \
144
+			   \
145
+			   \
146
+			   \
147
+			   \
148
+			   \
143 149
 			  README
144 150
 
145 151
 ## --------------------------- ##
... ...
@@ -154,7 +157,6 @@ EXTRA_DIST	+= argz_.h \
154 154
 # doesn't have one that works with the given compiler.
155 155
 all-local $(lib_OBJECTS): $(ARGZ_H)
156 156
 argz.h: argz_.h
157
-	$(mkinstalldirs) . 
158 157
 	cp $(srcdir)/argz_.h $@-t
159 158
 	mv $@-t $@
160 159
 MOSTLYCLEANFILES += argz.h \
... ...
@@ -201,9 +201,7 @@ BUILD_CONFIGURE_FLAGS = @BUILD_CONFIGURE_FLAGS@
201 201
 CC = @CC@
202 202
 CCDEPMODE = @CCDEPMODE@
203 203
 CFGDIR = @CFGDIR@
204
-
205
-# ClamAV: filter -Werror here
206
-CFLAGS = `echo "@CFLAGS@" | sed -e 's/-Werror[^=-]//'`
204
+CFLAGS = @CFLAGS@
207 205
 CHECK_CPPFLAGS = @CHECK_CPPFLAGS@
208 206
 CHECK_LIBS = @CHECK_LIBS@
209 207
 CLAMAVGROUP = @CLAMAVGROUP@
... ...
@@ -962,7 +960,6 @@ uninstall-am: uninstall-includeHEADERS uninstall-libLTLIBRARIES \
962 962
 # doesn't have one that works with the given compiler.
963 963
 all-local $(lib_OBJECTS): $(ARGZ_H)
964 964
 argz.h: argz_.h
965
-	$(mkinstalldirs) . 
966 965
 	cp $(srcdir)/argz_.h $@-t
967 966
 	mv $@-t $@
968 967