aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Andreas Baumann <mail@andreasbaumann.cc> 2018-06-01 18:35:02 +0200
committerGravatar Sven Nierlein <sven@nierlein.de> 2018-10-22 16:30:31 +0200
commitdf5be47f84c06d2fd481439793dc86494fdc0d7a (patch)
treee8b5d1fa6df8814751e43c48c432d3866e04e303
parent30bb78e6815ac920eb7b0e157655add49dbe1794 (diff)
downloadmonitoring-plugins-df5be47f84c06d2fd481439793dc86494fdc0d7a.tar.gz
check-curl: have some fallbacks ready if pkg-config is missing for uriparser tests
-rw-r--r--m4/uriparser.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/m4/uriparser.m4 b/m4/uriparser.m4
index 7fb25d65..dc404738 100644
--- a/m4/uriparser.m4
+++ b/m4/uriparser.m4
@@ -73,6 +73,10 @@ AC_DEFUN([URIPARSER_CHECK],
fi
unset _uriparser_wanted
+ else
+ dnl no pkg-config, ok, to our best and set some defaults
+ URIPARSER_CPPFLAGS="-I/usr/include"
+ URIPARSER="-luriparser -L/usr/lib -L/usr/lib64 -L/usr/lib/x86_64-linux-gnu -L/usr/lib/i686-linux-gnu"
fi
if test $_uriparser_try_link = yes ; then