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

autoheader
autoconf
(cd popt; autoconf)

if [ "$1" = "--noconfigure" ]; then 
    exit 0;
fi

if [ X"$@" = X  -a "X`uname -s`" = "XLinux" ]; then
    ./configure --prefix=/usr
else
    ./configure "$@"
fi