This patch I've applied to HEAD and branch-2-0 turns slightly ugly
$ ./libtool foo
libtool: : error: you must specify a MODE.
into nice
$ ./libtool foo
libtool: error: you must specify a MODE.
Cheers,
Ralf
2005-08-12 Ralf Wildenhues <[EMAIL PROTECTED]>
* config/ltmain.m4sh (mode): Do not initialize, for nicer error
messages.
Index: config/ltmain.m4sh
===================================================================
RCS file: /cvsroot/libtool/libtool/config/ltmain.m4sh,v
retrieving revision 1.81
diff -u -r1.81 ltmain.m4sh
--- config/ltmain.m4sh 8 Aug 2005 12:03:52 -0000 1.81
+++ config/ltmain.m4sh 12 Aug 2005 20:04:34 -0000
@@ -105,12 +105,11 @@
exit $EXIT_SUCCESS
fi
-default_mode=
magic="%%%MAGIC variable%%%"
# Global variables.
-mode=$default_mode
+# $mode is unset
nonopt=
execute_dlfiles=
lo2o="s/\\.lo\$/.${objext}/"