aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Slaven <bpk@hoopajoo.net>2019-11-25 04:24:43 (GMT)
committerSteve Slaven <bpk@hoopajoo.net>2019-11-25 04:24:43 (GMT)
commit8f9ea7adca4916e83f329e5be3443e08387ca8f9 (patch)
treed85735171042075b5eebf828feda5d51c8ea9c6f
parentcae95a6efb8cf2b842c04e805d3a2de728d63ec6 (diff)
downloadpowwow-8f9ea7adca4916e83f329e5be3443e08387ca8f9.zip
powwow-8f9ea7adca4916e83f329e5be3443e08387ca8f9.tar.gz
powwow-8f9ea7adca4916e83f329e5be3443e08387ca8f9.tar.bz2
fix linking pcreposix during buildv1.2.21
-rw-r--r--configure.ac10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 0c4381e..7a3efeb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -137,14 +137,14 @@ else
AC_DEFINE(USE_REGEXP)
if test "x${enable_regex_using}" = "xpcreposix"; then
- AC_CHECK_LIB(pcreposix, regcomp,
- AC_MSG_RESULT([Using pcreposix regcomp])
- AC_DEFINE(USE_REGEXP_PCREPOSIX),
+ AC_MSG_RESULT([Using pcreposix regcomp])
+ AC_DEFINE(USE_REGEXP_PCREPOSIX)
+ AC_CHECK_LIB(pcreposix,regcomp,,
AC_MSG_ERROR([*** pcreposix library not found])
)
elif test "x${enable_regex_using}" = "xlibc"; then
- AC_CHECK_FUNC(regcomp,
- AC_MSG_RESULT([Using libc regcomp]),
+ AC_MSG_RESULT([Using libc regcomp])
+ AC_CHECK_FUNC(regcomp,,
AC_MSG_ERROR([*** regcomp not found in libc])
)
else