projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1b0b08
)
more intial fixes
author
Daniel Stenberg
<daniel@haxx.se>
Tue, 17 Apr 2001 12:37:38 +0000
(12:37 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Tue, 17 Apr 2001 12:37:38 +0000
(12:37 +0000)
curl-config.in
patch
|
blob
|
history
diff --git
a/curl-config.in
b/curl-config.in
index
1bb9c9b
..
1f396fa
100644
(file)
--- 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
;;