On Tue, Nov 28, 2000 at 09:31:54PM -, [EMAIL PROTECTED] wrote:
rbb 00/11/28 13:31:53
Modified:src acinclude.m4 configure.in
.apr_common.m4 hints.m4
Added: src hints.m4
Log:
Split the hints file into two files, one in APR and
On Wed, 29 Nov 2000, Greg Stein wrote:
On Tue, Nov 28, 2000 at 09:31:54PM -, [EMAIL PROTECTED] wrote:
rbb 00/11/28 13:31:53
Modified:src acinclude.m4 configure.in
.apr_common.m4 hints.m4
Added: src hints.m4
Log:
Split
+AC_DEFUN(APR_DOEXTRA, [
+ for i in CFLAGS LDFLAGS LIBS
+ do
+eval APR_TMP=\$EXTRA_$i
+if test -n $APR_TMP; then
+ eval $i=\\$$i $APR_TMP\
+ eval export $i
+ eval unset EXTRA_${i}
+ eval export EXTRA_${i}
+
[EMAIL PROTECTED] wrote:
Ah. I think I understand. Wouldn't the above be simpler and more obvious if
we wrote it like:
AC_DEFIN(APR_DOEXTRA, [
CFLAGS=$CFLAGS $EXTRA_CFLAGS
EXTRA_CFLAGS=
LDFLAGS=$LDFLAGS $EXTRA_LDFLAGS
EXTRA_LDFLAGS=
LIBS=$LIBS $EXTRA_LIBS
EXTRA_LIBS=
])
Presuming the
On Wed, Nov 29, 2000 at 09:46:51PM +0100, Branko Cibej wrote:
[EMAIL PROTECTED] wrote:
Ah. I think I understand. Wouldn't the above be simpler and more obvious if
we wrote it like:
AC_DEFIN(APR_DOEXTRA, [
CFLAGS=$CFLAGS $EXTRA_CFLAGS
EXTRA_CFLAGS=
LDFLAGS=$LDFLAGS
Greg Stein wrote:
I see that this came from apr/hints.m4, but I don't understand what it is
really doing here. What is this extra magic?
AFAIK, all we need to do is set the variables, and that is that. No fancy
export or anything.
Unfortunately, as Jim found when he first