From: Rainer Jung Date: Sat, 3 Jan 2009 01:01:56 +0000 (+0000) Subject: Only link libhttpd against pcre. X-Git-Tag: 2.3.1~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b9d88eb47de6e5625bee5d879cd12545e89fcc6c;p=thirdparty%2Fapache%2Fhttpd.git Only link libhttpd against pcre. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@730882 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/configure.in b/configure.in index d4c245b600c..76cd665da7a 100644 --- a/configure.in +++ b/configure.in @@ -182,7 +182,8 @@ if test "$PCRE_CONFIG" != "false"; then fi AC_MSG_NOTICE([Using external PCRE library from $PCRE_CONFIG]) APR_ADDTO(CFLAGS, [`$PCRE_CONFIG --cflags`]) - APR_ADDTO(LIBS, [`$PCRE_CONFIG --libs`]) + APR_ADDTO(LTLIBRARY_LIBADD, [`$PCRE_CONFIG --libs`]) + APACHE_SUBST(LTLIBRARY_LIBADD) else AC_MSG_ERROR([pcre-config for libpcre not found. PCRE is required and available from http://pcre.org/]) fi