Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libgc/autogen.sh')
-rwxr-xr-xlibgc/autogen.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/libgc/autogen.sh b/libgc/autogen.sh
index 65e1f25f39c..3bc6e781905 100755
--- a/libgc/autogen.sh
+++ b/libgc/autogen.sh
@@ -74,12 +74,13 @@ if test x$NOCONFIGURE = x && test -z "$*"; then
echo
fi
+am_opt="--add-missing --copy --gnu -Wno-obsolete"
+
case $CC in
xlc )
- am_opt=--include-deps;;
+ am_opt="$am_opt --include-deps";;
esac
-
if grep "^AC_PROG_LIBTOOL" configure.ac >/dev/null; then
if test -z "$NO_LIBTOOLIZE" ; then
echo "Running libtoolize..."
@@ -104,8 +105,8 @@ if grep "^AC_CONFIG_HEADERS" configure.ac >/dev/null; then
autoheader || { echo "**Error**: autoheader failed."; exit 1; }
fi
-echo "Running automake --gnu $am_opt ..."
-automake --add-missing --gnu -Wno-obsolete $am_opt ||
+echo "Running automake $am_opt ..."
+automake $am_opt ||
{ echo "**Error**: automake failed."; exit 1; }
echo "Running autoconf ..."
autoconf || { echo "**Error**: autoconf failed."; exit 1; }