autoconf
[Top][All Lists]
Advanced

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

Re: AC_INIT


From: Peter Eisentraut
Subject: Re: AC_INIT
Date: Thu, 4 Dec 2003 20:25:20 +0100 (CET)

Patrick Welche writes:

> I thought the following looked nice:
>
> NETATALK_VERSION=`cat $srcdir/VERSION`
> AC_INIT(netatalk, ${NETATALK_VERSION},...
>
> but then
>
> configure.in:5: warning: AC_INIT: not a literal: ${NETATALK_VERSION}
>
> Is there a way round it?

AC_INIT(netatalk, esyscmd([cat VERSION]))

-- 
Peter Eisentraut   address@hidden





reply via email to

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