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
path: root/libgc
diff options
context:
space:
mode:
authorJay Krell <jay.krell@cornell.edu>2018-05-01 18:46:02 +0300
committerLudovic Henry <luhenry@microsoft.com>2018-05-01 18:46:02 +0300
commit31fa26ea9df5cb762917b06803838a96a5e8bf69 (patch)
tree4e9db4ef938c4900c3b6be7b0f50ace550cf316e /libgc
parent73326cbb85f40eb131fbb72aa221e02b784484d6 (diff)
Have automake copy instead of symlink, for more git checkout sharability (#8534)
* Make autogen.sh output accurate -- print actual commands run. * Have automake copy instead of symlink. - This sounds analogous to libtool --copy that we do. - It enables sharing a source tree more broadly. For real example, Cygwin symlinks are not portable to Windows Subsystem For Linux, and probably vice versa. For real example, Homebrew symlinks are not portable to Linux in Docker. Downside I notice is that ls -l is less informative as to what is from git vs. a symlink to outside. git clean -xxddff works just as well either way. Hypothetical downside is that updating automake/autoconf doesn't upgrade the copies. This has never mattered to me, but it might matter. It might be viewed as an advantage.
Diffstat (limited to 'libgc')
-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; }