>>>>> "Alex" == Alex Turner <[EMAIL PROTECTED]> 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