From: Michael R. <mr...@us...> - 2004-01-14 01:24:21
|
Update of /cvsroot/wigwam/wigwam-base/bin-scripts In directory sc8-pr-cvs1:/tmp/cvs-serv12707 Modified Files: projectctl Log Message: Allow new style "configure.ac" as well as traditional "configure.in" when scanning for libtool usage. Index: projectctl =================================================================== RCS file: /cvsroot/wigwam/wigwam-base/bin-scripts/projectctl,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- projectctl 23 Jun 2003 03:31:53 -0000 1.9 +++ projectctl 14 Jan 2004 01:24:17 -0000 1.10 @@ -98,11 +98,15 @@ configure) . "$PLAYPEN_ROOT/ext/bin/load-config" uses_libtool=0 - if test -r "$PLAYPEN_ROOT/src/configure.in" ; then - if $fgrep -q LIBTOOL "$PLAYPEN_ROOT/src/configure.in" ; then - uses_libtool=1 + + for file in configure.in configure.ac ; do + if test -r "$PLAYPEN_ROOT/src/$file" ; then + if $fgrep -q LIBTOOL "$PLAYPEN_ROOT/src/$file" ; then + uses_libtool=1 + fi + break fi - fi + done # Helpful definition for writiing bootstrap/autogen.sh scripts # which work with and without wigwam. |