mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-01-13 13:41:27 +00:00
e13f02d8b6
Fix regression introduced in eb846ed8
when curl detection was changed
from AC_CHECK_HEADER() to pkg-config.
15 lines
399 B
Plaintext
15 lines
399 B
Plaintext
dnl
|
|
dnl Check for libcurl
|
|
dnl
|
|
|
|
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=""
|
|
CURL_LIBS=""
|
|
fi
|