diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-06-01 18:35:02 +0200 |
---|---|---|
committer | Sven Nierlein <sven@nierlein.de> | 2018-10-22 16:30:31 +0200 |
commit | df5be47f84c06d2fd481439793dc86494fdc0d7a (patch) | |
tree | e8b5d1fa6df8814751e43c48c432d3866e04e303 /m4 | |
parent | 30bb78e6815ac920eb7b0e157655add49dbe1794 (diff) | |
download | monitoring-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.m4 | 4 |
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 |