Hello again,

> 
> <snip configure.in>
> MY_CONFIG_FILE="@datadir@/my_config_file"
> AC_DEFINE_UNQUOTED([MY_CONFIG_FILE], "$MY_CONFIG_FILE",
> [default configuration file])
> <snip>
> 

> what an i doing wrong?  I'm using
> 

sorry, i found it after all in the mailinglist's archive:
@datadir@ seems to be the wrong way at all.  I tried

<snip configure.in>
MY_CONFIG_FILE=`eval echo ${datadir}/my_config_file`
AC_DEFINE_UNQUOTED([MY_CONFIG_FILE], "$MY_CONFIG_FILE",
[default configuration file])
<snip>

and it seems to work fine both with and without config.h

Benjamin

-- 
*****************************************************************
Benjamin Sailer
eMail: [EMAIL PROTECTED]
*****************************************************************
Disclaimer:  This signature has been generated automatically and
does not reflect my opinion at all.
                -- Benjamin Sailer

A man would still do something out of sheer perversity - he would create
destruction and chaos - just to gain his point... and if all this could in
turn be analyzed and prevented by predicting that it would occur, then man
would deliberately go mad to prove his point.
                -- Feodor Dostoevsky, "Notes From the Underground"



Reply via email to