autoconf
[Top][All Lists]
Advanced

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

trying to get AC_PATH_PROG into config.h... - follow up question


From: Mario Schubert
Subject: trying to get AC_PATH_PROG into config.h... - follow up question
Date: Thu, 25 Apr 2002 11:46:19 +0200

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: address@hidden
Phone: (+49 89)289 14283
FAX:   (+49 89)289 14280
Am Coulombwall 6, D-85748 Garching, Germany




reply via email to

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