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

autoheader
autoconf
echo timestamp > stamp-h.in
(cd popt; autoconf; echo timestamp > stamp-h.in)

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

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