automake
[Top][All Lists]
Advanced

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

Re: Scripts...


From: Tom Tromey
Subject: Re: Scripts...
Date: 10 Apr 2001 14:56:56 -0600

>>>>> "Alex" == Alex Turner <address@hidden> writes:

Alex> What is the best way to have a script/program where $pkgdatadir
Alex> is located?

I assume you mean how to find pkgdatadir in a program?

Alex> For C, it's easy enough just to do
Alex> CCFLAGS=-DPKGDATADIR="\""$(pkgdatadir)"\"" but what about things
Alex> like perl scripts that have to pull option files and such.  Is
Alex> there a standard way to tackle this?

For automake I use AC_SUBST and have @...@ substitutions in
automake.in.

Tom



reply via email to

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