diff options
author | Bryan Jurish <mukau@users.sourceforge.net> | 2009-01-26 10:44:44 +0000 |
---|---|---|
committer | Bryan Jurish <mukau@users.sourceforge.net> | 2009-01-26 10:44:44 +0000 |
commit | 033477977660b86ce7e4897f0d446dc8bf3126ba (patch) | |
tree | e9e2b76b7590cc081cfed43a53e0da0e5e5ed524 /locale/aclocal.m4 | |
parent | 4d788c826b6e354f6aa29a047dcd2e93bb220c73 (diff) |
+ 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
Diffstat (limited to 'locale/aclocal.m4')
-rw-r--r-- | locale/aclocal.m4 | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/locale/aclocal.m4 b/locale/aclocal.m4 index 7d473d5..b7a0e85 100644 --- a/locale/aclocal.m4 +++ b/locale/aclocal.m4 @@ -501,6 +501,35 @@ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) +# 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. |