Browse Source

more intial fixes

darwin-pinnedpubkey
Daniel Stenberg 22 years ago
parent
commit
28a9108257
  1. 14
      curl-config.in

14
curl-config.in

@ -30,20 +30,16 @@ if test $# -eq 0; then @@ -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
;;

Loading…
Cancel
Save