summaryrefslogtreecommitdiffstats
path: root/src/external
diff options
context:
space:
mode:
Diffstat (limited to 'src/external')
-rw-r--r--src/external/libhttp_parser.m47
1 files changed, 6 insertions, 1 deletions
diff --git a/src/external/libhttp_parser.m4 b/src/external/libhttp_parser.m4
index 34c41e8b1..a02cd8270 100644
--- a/src/external/libhttp_parser.m4
+++ b/src/external/libhttp_parser.m4
@@ -9,7 +9,12 @@ AS_IF([test x"$found_http_parser" != xyes],
[AC_CHECK_LIB([http_parser_strict],
[http_parser_init],
[HTTP_PARSER_LIBS="-L$sss_extra_libdir -lhttp_parser_strict"],
- [AC_MSG_ERROR([libhttp_parser_strict missing http_parser_init])],
+ [AC_CHECK_LIB([http_parser],
+ [http_parser_init],
+ [HTTP_PARSER_LIBS="-L$sss_extra_libdir -lhttp_parser"],
+ [AC_MSG_ERROR([libhttp_parser missing http_parser_init])],
+ [-L$sss_extra_libdir -lhttp_parser])
+ ],
[-L$sss_extra_libdir -lhttp_parser_strict])],
[AC_MSG_ERROR([http_parser header files are not installed])])]
)