Viktor Pavlenko <[EMAIL PROTECTED]> writes: > AC_DEFINE_UNQUOTED(MYPROG_DATA_DIR,$datadir,[myprog data directory]) [...] > but it doesn't work ($prefix/share is inserted and not expanded). I > would appreciate it if someone could tell me how to do this properly.
The following code works, but I can not say if it's the proper way: MY_DATA_DIR=`eval echo "${datadir}/my"` AC_DEFINE_UNQUOTED([MY_DATA_DIR], ["$MY_DATA_DIR"], [Define to the top-level directory for read-only data files.]) -- Ralph