Displaying 2 results from an estimated 2 matches for "no_comp_check".
2001 Sep 29
0
configure.in fixes for 2.9.9p2
...if test "x$withval" != "xyes"; then
+ CPPFLAGS="${CPPFLAGS} -I$withval/include"
+ LDFLAGS="${LDFLAGS} -L$withval/lib"
+ fi
- AC_CHECK_LIB(pcre, pcre_info,
- [
- AC_DEFINE(HAVE_LIBPCRE)
- LIBS="$LIBS -lpcreposix -lpcre"
- no_comp_check="yes"
- ],
- [ AC_MSG_ERROR([*** Can not locate pcre libraries.]) ]
- )
+ AC_CHECK_HEADER(pcreposix.h,
+ AC_CHECK_LIB(pcre, pcre_info,[
+ AC_DEFINE(HAVE_LIBPCRE)
+ LIBS="$LIBS -lpcreposix -lpcre"
+ no_comp_check=yes],
+ AC_MSG_ERROR([*** unable to locat...
2001 May 21
1
2.9p1 patches
...PATH_PROG(AR, ar)
@@ -285,35 +256,56 @@
]
)
+dnl for PCRE regex library
AC_ARG_WITH(pcre,
- [ --with-pcre Override built in regex library with pcre],
- [
-
- AC_CHECK_LIB(pcre, pcre_info,
- [
- AC_DEFINE(HAVE_LIBPCRE)
- LIBS="$LIBS -lpcreposix -lpcre"
- no_comp_check="yes"
- ],
- [ AC_MSG_ERROR([*** Can not locate pcre libraries.]) ]
- )
- ]
-)
+ [ --with-pcre[=PATH] Override builtin regex library with PCRE
+ (optionally in DIR)],[
+ case "$withval" in
+ no) ;;
+ *)
+ if test "x$withval"...