autoconf-patches
[Top][All Lists]
Advanced

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

LDFLAGS not substituted.


From: Pavel Roskin
Subject: LDFLAGS not substituted.
Date: Thu, 25 Jan 2001 17:05:37 -0500 (EST)

Hello!

We obviously went too far by removing AC_SUBST(LDFLAGS) in
_AC_INIT_PREPARE. Now the following configure.in doesn't result in
configure substituting LDFLAGS, whereas Automake still puts @LDFLAGS@ in
Makefile.in:

AC_INIT(hello.c)
AM_INIT_AUTOMAKE(hello,0.23)
AC_PROG_CC
AM_C_PROTOTYPES
AC_OUTPUT(Makefile)

This is "ansi3.test" from CVS Automake. The fix is trivial.

ChangeLog:
        * acgeneral.m4 (_AC_INIT_PREPARE): Substitute LDFLAGS.

____________________
--- acgeneral.m4
+++ acgeneral.m4
@@ -1478,6 +1478,7 @@
 _AC_PROG_ECHO()dnl
 dnl Substitute for predefined variables.
 AC_SUBST(DEFS)dnl
+AC_SUBST(LDFLAGS)dnl
 AC_SUBST(LIBS)dnl
 m4_divert_pop([INIT_PREPARE])dnl
 ])# _AC_INIT_PREPARE
____________________

Regards,
Pavel Roskin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]