autogen.sh

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Mar 13 13:48:01 CET 2006


Would this be an acceptable way to handle the version numbered
auto* tools from FreeBSD's ports collection ?

Index: autogen.sh
===================================================================
--- autogen.sh  (revision 43)
+++ autogen.sh  (working copy)
@@ -3,7 +3,13 @@
 # $Id$
 #
 
-aclocal
-autoheader
-automake --add-missing --copy --force --foreign
-autoconf
+set -ex
+
+aclocal || \
+       aclocal19
+autoheader || \
+       autoheader259
+automake --add-missing --copy --force --foreign || \
+       automake19 --add-missing --copy --force --foreign
+autoconf || \
+       autoconf259

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-dev mailing list