X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=autogen.sh;fp=autogen.sh;h=fc2550142b22042cd4099212b2e3cea7a3e1f5d1;hb=467f15ff9e7ed35a48f5b3537219bbd3fc79bc3b;hp=c25a1f72c2003a3a0c45ebe1f0e941115e4a1bf3;hpb=2a9c5e644836f59c647083ba571421d481cbdc1e;p=mono.git diff --git a/autogen.sh b/autogen.sh index c25a1f72c20..fc2550142b2 100755 --- a/autogen.sh +++ b/autogen.sh @@ -102,6 +102,24 @@ if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then fi fi + +# +# Plug in the extension module +# +has_ext_mod=false +for PARAM; do + if test $PARAM = "--enable-extension-module" ; then + has_ext_mod=true + fi +done + +if test x$has_ext_mod = xtrue; then + cat mono/mini/Makefile.am.in ../mono-extensions/mono/mini/Makefile.am > mono/mini/Makefile.am +else + cat mono/mini/Makefile.am.in > mono/mini/Makefile.am +fi + + echo "Running aclocal -I m4 -I . $ACLOCAL_FLAGS ..." aclocal -Wnone -I m4 -I . $ACLOCAL_FLAGS || { echo