Merge "allow rpm to custom systemd installation" into tizen
[platform/upstream/rpm.git] / autogen.sh
1 #!/bin/sh
2
3 export CPPFLAGS
4 export CFLAGS
5 export LDFLAGS
6
7 autoreconf -i
8
9 case "$1" in
10   "--noconfigure")
11     exit 0;
12     ;;
13   "--rpmconfigure")
14     shift
15     eval "`rpm --eval %configure`" "$@"
16     ;;
17   *)
18     ./configure "$@"
19     ;;
20 esac