search for: lpcreposix

Displaying 5 results from an estimated 5 matches for "lpcreposix".

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...
2001 Sep 29
0
configure.in fixes for 2.9.9p2
...val" 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
...G_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 Jul 27
0
openssh-2.9p2 compilation on LynxOS
...thout-shadow \ --with-ssl-dir=/usr/local/ssl --with-pcre \ --disable-libutil --sysconfdir=/etc/ssh Then, # make gave the following error: gcc -o ssh ssh.o sshconnect.o sshconnect1.o sshconnect2.o sshtty.o reonf.o clientloop.o -L. -Lopenbsd-compat/ -L/usr/local/ssl/lib -lssh -lopenbsompat -lz -lpcreposix -lpcre -lcrypto collect2: ld returned 1 exit status sshconnect.o: In function `ssh_connect': /openssh/openssh-2.9p2/sshconnect.c(207): undefined reference to `getservbynareadconf.o: In function `parse_token': /openssh/openssh-2.9p2/readconf.c(235): undefined reference to `strcasecmp' ....
2001 Feb 13
1
configure.in reorder patch
...l, login, AC_DEFINE(HAVE_LIBUTIL_LOGIN) LIBS="$LIBS -lutil") +AC_CHECK_LIB(util, login, AC_DEFINE(HAVE_LIBUTIL_LOGIN) LIBS="-lutil $LIBS") AC_CHECK_FUNC(regcomp, [ AC_DEFINE(HAVE_REGCOMP)], [ AC_CHECK_LIB(pcre, pcre_info, - AC_DEFINE(HAVE_LIBPCRE) LIBS="$LIBS -lpcreposix -lpcre") + AC_DEFINE(HAVE_LIBPCRE) LIBS="-lpcreposix -lpcre $LIBS") ] ) -dnl UnixWare 2.x -AC_CHECK_FUNC(strcasecmp, - [], [ AC_CHECK_LIB(resolv, strcasecmp, LIBS="$LIBS -lresolv") ] -) -AC_CHECK_FUNC(utimes, - [], [ AC_CHECK_LIB(c89, utimes, LIBS="$LIBS -lc89...