diff options
author | Sven Nierlein <sven@nierlein.de> | 2018-10-24 08:09:02 (GMT) |
---|---|---|
committer | Sven Nierlein <sven@nierlein.de> | 2018-10-24 08:09:02 (GMT) |
commit | b2f7eca374577b3982e6242376b812c0088ba7ef (patch) | |
tree | 515da3303cafa2bc6b54105b57b3e6527bdb3848 /configure.ac | |
parent | 4ec057d89a406a3e40b9baf72d3df4c81637b7c8 (diff) | |
download | monitoring-plugins-b2f7eca374577b3982e6242376b812c0088ba7ef.tar.gz |
check_curl: fix builds if curl is not enabled
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 3b5ca6b..d50e4e9 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -420,8 +420,7 @@ if test x$_can_enable_check_curl = xyes; then | |||
420 | EXTRAS="$EXTRAS check_curl\$(EXEEXT)" | 420 | EXTRAS="$EXTRAS check_curl\$(EXEEXT)" |
421 | fi | 421 | fi |
422 | AM_CONDITIONAL([WITH_CHECK_CURL], [test "$_can_enable_check_curl" = "yes"]) | 422 | AM_CONDITIONAL([WITH_CHECK_CURL], [test "$_can_enable_check_curl" = "yes"]) |
423 | AM_COND_IF([WITH_CHECK_CURL], | 423 | AC_CONFIG_FILES([plugins/picohttpparser/Makefile]) |
424 | [AC_CONFIG_FILES([plugins/picohttpparser/Makefile])]) | ||
425 | 424 | ||
426 | dnl Fallback to who(1) if the system doesn't provide an utmpx(5) interface | 425 | dnl Fallback to who(1) if the system doesn't provide an utmpx(5) interface |
427 | if test "$ac_cv_header_utmpx_h" = "no" -a "$ac_cv_header_wtsapi32_h" = "no" | 426 | if test "$ac_cv_header_utmpx_h" = "no" -a "$ac_cv_header_wtsapi32_h" = "no" |