Hello,

my question was almost answewd in the autoconf mailing list archive 
(http://mail.gnu.org/pipermail/autoconf/2000-December/009144.html), :-)
but unfortunately not completely.

I want the path of the data dir in my program, to load the installed data 
files from disk.

I write 
   AC_DEFINE_UNQUOTED(datadir, "$datadir", [path to data])
in configure.in and get
   /* path to data */
   #define datadir "${prefix}/share"
in config.h. How do I get the complete path?

Thank you very much for your help.

Ciao,
    Mario Schubert
---------------------------------------------
Beschleunigerlabor der LMU und TU M�nchen
Mario Schubert
EMail: [EMAIL PROTECTED]
Phone: (+49 89)289 14283
FAX:   (+49 89)289 14280
Am Coulombwall 6, D-85748 Garching, Germany


Reply via email to