aboutsummaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2011-10-12 00:15:11 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-03-15 14:14:18 +0100
commitbb7311f27c2e837ab89d45eec36c1ae6f36d2f42 (patch)
tree77f0ec4962baa6d09f675c8327ac73bd2a6b5e87 /autogen.sh
parent7e0f016c25aec93a88412f47d7add155d2857a45 (diff)
build: improve project bootstrapping
Align autogen.sh with the one in NM: * Just calling autoreconf once * Using autopoint from GNU gettext * Enabling the use of NOCONFIGURE
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/autogen.sh b/autogen.sh
index 62614d94..d99bad67 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -3,7 +3,7 @@
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
-REQUIRED_AUTOMAKE_VERSION=1.7
+REQUIRED_AUTOMAKE_VERSION=1.9
PKG_NAME=ModemManager
(test -f $srcdir/configure.ac \
@@ -14,8 +14,9 @@ PKG_NAME=ModemManager
}
(cd $srcdir;
- autoreconf --install --symlink &&
- intltoolize --force &&
- autoreconf &&
- ./configure --enable-maintainer-mode $@
+ autopoint --force
+ AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install --verbose
+ if test -z "$NOCONFIGURE"; then
+ ./configure --enable-maintainer-mode $@
+ fi
)