Skip to content

Commit 966048b

Browse files
committed
Test filesystem provides symlink in autogen.sh (closes #414)
1 parent 51f37e0 commit 966048b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

autogen.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
#! /bin/sh
2-
if autoreconf --install --symlink --force; then
2+
do_symlink=
3+
if ln -s autogen-symlink-test autogen-symlink-test-link > /dev/null 2>&1; then
4+
do_symlink=--symlink
5+
rm autogen-symlink-test-link
6+
fi
7+
if autoreconf --install $do_symlink --force; then
38
echo
49
echo "------------------------------------------------------"
510
echo "Initialized build system. You can now run ./configure "

0 commit comments

Comments
 (0)