Start converting variables into macro expansions.
[platform/upstream/rpm.git] / autogen.sh
1 #!/bin/sh
2
3 autoheader
4 autoconf
5 (cd popt; autoconf)
6
7 if [ "$1" = "--noconfigure" ]; then 
8     exit 0;
9 fi
10
11 if [ X"$@" = X  -a "X`uname -s`" = "XLinux" ]; then
12     ./configure --prefix=/usr
13 else
14     ./configure "$@"
15 fi