Mercurial > hg > octave-kai > gnulib-hg
changeset 13548:070c6a6dbaa2
autoupdate
author | Karl Berry <karl@freefriends.org> |
---|---|
date | Fri, 13 Aug 2010 07:16:10 -0700 |
parents | d92a9ab3d30b |
children | bb0ceefd22dc |
files | build-aux/ar-lib |
diffstat | 1 files changed, 23 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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 @@ 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"