2 # Run this to generate all the initial makefiles, etc.
5 test -z "$srcdir" && srcdir=.
9 REQUIRED_AUTOMAKE_VERSION=1.9
10 PKG_NAME=NetworkManager
12 (test -f $srcdir/configure.ac \
13 && test -f $srcdir/src/main.c) || {
14 echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
15 echo " top-level $PKG_NAME directory"
21 # Fetch submodules if needed
22 if test -d $srcdir/.git; then
23 echo "+ Setting up submodules"
30 AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install --verbose
33 if test -z "$NOCONFIGURE"; then
34 $srcdir/configure --enable-maintainer-mode "$@"