summaryrefslogtreecommitdiffstats
path: root/aclocal.m4
diff options
context:
space:
mode:
authorNathan Kinder <nkinder@redhat.com>2006-10-26 22:23:03 +0000
committerNathan Kinder <nkinder@redhat.com>2006-10-26 22:23:03 +0000
commitfd813581526d7f446e0f105a1aafb91f23304676 (patch)
tree31d4a6953958c6a7dde44809b30fece3b759f54b /aclocal.m4
parent7453f55416dd6e4904907598920605b610eccd67 (diff)
downloadds-fd813581526d7f446e0f105a1aafb91f23304676.tar.gz
ds-fd813581526d7f446e0f105a1aafb91f23304676.tar.xz
ds-fd813581526d7f446e0f105a1aafb91f23304676.zip
Resolves: 212483
Summary: Added autogen script to enforce versions of build tools used to generate build files.
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m440
1 files changed, 40 insertions, 0 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 16f56f88..ac8bf54f 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -6505,6 +6505,46 @@ fi
rmdir .tst 2>/dev/null
AC_SUBST([am__leading_dot])])
+# Add --enable-maintainer-mode option to configure.
+# From Jim Meyering
+
+# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004
+# Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+
+# serial 3
+
+AC_DEFUN([AM_MAINTAINER_MODE],
+[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
+ dnl maintainer-mode is disabled by default
+ AC_ARG_ENABLE(maintainer-mode,
+[ --enable-maintainer-mode enable make rules and dependencies not useful
+ (and sometimes confusing) to the casual installer],
+ USE_MAINTAINER_MODE=$enableval,
+ USE_MAINTAINER_MODE=no)
+ AC_MSG_RESULT([$USE_MAINTAINER_MODE])
+ AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
+ MAINT=$MAINTAINER_MODE_TRUE
+ AC_SUBST(MAINT)dnl
+]
+)
+
+AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
+
# Check to see how 'make' treats includes. -*- Autoconf -*-
# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.