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 f605b17..086bedc 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
        ;;