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 usually '${prefix}/bin'

[...]

What is the most elegant way of solving this?


See here:
http://www.gnu.org/software/autoconf/manual/html_node/Defining-Directories.html

Thank you very much. I had missed to look it up in the FAQ, I just looked at the help node of AC_DEFINE_UNQUOTED. :)

Roland


_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to