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