Build system: define HAVE_CURL_EASY_H it curl is found via pkg-config

Fix regression introduced in eb846ed8 when curl detection was changed
from AC_CHECK_HEADER() to pkg-config.
This commit is contained in:
Moritz Bunkus 2011-10-23 20:23:10 +02:00
parent 8be471834f
commit e13f02d8b6

View File

@ -6,6 +6,7 @@ PKG_CHECK_MODULES([CURL], [libcurl], [curl_found=yes])
if test "$curl_found" = "yes"; then
opt_features_yes="$opt_features_yes\n * online update checks (via libcurl)"
AC_DEFINE(HAVE_CURL_EASY_H, 1, [define if libcurl is found via pkg-config])
else
opt_features_no="$opt_features_no\n * online update checks (via libcurl)"
CURL_CFLAGS=""