[Expat-checkins] expat Makefile.in,1.33,1.34 buildconf.sh,1.7,1.8

gstein@users.sourceforge.net gstein@users.sourceforge.net
Sat Jun 1 15:30:27 2002


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

Modified Files:
	Makefile.in buildconf.sh 
Log Message:
Work on fixing bug #462960

* add Apache's version of config.guess and config.sub, which are both
  recent, and have some helpful mods

* buildconf.sh: tweak call to libtoolize to avoid overwriting the above

* conftools/.cvsignore: the new files are supposed to be there

* Makefile.in: tweak to use $(prefix) for the manual page so that it
  picks up install-time prefix changes. tossed an old comment. tweak
  the 'extraclean' rule to avoid tossing the added config.* files.



Index: Makefile.in
===================================================================
RCS file: /cvsroot/expat/expat/Makefile.in,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- Makefile.in	31 May 2002 15:51:21 -0000	1.33
+++ Makefile.in	1 Jun 2002 22:29:30 -0000	1.34
@@ -17,16 +17,6 @@
 # TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
 # SOFTWARE OR THE USE OR OTHER DEALINGS IN EXPAT.
 #
-#  ---
-#  I started using automake, but
-#		1) it seemed like overkill
-#		2) I don't want all the GNU policies
-#		3) I wanted more explicit control over what gets built
-#
-#  So I'm doing my Makefile.in files manually. But a fair part is based
-#  on what I learned from perusing the Makefile.in's generated by automake,
-#  and the automake authors still get my kudos.
-#
 
 SHELL = @SHELL@
 
@@ -40,7 +30,7 @@
 bindir = @bindir@
 libdir = @libdir@
 includedir = @includedir@
-mandir = @prefix@/man/man1
+mandir = ${prefix}/man/man1
 
 top_builddir = .
 
@@ -72,7 +62,6 @@
 
 extraclean: distclean
 	rm -f expat_config.h.in configure
-	rm -f conftools/config.guess conftools/config.sub
 	rm -f conftools/ltconfig conftools/ltmain.sh
 
 check: tests/runtests

Index: buildconf.sh
===================================================================
RCS file: /cvsroot/expat/expat/buildconf.sh,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- buildconf.sh	17 May 2002 21:38:44 -0000	1.7
+++ buildconf.sh	1 Jun 2002 22:29:30 -0000	1.8
@@ -14,13 +14,18 @@
     exit 1
 fi
 
+# Remove any libtool files so one can switch between libtool 1.3
+# and libtool 1.4 by simply rerunning the buildconf script.
+(cd conftools/; rm -f ltmain.sh ltconfig)
+
+#
+# Note: we don't use --force (any more) since we have a special
+# config.guess/config.sub that we want to ensure is used.
 #
-# --force to ensure that we replace with current files
 # --copy to avoid symlinks; we want originals for the distro
 # --automake to make it shut up about "things to do"
 #
-(cd conftools/; rm -f ltmain.sh ltconfig)
-$libtoolize --force --copy --automake
+$libtoolize --copy --automake
 
 ltpath=`dirname $libtoolize`
 ltfile=`cd $ltpath/../share/aclocal ; pwd`/libtool.m4