Re: AC_INIT

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

 



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   peter_e@xxxxxxx




[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux