]> granicus.if.org Git - curl/commitdiff
runtests: detect 'ares' better
authorDaniel Stenberg <daniel@haxx.se>
Wed, 5 Feb 2014 22:36:16 +0000 (23:36 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 5 Feb 2014 22:36:16 +0000 (23:36 +0100)
... caused false detections of the threaded resolver otherwise

tests/runtests.pl

index 65096948d4fe20c860afa2420744703214a90b97..c29aeaf52528be1e88254e5bd2c48222556586c0 100755 (executable)
@@ -2349,7 +2349,7 @@ sub checksystem {
                $has_darwinssl=1;
                $ssllib="DarwinSSL";
            }
-           elsif ($libcurl =~ /ares/i) {
+           if ($libcurl =~ /ares/i) {
                $has_cares=1;
                $resolver="c-ares";
            }