Skip to content

Commit

Permalink
more intial fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bagder committed Apr 17, 2001
1 parent d1b0b08 commit 28a9108
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions curl-config.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
;;
Expand Down

0 comments on commit 28a9108

Please sign in to comment.