]> granicus.if.org Git - curl/commitdiff
Fixed curl-config when no features are enabled.
authorDan Fandrich <dan@coneharvesters.com>
Wed, 3 Sep 2008 19:10:48 +0000 (19:10 +0000)
committerDan Fandrich <dan@coneharvesters.com>
Wed, 3 Sep 2008 19:10:48 +0000 (19:10 +0000)
curl-config.in

index f605b17fd97bbc0c3ea1ce8afda180495bdf563a..086bedce648c0ee7a787b52012f39f490c0c4eee 100644 (file)
@@ -80,8 +80,8 @@ while test $# -gt 0; do
        ;;
 
     --feature|--features)
-        for feature in @SUPPORT_FEATURES@; do
-            echo "$feature"
+        for feature in @SUPPORT_FEATURES@ ""; do
+            test -n "$feature" && echo "$feature"
         done
        ;;