diff options
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh index 44a1922cb0..f8cdf3c0c1 100755 --- a/autogen.sh +++ b/autogen.sh @@ -6,4 +6,12 @@ case "$0" in *) srcdir="";; esac -exec ${AUTORECONF:-autoreconf} --install --symlink "$@" ${srcdir:+"$srcdir"} +symlink='--install --symlink' +case " $* " in + *" -i "*|*" --install "*) + # reset to copy missing standard auxiliary files, instead of symlinks + symlink= + ;; +esac + +exec ${AUTORECONF:-autoreconf} ${symlink} "$@" ${srcdir:+"$srcdir"} |