Hi,
I'm developing a GTK+ app that uses the gtkembedmoz control. I am trying
to leverage the GNU make tools to make my app as platform independent as
possible so I don't want to distribute pre-compiled gecko components but
rather use ./configure to set up everything I need to build. Initially I
am focusing on *NIX builds. I don't have much experience with autoconf
so some of these questions may be dumb. Here are the problems I think I
am looking at:
1) I'd like people to just be able to install the vanilla binary builds
and have my program's configure find the appropriate installed
libraries. I don't believe the mozilla installation either a) puts the
necessary libraries in a system library path or b) updates the linker's
search path (in /etc/ld.so.conf). This makes it tough to use the
AC_CHECK_LIB macro. Any thoughts on this? I can include a
--with-mozilla-dir=DIR configure option but that still doesn't give me
enough to use AC_CHECK_LIB since there is no way to provide a -L
directory to the test linker.
2) I don't see any headers installed with the vanilla distributions. My
application needs to #include gtkmozembed.h. The mozilla ./configure has
munged my copy of gtkmozembed.h so I'm assuming can't just package a
copy in with my source code. Or is this not true?
Is there an aclocal.m4 out there that I can start with to resolve some
of these issues? Or am I left with no option but to release
platform-specific source distributions?
Thanks for any help,
D