From: Wilfredo Sanchez Date: Fri, 29 Nov 2002 07:23:57 +0000 (+0000) Subject: If apr and apr-util are not in-tree, we need to be able to find the X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f2c768fa0846e3e9b0ffe72828a6ae6caa2ec28;p=thirdparty%2Fapache%2Fhttpd.git If apr and apr-util are not in-tree, we need to be able to find the include directory for each in order to generate the server/exports.c and server/export_vars.h files. configure.in: - Provide APR_INCLUDEDIR, APU_INCLUDEDIR. server/Makefile.in: - Use $APR_INCLUDEDIR $APU_INCLUDEDIR vars. - Add export_files target to generate a list of headers with symbols to export, use that list to generate exports.c and export_vars.h. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97673 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/configure.in b/configure.in index 6a18a3df98d..60e9e036992 100644 --- a/configure.in +++ b/configure.in @@ -80,6 +80,7 @@ APR_ADDTO(LDFLAGS, `$apr_config --ldflags`) APR_ADDTO(INCLUDES, `$apr_config --includes`) SHLIBPATH_VAR=`$apr_config --shlib-path-var` APR_BINDIR=`$apr_config --bindir` +APR_INCLUDEDIR=`$apr_config --includes | sed 's|^.*-I\([[^ ]]*apr[[^ ]]*\).*$|\1|'` echo $ac_n "${nl}Configuring Apache Portable Runtime Utility library...${nl}" @@ -99,6 +100,7 @@ fi APR_ADDTO(LDFLAGS, `$apu_config --ldflags`) APR_ADDTO(INCLUDES, `$apu_config --includes`) APU_BINDIR=`$apu_config --bindir` +APU_INCLUDEDIR=`$apu_config --includes | sed 's|^.*-I\([[^ ]]*apr[[^ ]]*\).*$|\1|'` echo $ac_n "${nl}Configuring PCRE regular expression library ...${nl}"