|
From: | Roland Illig |
Subject: | Re: AC_DEFINE_UNQUOTED with unresolved shell variables |
Date: | Thu, 09 Nov 2006 21:59:54 +0100 |
User-agent: | Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:1.7.12) Gecko/20051220 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |