[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: ./bootstrap --help
From: |
Ralf Wildenhues |
Subject: |
FYI: ./bootstrap --help |
Date: |
Sun, 20 Nov 2005 10:15:19 +0100 |
User-agent: |
Mutt/1.5.9i |
Hi Eric,
* Eric Blake wrote on Fri, Nov 18, 2005 at 03:34:25AM CET:
> Inspired by GNU coding standards, and by the example of CVS tar,
> I propose patching bootstrap to be a little friendlier. I didn't know
> what would make a good --version, so that is left for someone else
> to provide.
Yuck. This script keeps growing. :-(
But I agree that it's useful info to have.
I have applied the patch below, which conveys more or less the same
information, a bit differently. Let me know if you have any issues
with this. (I don't think we need to check $# before using $1.)
Cheers, and thank you,
Ralf
2005-11-20 Eric Blake <address@hidden>,
Ralf Wildenhues <address@hidden>
* bootstrap (--help): Provide some help.
Index: bootstrap
===================================================================
RCS file: /cvsroot/libtool/libtool/bootstrap,v
retrieving revision 1.72
diff -u -r1.72 bootstrap
--- bootstrap 26 Oct 2005 14:26:35 -0000 1.72
+++ bootstrap 20 Nov 2005 09:12:09 -0000
@@ -37,6 +37,19 @@
: ${MAKEINFO=makeinfo}
: ${WORKING_LIBOBJ_SUPPORT=false}
+case $1 in
+--help|-h*)
+ cat <<EOF
+`echo $0 | sed 's,^.*/,,g'`: This script is designed to bootstrap a fresh CVS
checkout
+of Libtool. Useful environment variable settings:
+ reconfdirs='. libltdl' Do not bootstrap the old test suite.
+ WORKING_LIBOBJ_SUPPORT=: Declare that you have fixed LIBOBJDIR support
+ in autoconf (> 2.59) and automake (> 1.9.6).
+EOF
+ exit
+ ;;
+esac
+
test -f ./configure.ac || {
echo "bootstrap: can't find ./configure.ac, please rerun from top_srcdir"
exit 1