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 | bb3ac3fc500294135ddee8846a177c301e065116 (patch) | |
tree | db35cecd455981106c8856b0d1a72045ccd74cea /aclocal.m4 | |
parent | 3353af09b9ed491383f2b28e9ecfbc46ba3505a4 (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/pdstring/; revision=10649
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 29 |
1 files changed, 29 insertions, 0 deletions
@@ -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. |