1) added more portability checks
[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 [ -z "$@" ]; then
12     ./configure --prefix=/usr
13 else
14     ./configure "$@"
15 fi