Try:
MYDATA='${prefix}/${VERSION}/${PACKAGE}'
--
Regards,
Paul
Axel Boness wrote:
> I am very new to automake / autoconf and I'm trying to do something that
> I thought was easy.
> Before writing I read the archives and searched the web : nothing.
>
> 1)
> I tried to build a susbsitution based on substituion in configure.in. I
> couldn't do that.
>
> I tried things like :
> MYDATA=@prefix@/@VERSION@/@PACKAGE@
> AC_SUBST(MYDATA)
>
> and putting @MYDATA@ in a xxx.in AC_OUTPUT file
>
> I always get @MYDATA@ expanded with @prefix@/@VERSION@/@PACKAGE@
> I guess it's okay MYDATA is not processed recursively before
> substitution.
>
> I tried a bunch of things :
> MYDATA=${prefix}/${VERSION}/${PACKAGE}
> MYDATA=$(prefix)/$(VERSION)/$(PACKAGE)
> MYDATA=$prefix/$VERSION/$PACKAGE
>
> it doesn't produce the "right" substitution.
>
> Yes I'm trying to use automake / autoconf has a preprocessor for some
> .in files. Is it a problem ? I guess not.
>
> Any hint will be greatly appreciated.
>
> 2)
> is there any way in automake to describe installation of rc.d files ? I
> haven't found exemples.
>
> Please respond to mailto:[EMAIL PROTECTED] as I am not yet on the
> list.