[Expat-checkins] expat buildconf.sh,1.5,1.6

gstein@users.sourceforge.net gstein@users.sourceforge.net
Thu May 9 17:11:06 2002


Update of /cvsroot/expat/expat
In directory usw-pr-cvs1:/tmp/cvs-serv17227

Modified Files:
	buildconf.sh 
Log Message:
Patch from Joe Orton <joe@manyfish.co.uk>:

Allow the environment to specify a different autoconf and autoheader.
This is useful when Expat is bundled into another program, which is
being configured using something other than the autoconf/autoheader in
the path.


Index: buildconf.sh
===================================================================
RCS file: /cvsroot/expat/expat/buildconf.sh,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** buildconf.sh	7 Dec 2001 10:19:30 -0000	1.5
--- buildconf.sh	10 May 2002 00:10:57 -0000	1.6
***************
*** 36,47 ****
  #
  echo "Creating config.h.in ..."
! autoheader
  
  echo "Creating configure ..."
  ### do some work to toss config.cache?
! autoconf
  
  # toss this; it gets created by autoconf on some systems
! rm -rf autom4te.cache
  
  # exit with the right value, so any calling script can continue
--- 36,47 ----
  #
  echo "Creating config.h.in ..."
! ${AUTOHEADER:-autoheader}
  
  echo "Creating configure ..."
  ### do some work to toss config.cache?
! ${AUTOCONF:-autoconf}
  
  # toss this; it gets created by autoconf on some systems
! rm -rf autom4te*.cache
  
  # exit with the right value, so any calling script can continue