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

(cd popt; ./autogen.sh "$@")
libtoolize --copy
autoheader
autoconf

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

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