Merge branch 'pull/collectd-4.1' into collectd-4.1
authorFlorian Forster <octo@huhu.verplant.org>
Wed, 26 Sep 2007 15:18:31 +0000 (17:18 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Wed, 26 Sep 2007 15:18:31 +0000 (17:18 +0200)
1  2 
configure.in

diff --cc configure.in
@@@ -770,14 -770,15 +770,16 @@@ AC_ARG_WITH(libcurl, [AS_HELP_STRING([-
        then
                with_libcurl="yes"
        else
 -              if test -x "$withval"
 +              if test -f "$withval" && test -x "$withval"
                then
                        with_curl_config="$withval"
+                       with_libcurl="yes"
                else if test -x "$withval/bin/curl-config"
                then
                        with_curl_config="$withval/bin/curl-config"
+                       with_libcurl="yes"
                fi; fi
 +              with_libcurl="yes"
        fi; fi
  ],
  [