Eliminate generated files.
[platform/upstream/rpm.git] / autogen.sh
1 #!/bin/sh
2
3 (cd popt; ./autogen.sh --noconfigure "$@")
4 libtoolize --copy --force
5 aclocal
6 autoheader
7 automake
8 autoconf
9
10 if [ "$1" = "--noconfigure" ]; then 
11     exit 0;
12 fi
13
14 if [ X"$@" = X  -a "X`uname -s`" = "XLinux" ]; then
15     ./configure --disable-shared --prefix=/usr
16 else
17     ./configure --disable-shared "$@"
18 fi