diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-04-17 12:37:38 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-04-17 12:37:38 +0000 |
commit | 28a91082573353628d94935d84a12388995b8904 (patch) | |
tree | 86d0b7c3ad912a72b334ababef5f00282d811dfd | |
parent | d1b0b08ba09a2cb2737644593ea3f7c4f858d2dc (diff) | |
download | curl-28a91082573353628d94935d84a12388995b8904.tar.gz |
more intial fixes
-rw-r--r-- | curl-config.in | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/curl-config.in b/curl-config.in index 1bb9c9b29..1f396fa2a 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 ;; |