AC_DEFINE_UNQUOTED with unresolved shell variables

2006-11-09 Thread Roland Illig
Dear autoconf developers, in a software package I have found code like this: FOO_DIR="${bindir}" AC_SUBST(FOO_DIR) AC_DEFINE_UNQUOTED(FOO_DIR, "$FOO_DIR", [Directory where foo files are installed]) The problem with that is that the value of bindir is usually '${prefix}/bin',

Re: AC_DEFINE_UNQUOTED with unresolved shell variables

2006-11-09 Thread Ralf Wildenhues
Hello Roland, * Roland Illig wrote on Thu, Nov 09, 2006 at 11:19:54AM CET: > > FOO_DIR="${bindir}" > AC_SUBST(FOO_DIR) > AC_DEFINE_UNQUOTED(FOO_DIR, "$FOO_DIR", >[Directory where foo files are installed]) > > The problem with that is that the value of bindir is usually > '${

Re: AC_DEFINE_UNQUOTED with unresolved shell variables

2006-11-09 Thread Roland Illig
Ralf Wildenhues wrote: Hello Roland, * Roland Illig wrote on Thu, Nov 09, 2006 at 11:19:54AM CET: FOO_DIR="${bindir}" AC_SUBST(FOO_DIR) AC_DEFINE_UNQUOTED(FOO_DIR, "$FOO_DIR", [Directory where foo files are installed]) The problem with that is that the value of bindir is usu