Skip to content
Browse files

Pass 'subdir-objects' to AM_INIT_AUTOMAKE() to quiet an automake warn…

…ing.
  • Loading branch information...
1 parent 0e31ea6 commit 63eeec0c818e120c70d5f4ce840af75533034924 @vargaz vargaz committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 configure.in
View
2 configure.in
@@ -13,7 +13,7 @@ AC_CANONICAL_HOST
# The extra brackets are to foil regex-based scans.
m4_ifdef([_A][M_PROG_TAR],[_A][M_SET_OPTION([tar-ustar])])
-AM_INIT_AUTOMAKE([1.9 dist-bzip2 tar-ustar no-dist-gzip foreign])
+AM_INIT_AUTOMAKE([1.9 dist-bzip2 tar-ustar no-dist-gzip foreign subdir-objects])
AC_CONFIG_HEADERS([config.h])
AM_MAINTAINER_MODE

2 comments on commit 63eeec0

@dkingsley

This change breaks the mono build on my RHEL 5.4 system, the build log is contained below:

Install mono into: /home/dkingsley/mono3.3.0
TopDir: /home/dkingsley
Running libtoolize...
Running aclocal -I m4 -I . ...
configure.in:10: warning: AC_CANONICAL_HOST invoked multiple times
Running autoheader...
configure.in:10: warning: AC_CANONICAL_HOST invoked multiple times
Running automake --gnu ...
configure.in:10: warning: AC_CANONICAL_HOST invoked multiple times
ikvm-native/Makefile.am: C objects in subdir but AM_PROG_CC_C_O' not inconfigure.in'
mono/arch/Makefile.am: C objects in subdir but AM_PROG_CC_C_O' not inconfigure.in'
mono/arch/amd64/Makefile.am: C objects in subdir but AM_PROG_CC_C_O' not inconfigure.in'
mono/arch/arm/Makefile.am: C objects in subdir but AM_PROG_CC_C_O' not inconfigure.in'
mono/arch/mips/Makefile.am: C objects in subdir but AM_PROG_CC_C_O' not inconfigure.in'
mono/arch/ppc/Makefile.am: C objects in subdir but AM_PROG_CC_C_O' not inconfigure.in'
mono/arch/s390x/Makefile.am: C objects in subdir but AM_PROG_CC_C_O' not inconfigure.in'
mono/arch/sparc/Makefile.am: C objects in subdir but AM_PROG_CC_C_O' not inconfigure.in'
mono/arch/x86/Makefile.am: C objects in subdir but AM_PROG_CC_C_O' not inconfigure.in'
mono/dis/Makefile.am: C objects in subdir but AM_PROG_CC_C_O' not inconfigure.in'
mono/interpreter/Makefile.am: C objects in subdir but AM_PROG_CC_C_O' not inconfigure.in'
mono/io-layer/Makefile.am: C objects in subdir but AM_PROG_CC_C_O' not inconfigure.in'
mono/metadata/Makefile.am: C objects in subdir but AM_PROG_CC_C_O' not inconfigure.in'
mono/mini/Makefile.am: C objects in subdir but AM_PROG_CC_C_O' not inconfigure.in'
mono/monograph/Makefile.am: C objects in subdir but AM_PROG_CC_C_O' not inconfigure.in'
mono/profiler/Makefile.am: C objects in subdir but AM_PROG_CC_C_O' not inconfigure.in'
mono/tests/Makefile.am: C objects in subdir but AM_PROG_CC_C_O' not inconfigure.in'
mono/utils/Makefile.am: C objects in subdir but AM_PROG_CC_C_O' not inconfigure.in'
support/Makefile.am: C objects in subdir but AM_PROG_CC_C_O' not inconfigure.in'
tools/sgen/Makefile.am: C objects in subdir but AM_PROG_CC_C_O' not inconfigure.in'
Error: automake failed.
make: *** No rule to make target get-monolite-latest'. Stop.
make: *** No targets specified and no makefile found. Stop.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target
install'. Stop.

@vargaz
Mono Project member

This might got fixed by 67b5d1d.

Please sign in to comment.
Something went wrong with that request. Please try again.