autoconf
[Top][All Lists]
Advanced

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

Re: finding datadir from executable


From: Alexandre Duret-Lutz
Subject: Re: finding datadir from executable
Date: Sun, 12 Sep 2004 20:11:07 +0200

On Sat, Sep 11, 2004 at 08:42:21AM -0700, Bruce Korb wrote:
> An autoconf macro that produced
> BINDIR_TO_xxxxDIR at build time would be nice, simple and appreciated.

I've been using the following macro for this purpose:
  http://www.gnu.org/software/ac-archive/htmldoc/relpaths.html

But you'll always need some run-time code to guess bindir (or any other
directory you want to use as reference for relative paths).




reply via email to

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