bug-automake
[Top][All Lists]
Advanced

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

Multiple vars in AC_SUBST not considered


From: Jan Engelhardt
Subject: Multiple vars in AC_SUBST not considered
Date: Mon, 14 Apr 2008 09:21:13 +0200 (CEST)
User-agent: Alpine 1.10 (LNX 962 2008-03-14)

Hi,


I observed that with a configure.ac with

        AC_SUBST([libfoo_CXXFLAGS libfoo_LIBS])

automake 1.10 will not generate the required

        libfoo_CXXFLAGS = @libfoo_CXXFLAGS@
        libfoo_LIBS = @libfoo_LIBS@

in Makefile.in, but will do so once I write

        AC_SUBST([libfoo_CXXFLAGS])
        AC_SUBST([libfoo_LIBS])

I am not sure AC_SUBST([multiplevars]) are allowed, the autoconf info 
pages suggest it only takes one. They do seem to be replaced by 
configure/sed however, as explicitly adding 

        libfoo_CXXFLAGS = @libfoo_CXXFLAGS@

to Makefile.am also makes the problem go away.



thanks,
Jan




reply via email to

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