diff options
author | Karl Berry <karl@freefriends.org> | 2010-08-13 07:16:10 -0700 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-08-13 07:16:10 -0700 |
commit | a2c2ba90cc40932a38c6cf93e15bf2bdf82d6c4f (patch) | |
tree | 754f371eeb792c6721f378a56ff291b794bddedf /build-aux/ar-lib | |
parent | 580effc9a799bd5c5b0d0ffb1830dffb76842c7e (diff) | |
download | gnulib-a2c2ba90cc40932a38c6cf93e15bf2bdf82d6c4f.tar.gz |
autoupdate
Diffstat (limited to 'build-aux/ar-lib')
-rwxr-xr-x | build-aux/ar-lib | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/build-aux/ar-lib b/build-aux/ar-lib index aa4acbdaa0..ef03430372 100755 --- a/build-aux/ar-lib +++ b/build-aux/ar-lib @@ -2,7 +2,7 @@ # Wrapper for Microsoft lib.exe me=ar-lib -scriptversion=2010-08-08.07; # UTC +scriptversion=2010-08-12.16; # UTC # Copyright (C) 2010 Free Software # Foundation, Inc. @@ -121,8 +121,28 @@ fi AR=$1 shift -action=$1 -shift +while : +do + if test $# -lt 2; then + func_error "you must specify a program, an action and an archive" + fi + case $1 in + -lib | -LIB \ + | -ltcg | -LTCG \ + | -machine* | -MACHINE* \ + | -subsystem* | -SUBSYSTEM* \ + | -verbose | -VERBOSE \ + | -wx* | -WX* ) + AR="$AR $1" + shift + ;; + *) + action=$1 + shift + break + ;; + esac +done orig_archive=$1 shift func_file_conv "$orig_archive" |