diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2011-10-12 00:15:11 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:14:18 +0100 |
commit | bb7311f27c2e837ab89d45eec36c1ae6f36d2f42 (patch) | |
tree | 77f0ec4962baa6d09f675c8327ac73bd2a6b5e87 /autogen.sh | |
parent | 7e0f016c25aec93a88412f47d7add155d2857a45 (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-x | autogen.sh | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -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 ) |