mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-14 20:18:39 +00:00
84021454eb
It seems like a poor default for various downstream toolchains. We can't anticipate the compiler warnings for future compiler versions and older ones are prone to false positives. Also, older gdbus-codegen is known to generate code that triggers compiler warnings. Let's keep it enabled for maintainer builds and distcheck so that we're sure a tool chain that builds releases without warnings exists.
33 lines
656 B
Bash
Executable file
33 lines
656 B
Bash
Executable file
#!/bin/sh
|
|
# Run this to generate all the initial makefiles, etc.
|
|
|
|
set -e
|
|
|
|
srcdir=`dirname $0`
|
|
if test -z "$srcdir"; then
|
|
srcdir=.
|
|
fi
|
|
|
|
olddir=`pwd`
|
|
|
|
REQUIRED_AUTOMAKE_VERSION=1.9
|
|
PKG_NAME=NetworkManager
|
|
|
|
(test -f $srcdir/configure.ac \
|
|
&& test -f $srcdir/src/main.c) || {
|
|
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
|
|
echo " top-level $PKG_NAME directory"
|
|
exit 1
|
|
}
|
|
|
|
cd $srcdir
|
|
|
|
gtkdocize
|
|
autopoint --force
|
|
AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install --verbose
|
|
|
|
cd $olddir
|
|
if test -z "$NOCONFIGURE"; then
|
|
exec $srcdir/configure --enable-maintainer-mode --enable-more-warnings=error "$@"
|
|
fi
|