> I apply this:
> 
> Index: ChangeLog
> from  Akim Demaille  <[EMAIL PROTECTED]>
> 
>         * automake.in (&macro_define): User variables can be first defined
>         with `+='.

In fact, I don't, because I now recall why I did that.  It is related
to pluseq7 which fails with this test, and it was it that made me
write this snippet.

Given that `the user is allowed to shoot in her foot', I don't
understand pluseq7:

#! /bin/sh

# Test that `+=' fails when required.

. $srcdir/defs || exit 1

cat >> configure.in << 'END'
AC_PROG_CC
AC_PROG_RANLIB
END

# If you do this in a real Makefile.am, I will kill you.
cat > Makefile.am << 'END'
lib_LIBRARIES = libq.a
libq_a_SOURCES = q.c
AR += qq
END

: > q.c

$ACLOCAL || exit 1
$AUTOMAKE && exit 1
exit 0



If we agree the test is wrong, I can apply the aforementioned patch.
It's effect is to _set_ AR to qq (since there is no definition
before).

        Akim

Reply via email to