diff options
author | Anders Carlsson <andersca@gnome.org> | 2003-06-22 15:24:16 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@gnome.org> | 2003-06-22 15:24:16 +0000 |
commit | cc72b0c81dfe7d969ac60e508d35b6bb0097355f (patch) | |
tree | 2c7a061cf6e2c63305424117a585118972b9f7dd /configure.in | |
parent | 9405f7d452662f6728ff96f022f4d5f5943a4d7f (diff) |
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.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.in b/configure.in index f2ca23e..53b65fb 100644 --- a/configure.in +++ b/configure.in @@ -21,7 +21,6 @@ AC_PROG_CC 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) @@ -140,12 +139,14 @@ AC_CHECK_PROGS(GCJ, gcj, gcj) 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 @@ -164,6 +165,8 @@ fi 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 |