automake
[Top][All Lists]
Advanced

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

a question re: variable expansion


From: Thomas Vander Stichele
Subject: a question re: variable expansion
Date: Thu, 28 Mar 2002 18:47:28 +0100 (CET)

I hope it's ok to ask here, since i'm not sure if this is an autoconf or 
automake issue.

I have an AUTHORS file, and I pull it in in configure.in like this :

AUTHORS=`cat AUTHORS`

AC_DEFINE_UNQUOTED(AUTHORS, "$AUTHORS")
AC_SUBST(AUTHORS)


When AUTHORS is more than one line, of course this doesn't work, I get sed 
errors running configure.

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

Thomas

-- 

The Dave/Dina Project : future TV today ! - http://davedina.apestaart.org/
<-*-                      -*->
We'll walk right up to the sun
hand in hand
<-*- address@hidden -*->
URGent, the best radio on the Internet - 24/7 ! - http://urgent.rug.ac.be/




reply via email to

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