]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in: Support GNU shtool's install.
authorAlexandre Oliva <oliva@lsd.ic.unicamp.br>
Mon, 24 Jul 2000 05:43:31 +0000 (05:43 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Mon, 24 Jul 2000 05:43:31 +0000 (05:43 +0000)
ChangeLog
ltmain.in

index de7a81b179d439d3834a0b4728669945f49a02c9..e426c88f633fb64c1a37ac3debc30ea3d1a43d64 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-07-24  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>, Ralf S. Engelschall  <rse@engelschall.com>
+
+       * ltmain.in: Support GNU shtool's install.
+
 2000-07-10  Mo DeJong  <mdejong@redhat.com>
 
        * libtool.m4 (AC_PROG_NM): Fix macro so that it
index 6011207d012a0252fd7642ce371263e3b0aa2c97..946e26cb15d0da07e69a904888ccd514df9c98a8 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -3140,7 +3140,9 @@ libdir='$install_libdir'\
 
     # There may be an optional sh(1) argument at the beginning of
     # install_prog (especially on Windows NT).
-    if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh; then
+    if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
+       # Allow the use of GNU shtool's install command.
+       expr "X$nonopt" : "X.*shtool.*" > /dev/null; then
       # Aesthetically quote it.
       arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"`
       case "$arg" in