From 033477977660b86ce7e4897f0d446dc8bf3126ba Mon Sep 17 00:00:00 2001 From: Bryan Jurish Date: Mon, 26 Jan 2009 10:44:44 +0000 Subject: + added AM_MAINTAINER_MODE to */configure.ac - hack to avoid version mismatches in autoconf,automake,etc. on autobuilds from SVN svn path=/trunk/externals/moocow/; revision=10649 --- gfsm/gfsm/aclocal.m4 | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'gfsm/gfsm/aclocal.m4') diff --git a/gfsm/gfsm/aclocal.m4 b/gfsm/gfsm/aclocal.m4 index 60b1104..44872d7 100644 --- a/gfsm/gfsm/aclocal.m4 +++ b/gfsm/gfsm/aclocal.m4 @@ -7261,6 +7261,35 @@ if test "$LEX" = :; then LEX=${am_missing_run}flex fi]) +# Add --enable-maintainer-mode option to configure. -*- Autoconf -*- +# From Jim Meyering + +# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 4 + +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, 2005 Free Software Foundation, Inc. -- cgit v1.2.1