summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-06-01 18:35:02 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-06-01 18:35:02 +0200
commitd31df38777e2f6b2056361eee771b705370b30d5 (patch)
tree6bc291acd00c1924d0348c6aaf933d4aa62e8b32
parent25a2205f7ab4037c5b63f3af3b1533e0b472327f (diff)
downloadmonitoring-plugins-d31df38.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],
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