Disable TestDisposeOnCallback for MONOTOUCH, the test does not really work as the...
[mono.git] / autogen.sh
index 06ad5c886641c46c4230aec946122282c7b983f2..8fc51d24df070776c14a3ba73fd310cba639610a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env bash
 # Run this to generate all the initial makefiles, etc.
 # Ripped off from GNOME macros version
 
@@ -108,7 +108,7 @@ fi
 #
 has_ext_mod=false
 for PARAM; do
-    if test $PARAM = "--enable-extension-module" ; then
+    if test "$PARAM" = "--enable-extension-module" ; then
                has_ext_mod=true
        fi
 done
@@ -134,7 +134,7 @@ aclocal -Wnone -I m4 -I . $ACLOCAL_FLAGS || {
   exit 1
 }
 
-if grep "^AM_CONFIG_HEADER" configure.in >/dev/null; then
+if grep "^AC_CONFIG_HEADERS" configure.in >/dev/null; then
   echo "Running autoheader..."
   autoheader || { echo "**Error**: autoheader failed."; exit 1; }
 fi