[Mono-list] mono configure broken in cvs
Paolo Molaro
lupus@ximian.com
Tue, 1 Jul 2003 19:49:18 +0200
On 07/01/03 Gert Driesen wrote:
> I'm getting the following errors when configuring mono :
>
> gert@mother mono $ bash autogen.sh --prefix=/home/gert/mono/install
> Running libtoolize...
> Running aclocal ...
> Running autoheader...
> Running automake --gnu ...
> automake-1.5: mono/metadata/Makefile.am: Assembler source seen but
> `ASFLAGS' not defined in `configure.in'
> automake-1.5: mono/mini/Makefile.am: warning: automake does not support
> libmono_la_SOURCES being defined conditionally
> automake-1.5: mono/mini/Makefile.am: warning: automake does not support
> libmono_la_SOURCES being defined conditionally
> **Error**: automake failed.
>
> Any idea how to fix this ?
Try the following patch. BTW: you should really avoid automake 1.5: it's
broken. Use 1.4-p6 or the latest (1.7).
Index: configure.in
===================================================================
RCS file: /cvs/public/mono/configure.in,v
retrieving revision 1.147
diff -u -p -r1.147 configure.in
--- configure.in 1 Jul 2003 09:37:16 -0000 1.147
+++ configure.in 1 Jul 2003 17:56:08 -0000
@@ -102,6 +102,12 @@ AC_CHECK_TOOL(CC, gcc, gcc)
AC_PROG_CC
AM_PROG_CC_STDC
AC_PROG_INSTALL
+dnl We should use AM_PROG_AS, but it's not available on automake/aclocal 1.4
+: ${CCAS='$(CC)'}
+# Set ASFLAGS if not already set.
+: ${CCASFLAGS='$(CFLAGS)'}
+AC_SUBST(CCAS)
+AC_SUBST(CCASFLAGS)
AC_CHECK_PROG(BISON, bison,yes,no)
if test "x$BISON" = "xno";
lupus
--
-----------------------------------------------------------------
lupus@debian.org debian/rules
lupus@ximian.com Monkeys do it better