Commit c3cf5312 authored by Erik de Castro Lopo's avatar Erik de Castro Lopo
Browse files

autogen.sh: Add --no-symlinks option

parent 9e2bf61d
...@@ -3,6 +3,18 @@ ...@@ -3,6 +3,18 @@
# We trust that the user has a recent enough autoconf & automake setup # We trust that the user has a recent enough autoconf & automake setup
# (not older than a few years...) # (not older than a few years...)
use_symlinks=" --symlink"
case $1 in
--no-symlink*)
use_symlinks=""
echo "Copying autotool files instead of using symlinks."
;;
*)
echo "Using symlinks to autotool files (use --no-symlinks to copy instead)."
;;
esac
test_program_errors=0 test_program_errors=0
test_program () { test_program () {
...@@ -40,5 +52,5 @@ test -n "$srcdir" && cd "$srcdir" ...@@ -40,5 +52,5 @@ test -n "$srcdir" && cd "$srcdir"
echo "Updating build configuration files for FLAC, please wait...." echo "Updating build configuration files for FLAC, please wait...."
touch config.rpath touch config.rpath
autoreconf --install --symlink --force autoreconf --install $use_symlinks --force
#./configure "$@" && echo #./configure "$@" && echo
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment