diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index bf129956..04ec5bde 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -385,6 +385,20 @@ if test "$ac_cv_header_wtsapi32_h" = "yes"; then | |||
385 | AC_SUBST(WTSAPI32LIBS) | 385 | AC_SUBST(WTSAPI32LIBS) |
386 | fi | 386 | fi |
387 | 387 | ||
388 | dnl Check for cURL library | ||
389 | LIBCURL_CHECK_CONFIG(yes, 7.15.2, [ | ||
390 | EXTRAS="$EXTRAS check_curl\$(EXEEXT)" | ||
391 | LIBCURLINCLUDE="$LIBCURL_CPPFLAGS" | ||
392 | LIBCURLLIBS="$LIBCURL" | ||
393 | LIBCURLCFLAGS="$LIBCURL_CPPFLAGS" | ||
394 | AC_SUBST(LIBCURLINCLUDE) | ||
395 | AC_SUBST(LIBCURLLIBS) | ||
396 | AC_SUBST(LIBCURLCFLAGS) | ||
397 | ], [ | ||
398 | AC_MSG_WARN([Skipping curl plugin]) | ||
399 | AC_MSG_WARN([install libcurl libs to compile this plugin (see REQUIREMENTS).]) | ||
400 | ]) | ||
401 | |||
388 | dnl Fallback to who(1) if the system doesn't provide an utmpx(5) interface | 402 | dnl Fallback to who(1) if the system doesn't provide an utmpx(5) interface |
389 | if test "$ac_cv_header_utmpx_h" = "no" -a "$ac_cv_header_wtsapi32_h" = "no" | 403 | if test "$ac_cv_header_utmpx_h" = "no" -a "$ac_cv_header_wtsapi32_h" = "no" |
390 | then | 404 | then |
@@ -1882,4 +1896,5 @@ ACX_FEATURE([enable],[perl-modules]) | |||
1882 | ACX_FEATURE([with],[cgiurl]) | 1896 | ACX_FEATURE([with],[cgiurl]) |
1883 | ACX_FEATURE([with],[trusted-path]) | 1897 | ACX_FEATURE([with],[trusted-path]) |
1884 | ACX_FEATURE([enable],[libtap]) | 1898 | ACX_FEATURE([enable],[libtap]) |
1899 | ACX_FEATURE([with],[libcurl]) | ||
1885 | 1900 | ||