diff options
author | Dan Williams <dcbw@redhat.com> | 2009-05-26 23:18:20 -0400 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2009-05-26 23:18:20 -0400 |
commit | e5fd0d73061cd10e89d0f5a8c0e748312653ce65 (patch) | |
tree | 396bde9342b6bd384ce49b39c0a3f9adffdb71a4 /autogen.sh | |
parent | 5df33e6b2cf234651ccee6db0c4007c292b84025 (diff) | |
download | mobile-broadband-provider-info-e5fd0d73061cd10e89d0f5a8c0e748312653ce65.tar.gz |
add an autogen.sh; clean up configure.ac
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..9bedfb8 --- /dev/null +++ b/autogen.sh @@ -0,0 +1,22 @@ +#!/bin/sh +# Run this to generate all the initial makefiles, etc. + +srcdir=`dirname $0` +test -z "$srcdir" && srcdir=. +REQUIRED_AUTOMAKE_VERSION=1.7 +PKG_NAME=mobile-broadband-provider-info + +(test -f $srcdir/configure.ac \ + && test -f $srcdir/serviceproviders.xml) || { + echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" + echo " top-level $PKG_NAME directory" + exit 1 +} + + +(cd $srcdir; + autoreconf --install --symlink && + autoreconf && + ./configure --enable-maintainer-mode $@ +) + |