diff options
author | Erik de Castro Lopo <erikd@mega-nerd.com> | 2015-08-01 17:54:49 +1000 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2015-08-01 17:54:49 +1000 |
commit | c3cf5312c1ae666c6c96ada10cf7364ff1a41c98 (patch) | |
tree | f5ecaf796e4a5fcab0af726fcd6d568e5ec8d34c /autogen.sh | |
parent | 9e2bf61d68d580ebdb1c1284097024670a0a8d5b (diff) | |
download | flac-c3cf5312c1ae666c6c96ada10cf7364ff1a41c98.tar.gz |
autogen.sh: Add --no-symlinks option
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -3,6 +3,18 @@ # We trust that the user has a recent enough autoconf & automake setup # (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 () { @@ -40,5 +52,5 @@ test -n "$srcdir" && cd "$srcdir" echo "Updating build configuration files for FLAC, please wait...." touch config.rpath -autoreconf --install --symlink --force +autoreconf --install $use_symlinks --force #./configure "$@" && echo |