Displaying 3 results from an estimated 3 matches for "pcreposix".
Did you mean:
lpcreposix
2001 Sep 29
0
configure.in fixes for 2.9.9p2
...al" in
+ no) ;;
+ *)
+ 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],
+...
2001 May 21
1
2.9p1 patches
..._RANLIB
AC_PROG_INSTALL
AC_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) ;;
+ *)
+...
2001 Nov 22
1
[PATCH]: Fix configure.ac to allow linking against PCRE on Cygwin
Hi,
the current configure.ac file contains an unfortunately static
setting of $LIBS when the host system is Cygwin. It always
adds -lregex to $LIBS before the --with-pcre setting is evaluated.
The later adding of -lpcreposix -lpcre doesn't work correctly
since it follows later in the link order.
The following patch changes that. The static $LIBS setting in the
Cygwin case doesn't include -lregex. Instead it checks the setting
of --with-pcre afterwards and adds -lregex only if -lpcreposix isn't
already co...