I'm trying to figure out how to check for gtkxmhtml.
>From the comments in Makefile.in, it appears that XmHTML widget is
used by both the gnome and the motif code. Is this correct, or does
gtkxmhtml replace the motif XmHTML?
Secondly, at present it appears that no checking for gtkxmhtml is
done, and it's just added to the included libraries in
src/gnome/Makefile.in. Would the appropriate thing to do be something
like:
configure.in:
. . . .
AC_CHECK_LIB(gtkxmhtml, gtk_xmhtml_new,
AC_DEFINE(HAVE_GTK-XMHTML,1) GTK-XMHTML="-lgtkxmhtml",
#What do I do now?)
AC_CHECK_HEADER(gtk-xmhtml/gtk-xmhtml.h,
#What do I do now?)
src/gnome/Makefile.in:
LIBS = -L$(prefix)/lib @LIBS@ @GTK-XMHTML@ \
$(shell ${GNOME_CONFIG_BIN} --libs gnomeui) $(GUILELIBS) \
@top_srcdir@/lib/g-wrap-install/lib/libgwrapguile.a
The second question that I have is - what's appropriate to
do when you can't find gtkxmhtml (the header or libraries)? However,
somebody who's only interested in building the motif version doesn't
care less about gtkxmhtml, and would get quite peeved if I just
aborted configuration with an error message "You don't have gtkxmhtml"
The way I see it, the sensible solution would be to warn the user
and disable the "gnome" target, as you can't build the gnome version
without these libraries. Can somebody suggest how I would be able to
do that?
Please CC to me as I'm not on this list (yet).
---------------------------------------------------------------------------
Robert Merkel [EMAIL PROTECTED]
Humanity has advanced, when it has advanced, not because it has been sober,
responsible, and cautious, but because it has been playful, rebellious, and
immature.
-- Tom Robbins
---------------------------------------------------------------------------
--
Gnucash Developer's List
To unsubscribe send empty email to: [EMAIL PROTECTED]