summaryrefslogtreecommitdiff
path: root/autogen.sh
blob: f8cdf3c0c1eb695085edc88ae7060834b1f12284 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

PWD=
case "$0" in
*/*) srcdir=`dirname $0`;;
*) srcdir="";;
esac

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"}