[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Errors compiling "make checks" on CVS automake.
From: |
Akim Demaille |
Subject: |
Re: Errors compiling "make checks" on CVS automake. |
Date: |
20 Feb 2001 15:50:11 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) |
Stephen Torri <address@hidden> writes:
> gcc -g -O2 @LDFLAGS@ -o foo foo.o
> gcc: @LDFLAGS@: No such file or directory
You are most probably using a version of Autoconf before this patch:
2001-01-26 Akim Demaille <address@hidden>
* aclang.m4: dnl AC_ARG_VAR's newline.
(AC_PROG_CC, AC_PROG_F77, AC_PROG_CXX): AC_ARG_VAR(LDFLAGS).
* acgeneral.m4 (AC_CHECK_LIB): Don't do it.
and after this one:
2001-01-24 Akim Demaille <address@hidden>
Don't AC_SUBST too much, as it makes Automake include those
variables in Makefiles, and drives autoscan to require unneeded
programs.
* acgeneral.m4 (_AC_INIT_PREPARE): Don't AC_SUBST CFLAGS,
CPPFLAGS, CXXFLAGS and LDFLAGS.
(AC_ARG_VAR): AC_SUBST the var.
Document it only once, even if there are several different docs.
* aclang.m4 (AC_PROG_CPP): Declare CPP and CPPFLAGS to AC_ARG_VAR.
(AC_PROG_CXXCPP): Declare CXXCPP and CPPFLAGS.
While inter CVS version checks are definitely useful, please then be
sure to use up to date version of all the tools. And state clearly
your environment.