Re: finding datadir from executable

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

 



>>> "Nicholas" == Nicholas R Markham <markhamnr@xxxxxxxxxxx> writes:

 > 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.

Bruno Haible has a complete solution IIRC.  See GNU Gettext.


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux