httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gst...@locus.apache.org
Subject cvs commit: apache-2.0/src/build build2.mk
Date Sun, 02 Jul 2000 00:16:28 GMT
gstein      00/07/01 17:16:27

  Modified:    src/build build2.mk
  Log:
  filter out the warning that AC_TRY_RUN gives us while running the
      AC_C_BIGENDIAN macro. we've already handled the cross-compile case,
      so we don't need to see the message
  
  Submitted by: idea from Sascha Schumann
  
  Revision  Changes    Path
  1.16      +8 -2      apache-2.0/src/build/build2.mk
  
  Index: build2.mk
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/build/build2.mk,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- build2.mk	2000/06/28 16:31:02	1.15
  +++ build2.mk	2000/07/02 00:16:27	1.16
  @@ -74,6 +74,8 @@
   
   targets = .deps aclocal.m4 $(APACHE_TARGETS) $(APR_TARGETS) $(PCRE_TARGETS)
   
  +cross_compile_warning = "warning: AC_TRY_RUN called without default to allow cross compiling"
  +
   all: $(targets)
   
   .deps:
  @@ -93,7 +95,9 @@
   # correctly otherwise (timestamps are not updated)
   	@echo rebuilding $@
   	@rm -f $@
  -	autoheader
  +	### the grep exits with (1), stopping the make... is there a way
  +	### to preserve autoheader's exit across the grep?
  +	-autoheader 2>&1 | grep -v $(cross_compile_warning)
   
   $(TOUCH_FILES):
   	touch $(TOUCH_FILES)
  @@ -101,7 +105,9 @@
   configure: aclocal.m4 configure.in $(config_m4_files)
   	@echo rebuilding $@
   	rm -f config.cache
  -	autoconf
  +	### the grep exits with (1), stopping the make... is there a way
  +	### to preserve autoconf's exit across the grep?
  +	-autoconf 2>&1 | grep -v $(cross_compile_warning)
   
   $(apr_private.h_in): $(apr_configure) lib/apr/acconfig.h
   	@echo rebuilding $@
  
  
  

Mime
View raw message