From: Daniel Stenberg Date: Tue, 17 Apr 2001 12:37:38 +0000 (+0000) Subject: more intial fixes X-Git-Tag: curl-7_7_2~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28a91082573353628d94935d84a12388995b8904;p=thirdparty%2Fcurl.git more intial fixes --- diff --git a/curl-config.in b/curl-config.in index 1bb9c9b29f..1f396fa2a6 100644 --- a/curl-config.in +++ b/curl-config.in @@ -30,20 +30,16 @@ if test $# -eq 0; then usage 1 fi -cflags=false -libs=false - while test $# -gt 0; do case "$1" in - -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;; - *) optarg= ;; + # this deals with options in the style + # --option=value and extracts the value part + # [not currently used] + -*=*) value=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;; + *) value= ;; esac case "$1" in - --prefix=*) - prefix=$optarg - ;; - --prefix) echo $prefix ;;