Automake fiddles.
[platform/upstream/rpm.git] / autogen.sh
1 #!/bin/sh
2
3 autoheader
4 autoconf
5 echo timestamp > stamp-h.in
6 (cd popt; autoconf; echo timestamp > stamp-h.in)
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
14 else
15     ./configure "$@"
16 fi