[Mesa-dev] [PATCH 2/2] build: Enable maintainer mode
Thierry Reding
thierry.reding at avionic-design.de
Fri Sep 14 00:22:05 PDT 2012
When running the configure script from autogen.sh, enable the maintainer
mode by passing --enable-maintainer-mode. This activates some rules to
regenerate autotools files automatically.
---
autogen.sh | 2 +-
configure.ac | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/autogen.sh b/autogen.sh
index 626d213..9d3fb60 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -10,5 +10,5 @@ autoreconf -v --install || exit 1
cd $ORIGDIR || exit $?
if test -z "$NOCONFIGURE"; then
- "$srcdir"/configure "$@"
+ "$srcdir"/configure "$@" --enable-maintainer-mode
fi
diff --git a/configure.ac b/configure.ac
index 184d1ed..1451e83 100644
--- a/configure.ac
+++ b/configure.ac
@@ -12,6 +12,7 @@ AC_CONFIG_AUX_DIR([bin])
AC_CONFIG_MACRO_DIR([m4])
AC_CANONICAL_SYSTEM
AM_INIT_AUTOMAKE([foreign])
+AM_MAINTAINER_MODE
dnl http://people.gnome.org/~walters/docs/build-api.txt
dnl We don't support srcdir != builddir.
--
1.7.12
More information about the mesa-dev
mailing list