autoconf
[Top][All Lists]
Advanced

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

finding datadir from executable


From: Nicholas R. Markham
Subject: finding datadir from executable
Date: Sun, 5 Sep 2004 19:21:18 -0400

I recently decided to try to apply the suggestion mentioned in section 17.5 of
the autoconf manual - namely, to hardcode only the relative path from prefix to
datadir (or maybe from bindir to datadir) and try to determine prefix at
runtime.  However, I'm not sure how to determine prefix at runtime.  Can anyone
give me an example of how they did it?  Thanks.





reply via email to

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