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

libtoolize --copy --force
aclocal
autoheader
automake
autoconf

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

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