httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@locus.apache.org
Subject cvs commit: apache-2.0/src/build special.mk
Date Tue, 14 Nov 2000 12:00:44 GMT
trawick     00/11/14 04:00:44

  Modified:    src/build special.mk
  Log:
  Get "make install" to work on Tru64.
  
  With Tru64, make picks up a bad status from the child shell process
  when it evaluates the "`echo ($static) | grep 'mod_so'` (see below),
  causing make to bail out.
  
  But that grep should always fail when "make install" runs in
  modules/extra and unless we have mod_so it will fail when "make
  install" runs in modules/standard.
  
  The work-around is to explicitly ignore the exit status from the
  grep.
  
  Revision  Changes    Path
  1.8       +2 -1      apache-2.0/src/build/special.mk
  
  Index: special.mk
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/build/special.mk,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- special.mk	2000/10/05 03:44:22	1.7
  +++ special.mk	2000/11/14 12:00:44	1.8
  @@ -61,8 +61,9 @@
   install_targets = install-modules
   
   install-modules:
  +	-@has_mod_so=`echo $(static) | grep 'mod_so'`
   	@shared='$(shared)'; \
  -	if [ "x`echo $(static) | grep 'mod_so'`" != "x" ]; then \
  +	if [ "x$(has_mod_so)" != "x" ]; then \
   		$(MKINSTALLDIRS) $(libexecdir); \
   		for i in $$shared; do \
   			$(SH_LIBTOOL) --mode=install cp $$i $(libexecdir); \
  
  
  

Mime
View raw message