config variables in config.h

2002-09-04 Thread Viktor Pavlenko
Hello, I would like my program to know where it has been installed, in particular, the location of $datadir. Looks like a natural way to do it is to have a #define in config.h, like this: /* * myprog data directory */ #define MYPROG_DATA_DIR "/usr/local/share/myprog" I tried the following in

Re: config variables in config.h

2002-09-05 Thread Viktor Pavlenko
>>>>> "GD" == Guido Draheim <[EMAIL PROTECTED]> writes: GD> Es schrieb Viktor Pavlenko: >> >> Hello, >> >> I would like my program to know where it has been installed, in >> particular, the location of