]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* config/getopt.m4sh (func_version, func_usage, func_help,
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 2 Feb 2005 22:15:47 +0000 (22:15 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 2 Feb 2005 22:15:47 +0000 (22:15 +0000)
* config/ltmain.m4sh (func_mode_help, func_config, func_features):
Exit with nonzero status on write failures.

ChangeLog
config/getopt.m4sh
config/ltmain.m4sh

index cc78a21a9dd52d04889a90e8a55a7c875a81e577..838321c9e8038bdf64d6e93a713d994f5f3f7922 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2005-02-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       * config/getopt.m4sh (func_version, func_usage, func_help,
+       * config/ltmain.m4sh (func_mode_help, func_config, func_features):
+       Exit with nonzero status on write failures.
+
        * tests/sh.test: Check for preferred function definition layout.
 
 2005-02-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
index dc542af3692b663e1489626e03d645b2546b22ea..90a577fe6145cf3d2792e2d29352715c30e50e9c 100644 (file)
@@ -36,7 +36,7 @@ func_version ()
         s/\((C)\)[[ 0-9,-]]*\( [[1-9]][[0-9]]*\)/\1\2/;
         p;
      }' < "$progpath"
-     exit $EXIT_SUCCESS
+     exit $?
 }
 
 # func_usage
@@ -50,7 +50,7 @@ func_usage ()
     }' < "$progpath"
     $ECHO
     $ECHO "run \`$progname --help | more' for full usage"
-    exit $EXIT_SUCCESS
+    exit $?
 }
 
 # func_help
@@ -69,7 +69,7 @@ func_help ()
        s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/;
        p;
      }' < "$progpath"
-    exit $EXIT_SUCCESS
+    exit $?
 }
 
 # func_missing_arg argname
index e4c239fa89931d2fc697a9c870617c4a5d809d0c..f133594baadf11ece11321ac6000e5da96b693b4 100644 (file)
@@ -153,7 +153,7 @@ func_config ()
       $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath"
     done
 
-    exit $EXIT_SUCCESS
+    exit $?
 }
 
 # func_features
@@ -172,7 +172,7 @@ func_features ()
       $ECHO "disable static libraries"
     fi
 
-    exit $EXIT_SUCCESS
+    exit $?
 }
 
 # func_enable_tag tagname
@@ -393,7 +393,7 @@ Otherwise, only FILE itself is deleted using RM."
     $ECHO
     $ECHO "Try \`$progname --help' for more information about other modes."
 
-    exit $EXIT_SUCCESS
+    exit $?
 }
 
 # Parse options once, thoroughly.  This comes as soon as possible in