Mailing List Archive

autogen.sh
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.
autogen.sh [ In reply to ]
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.