libtool-patches
[Top][All Lists]
Advanced

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

FYI: deprecate mode inference patch


From: Robert Boehne
Subject: FYI: deprecate mode inference patch
Date: Sat, 02 Nov 2002 19:52:29 -0600

Checking in...

Robert
? dont-inferr-mode.patch
Index: ltmain.in
===================================================================
RCS file: /cvsroot/libtool/libtool/ltmain.in,v
retrieving revision 1.308
diff -u -r1.308 ltmain.in
--- ltmain.in   31 Oct 2002 00:52:39 -0000      1.308
+++ ltmain.in   3 Nov 2002 02:00:38 -0000
@@ -302,6 +302,8 @@
 
   # Infer the operation mode.
   if test -z "$mode"; then
+    $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2
+    $echo "*** Future versions of Libtool will require -mode=MODE be 
specified." 1>&2
     case $nonopt in
     *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*)
       mode=link
Index: doc/libtool.texi
===================================================================
RCS file: /cvsroot/libtool/libtool/doc/libtool.texi,v
retrieving revision 1.126
diff -u -r1.126 libtool.texi
--- doc/libtool.texi    28 Oct 2002 15:38:37 -0000      1.126
+++ doc/libtool.texi    3 Nov 2002 02:00:44 -0000
@@ -1081,10 +1081,13 @@
 displayed.
 
 @item address@hidden
-Use @var{mode} as the operation mode.  By default, the operation mode is
-inferred from the @var{mode-args}.
+Use @var{mode} as the operation mode.  If not specified, an attempt is
+made to inferr the operation mode from the @var{mode-args}.  Not specifying
+the @var{mode} is currently deprecated, as there are too many situations
+where it is not possible to guess.  Future versions of Libtool will require
+that @var{mode} be explicity set.
 
-If @var{mode} is specified, it must be one of the following:
address@hidden must be set to one of the following:
 
 @table @samp
 @item compile

reply via email to

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