device: renew dhcp leases on awake for software devices
[NetworkManager.git] / autogen.sh
1 #!/bin/sh
2 # Run this to generate all the initial makefiles, etc.
3
4 set -e
5
6 srcdir=`dirname $0`
7 if test -z "$srcdir"; then
8     srcdir=.
9 fi
10
11 olddir=`pwd`
12
13 REQUIRED_AUTOMAKE_VERSION=1.9
14 PKG_NAME=NetworkManager
15
16 (test -f $srcdir/configure.ac \
17   && test -f $srcdir/src/main.c) || {
18     printf "**Error**: Directory "\`$srcdir\'" does not look like the" >&2
19     echo " top-level $PKG_NAME directory" >&2
20     exit 1
21 }
22
23 cd $srcdir
24
25 gtkdocize
26 autopoint --force
27 AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install --verbose
28
29 cd $olddir
30 if test -z "$NOCONFIGURE"; then
31         exec $srcdir/configure --enable-maintainer-mode --enable-more-warnings=error "$@"
32 fi