summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-06-01 16:35:02 (GMT)
committerSven Nierlein <sven@nierlein.de>2018-10-22 14:30:31 (GMT)
commitdf5be47f84c06d2fd481439793dc86494fdc0d7a (patch)
treee8b5d1fa6df8814751e43c48c432d3866e04e303 /m4
parent30bb78e6815ac920eb7b0e157655add49dbe1794 (diff)
downloadmonitoring-plugins-df5be47f84c06d2fd481439793dc86494fdc0d7a.tar.gz
check-curl: have some fallbacks ready if pkg-config is missing for uriparser tests
Diffstat (limited to 'm4')
-rw-r--r--m4/uriparser.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/m4/uriparser.m4 b/m4/uriparser.m4
index 7fb25d6..dc40473 100644
--- a/m4/uriparser.m4
+++ b/m4/uriparser.m4
@@ -73,6 +73,10 @@ AC_DEFUN([URIPARSER_CHECK],
73 fi 73 fi
74 74
75 unset _uriparser_wanted 75 unset _uriparser_wanted
76 else
77 dnl no pkg-config, ok, to our best and set some defaults
78 URIPARSER_CPPFLAGS="-I/usr/include"
79 URIPARSER="-luriparser -L/usr/lib -L/usr/lib64 -L/usr/lib/x86_64-linux-gnu -L/usr/lib/i686-linux-gnu"
76 fi 80 fi
77 81
78 if test $_uriparser_try_link = yes ; then 82 if test $_uriparser_try_link = yes ; then