trawick 2003/04/28 05:10:41
Modified: . CHANGES configure.in
Log:
Use the same compiler and preprocessor for the APR-util config tests
which were used by APR. The user can override this via CC and CPP.
This was done all along for the actual build, but not necessarily
for the config tests. [Jeff Trawick]
Revision Changes Path
1.110 +5 -0 apr-util/CHANGES
Index: CHANGES
===================================================================
RCS file: /home/cvs/apr-util/CHANGES,v
retrieving revision 1.109
retrieving revision 1.110
diff -u -r1.109 -r1.110
--- CHANGES 22 Apr 2003 13:47:57 -0000 1.109
+++ CHANGES 28 Apr 2003 12:10:41 -0000 1.110
@@ -1,5 +1,10 @@
Changes with APR-util 0.9.4
+ *) Use the same compiler and preprocessor for the APR-util config tests
+ which were used by APR. The user can override this via CC and CPP.
+ This was done all along for the actual build, but not necessarily
+ for the config tests. [Jeff Trawick]
+
*) Fix apr_uuid_parse() on EBCDIC machines. [Jeff Trawick]
*) Fix alignment problem when allocating memory using apr_rmm. The problem
1.65 +14 -4 apr-util/configure.in
Index: configure.in
===================================================================
RCS file: /home/cvs/apr-util/configure.in,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -r1.64 -r1.65
--- configure.in 5 Mar 2003 22:44:39 -0000 1.64
+++ configure.in 28 Apr 2003 12:10:41 -0000 1.65
@@ -73,12 +73,22 @@
fi
dnl
-dnl 1. Find the APR includes directory and (possibly) the source (base) dir.
-dnl 2. Determine what DBM backend type to use.
-dnl 3. Find Expat
-dnl 4. Find an iconv library
+dnl Find the APR includes directory and (possibly) the source (base) dir.
dnl
APU_FIND_APR
+
+dnl
+dnl even though we use apr_rules.mk for building apr-util, we need
+dnl to grab CC and CPP ahead of time so that apr-util config tests
+dnl use the same compiler as APR
+dnl
+APR_SETIFNULL(CC, `$apr_config --cc`)
+APR_SETIFNULL(CPP, `$apr_config --cpp`)
+
+dnl Find LDAP library
+dnl Determine what DBM backend type to use.
+dnl Find Expat
+dnl Find an iconv library
APU_FIND_LDAP
APU_CHECK_DBM
APU_FIND_EXPAT