automake
[Top][All Lists]
Advanced

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

Re: a question re: variable expansion


From: Tom Tromey
Subject: Re: a question re: variable expansion
Date: 29 Mar 2002 10:19:19 -0700

>>>>> "Thomas" == Thomas Vander Stichele <address@hidden> writes:

Thomas> AUTHORS=`cat AUTHORS`
Thomas> AC_DEFINE_UNQUOTED(AUTHORS, "$AUTHORS")
Thomas> AC_SUBST(AUTHORS)

This is more of an autoconf question.

Thomas> My question is basically, what is the cleanest way to pull in
Thomas> the AUTHORS file and protect the newlines some way that later
Thomas> on the AUTHORS variable expands to a multiline where
Thomas> appropriate (for example, in a generated spec file) ?

AC_SUBST_FILE.
For the DEFINE there might not be a good way.

Tom



reply via email to

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