[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem: unitialized +=
From: |
Akim Demaille |
Subject: |
Re: problem: unitialized += |
Date: |
17 Apr 2001 18:50:11 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) |
> I apply this:
>
> Index: ChangeLog
> from Akim Demaille <address@hidden>
>
> * automake.in (¯o_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
- Re: problem: uninstall-am in makefile with no install targets and non-GNU make., (continued)
- Re: problem: uninstall-am in makefile with no install targets and non-GNU make., Akim Demaille, 2001/04/11
- Re: problem: uninstall-am in makefile with no install targets and non-GNU make., Robert Collins, 2001/04/11
- Re: problem: uninstall-am in makefile with no install targets and non-GNU make., Akim Demaille, 2001/04/11
- Re: problem: uninstall-am in makefile with no install targets and non-GNU make., Robert Collins, 2001/04/11
- Re: problem: multiple definitions, Akim Demaille, 2001/04/11
- Re: problem: multiple definitions, Jens Krüger, 2001/04/12
- Re: problem: multiple definitions, Akim Demaille, 2001/04/12
- Re: problem: multiple definitions, Robert Collins, 2001/04/19
- Re: problem: unitialized +=, Akim Demaille, 2001/04/11
- Re: problem: unitialized +=, Akim Demaille, 2001/04/17
- Re: problem: unitialized +=,
Akim Demaille <=
- Re: problem: unitialized +=, Alexandre Oliva, 2001/04/17
- Re: problem: unitialized +=, Akim Demaille, 2001/04/18
- Re: problem: unitialized +=, Alexandre Oliva, 2001/04/18
- Re: problem: unitialized +=, Akim Demaille, 2001/04/18
- Re: problem: unitialized +=, Robert Collins, 2001/04/18
- Re: problem: unitialized +=, Akim Demaille, 2001/04/18
- Re: problem: unitialized +=, Robert Collins, 2001/04/18
- Re: problem: uninstall-am in makefile with no install targets and non-GNU make., Robert Collins, 2001/04/15