2003-11-06 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / autogen.sh
index 8d89d7f7b825476b720608310bf0803d5ae4d6e1..82cf19e90f141c466f56de403b70ac945975a2be 100755 (executable)
@@ -12,13 +12,10 @@ if [ -n "$MONO_PATH" ]; then
        # to -> /mono /another/mono
        for i in `echo ${MONO_PATH} | tr ":" " "`; do
                i=`dirname ${i}`
-               echo "i es $i"
                if [ -n "{i}" -a -d "${i}/share/aclocal" ]; then
-                       echo "añado $i/share/local"
                        ACLOCAL_FLAGS="-I ${i}/share/aclocal $ACLOCAL_FLAGS"
                fi
                if [ -n "{i}" -a -d "${i}/bin" ]; then
-                       echo "añado $i/bin"
                        PATH="${i}/bin:$PATH"
                fi
        done
@@ -120,6 +117,12 @@ automake --add-missing --gnu $am_opt ||
 echo "Running autoconf ..."
 autoconf || { echo "**Error**: autoconf failed."; exit 1; }
 
+if test -d $srcdir/libgc; then
+  echo Running libgc/autogen.sh ...
+  (cd $srcdir/libgc ; NOCONFIGURE=1 ./autogen.sh "$@")
+  echo Done running libgc/autogen.sh ...
+fi
+
 
 conf_flags="--enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c