Re: How to let autoconf NOT include ($CFLAGS) in LINK?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

On Thu, Jul 21, 2005 at 07:29:51AM +0000, autoconf-list@xxxxxxxxxxxxxxxxxx wrote:
> I checked that the ($CFLAGS)
> directive was also present in Makefile.in, so I guess that rules out an
> automake issue then.

no, that was Automake who wrote Makefile.in.  So yes, all issues we discuss in
this thread are automake issues.

> AC_SUBST(CFLAGS, "-g -O -Wall -ansi")

It was already said that you shouldn't use AC_SUBST([CFLAGS]) nor
AC_SUBST([LDFLAGS]); this is explained in the Automake manual.

> synop_zzz_LDADD = @top_srcdir@/generic/libgeneric.la

All AC_SUBST variables are also available as make variables, so you
can use
	synop_zzz_LDADD = $(top_srcdir)/generic/libgeneric.la

And it's actually considered better style.

Have a niec day,
	Stepan


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux