From 966048b48fd915696a153d95f6be1b0317515b6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Raimbault?= Date: Tue, 22 Oct 2024 16:06:48 +0200 Subject: [PATCH] Test filesystem provides symlink in autogen.sh (closes #414) --- autogen.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index 57a2b60c8..1d6f3ca82 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,5 +1,10 @@ #! /bin/sh -if autoreconf --install --symlink --force; then +do_symlink= +if ln -s autogen-symlink-test autogen-symlink-test-link > /dev/null 2>&1; then + do_symlink=--symlink + rm autogen-symlink-test-link +fi +if autoreconf --install $do_symlink --force; then echo echo "------------------------------------------------------" echo "Initialized build system. You can now run ./configure "