[Fwd: [Glade-users] Include others libraries in a Glade project]


The reason your search for libxml fails to substitute correctly is that
you have positioned it after the AC_OUTPUT step in configure.in, and
that you haven't marked the variables for substitution.  The AC_OUTPUT
step is what creates the output files.  Since you try to define
variables after that step, they will not be adopted.  Also, unless you
state somehow that a variable is for substitution in the output files,
it will not be used.

To force substitution, use AC_SUBST, as you see already in your
configure.in before the AC_OUTPUT.  See "info automake", "macros",
"AC_SUBST".  There are other macros there that may be more relevant.

Apologies for the delay.  Your questions are really outside the scope of
Glade and inside the scope of automake and autoconf.  You may get better
response from mailing lists dedicated to those open source projects.

James Cameron                                      (cameron stl dec com)

http://www.linux.org/ http://www.linux.org.au/ http://www.freshmeat.net/

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