summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorewt <devnull@localhost>1998-03-04 16:53:54 +0000
committerewt <devnull@localhost>1998-03-04 16:53:54 +0000
commit179e9c159a23c4908a7b1bcdb70639f6d9008d35 (patch)
tree6e58533ce91e04a1fa58749014de98e2e717fc93 /autogen.sh
parent0f2c5851dac43dce7f8174de5849dd7f542ce2b6 (diff)
downloadrpm-179e9c159a23c4908a7b1bcdb70639f6d9008d35.tar.gz
rpm-179e9c159a23c4908a7b1bcdb70639f6d9008d35.tar.bz2
rpm-179e9c159a23c4908a7b1bcdb70639f6d9008d35.zip
1) added more portability checks
2) use new dependency scheume 3) use autoheader CVS patchset: 2026 CVS date: 1998/03/04 16:53:54
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 000000000..063a13d0f
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+autoheader
+autoconf
+(cd popt; autoconf)
+
+if [ "$1" = "--noconfigure" ]; then
+ exit 0;
+fi
+
+if [ -z "$@" ]; then
+ ./configure --prefix=/usr
+else
+ ./configure "$@"
+fi