libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: small error message cleanup


From: Ralf Wildenhues
Subject: FYI: small error message cleanup
Date: Fri, 12 Aug 2005 22:08:08 +0200
User-agent: Mutt/1.5.9i

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  <address@hidden>

        * 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}/"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]