[Top][All Lists]

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

Re: Scripts...

From: Rusty Ballinger
Subject: Re: Scripts...
Date: Tue, 10 Apr 2001 13:04:28 -0700

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

There may be a better way, but renaming the script to, replacing
hard-coded paths with AC_SUBST'd variables (@PKGDATADIR@ etc.) in,
and adding the script to AC_OUTPUT in has worked for me.


reply via email to

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