diff options
| author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-06-01 18:35:02 +0200 |
|---|---|---|
| committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-06-01 18:35:02 +0200 |
| commit | d31df38777e2f6b2056361eee771b705370b30d5 (patch) | |
| tree | 6bc291acd00c1924d0348c6aaf933d4aa62e8b32 /m4/uriparser.m4 | |
| parent | 25a2205f7ab4037c5b63f3af3b1533e0b472327f (diff) | |
| download | monitoring-plugins-d31df38.tar.gz | |
check-curl: have some fallbacks ready if pkg-config is missing for uriparser tests
Diffstat (limited to 'm4/uriparser.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 |
