[Mono-dev] Make aclocal -Wnone optional in autogen.sh

tangent tangent at west.etr-usa.com
Thu Jun 13 16:08:45 UTC 2013


Hi,

I just tried building mono from the git trunk on CentOS 5, and got a
complaint from autogen.sh about the -Wnone flag passed to aclocal. I removed
it from the top-level autogen.sh and from the one in libgc, and it then
configured and built.

(mcs --version says "Mono C# compiler version 3.0.12.0", and pkg-config
--modversion mono says "3.0.12", so I assume it worked out okay. I haven't
actually tried using the built tools yet.)

You could expand compatibility with something like this:

ACLOCAL_FLAGS=blablabla
if aclocal --help | grep -q -- -W
then
    ACLOCAL_FLAGS="$ACLOCAL_FLAGS -Wnone"
fi
aclocal $ACLOCAL_FLAGS...



--
View this message in context: http://mono.1490590.n4.nabble.com/Make-aclocal-Wnone-optional-in-autogen-sh-tp4659927.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list