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
<-*- [EMAIL PROTECTED] -*->
URGent, the best radio on the Internet - 24/7 ! - http://urgent.rug.ac.be/


Reply via email to