2003-06-22 Anders Carlsson <andersca@codefactory.se>
+ * configure.in: Add AM_PROG_GCJ and move AM_PROG_LIBTOOL
+ after the gcj checks so that the correct configuration tags
+ will be added to libtool.
+
* dbus-glib-1.pc.in: No need to specify any includes since
dbus-1.pc.in has those.
AC_PROG_CXX
AC_ISC_POSIX
AC_HEADER_STDC
-AM_PROG_LIBTOOL
AC_ARG_ENABLE(qt, [ --enable-qt enable Qt-friendly client library],enable_qt=$enableval,enable_qt=auto)
AC_ARG_ENABLE(glib, [ --enable-glib enable GLib-friendly client library],enable_glib=$enableval,enable_glib=auto)
if test -z "$GCJ" ; then
have_gcj=no
else
+ # Needs to be here so libtool wont get confused
+ AM_PROG_GCJ
+
have_gcj=yes
if test "x${GCJFLAGS-unset}" = xunset; then
GCJFLAGS="-g -O2 -Wall"
fi
AC_SUBST(GCJFLAGS)
- _AM_IF_OPTION([no-dependencies],, [_AM_DEPENDENCIES(GCJ)])
fi
if test x$enable_gcj = xauto ; then
AM_CONDITIONAL(DBUS_USE_GCJ, test x$enable_gcj = xyes)
+AM_PROG_LIBTOOL
+
#### Look for mono
AC_CHECK_TOOL(MCS, mcs, mcs)
if test -z "$MCS" ; then