Re: AC_DEFINE_UNQUOTED with unresolved shell variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux