From c5f79a3ae8595d99956f09d99c7afb50994f235e Mon Sep 17 00:00:00 2001 From: Fish <> Date: Tue, 1 Jun 2004 09:25:57 +0000 Subject: [PATCH] more files *sigh* --- .gitattributes | 1 + autotools/ax_maintainer_mode_auto_silent.m4 | 25 +++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 autotools/ax_maintainer_mode_auto_silent.m4 diff --git a/.gitattributes b/.gitattributes index 6bd368fa..9f02f7af 100644 --- a/.gitattributes +++ b/.gitattributes @@ -19,6 +19,7 @@ /aclocal.m4 -text autotools/acinclude.m4 -text autotools/aclocal.m4 -text +autotools/ax_maintainer_mode_auto_silent.m4 -text autotools/compile -text autotools/config.guess -text autotools/config.sub -text diff --git a/autotools/ax_maintainer_mode_auto_silent.m4 b/autotools/ax_maintainer_mode_auto_silent.m4 new file mode 100644 index 00000000..39b7e948 --- /dev/null +++ b/autotools/ax_maintainer_mode_auto_silent.m4 @@ -0,0 +1,25 @@ +dnl @* AX_MAINTAINER_MODE_AUTO_SILENT +dnl +dnl Set autotools to error/sleep settings so that they are not run when +dnl being errornously triggered. Likewise make libtool-silent when +dnl libtool has been used. +dnl +dnl I am using the macro quite a lot since some automake versions had the +dnl tendency to try to rerun some autotools on a mere make even when not +dnl quite in --maintainer-mode. That is very annoying. Likewise, a user +dnl who installs from source does not want to see doubled compiler messages. +dnl +dnl I did not put an AC-REQUIRE(MAINTAINER_MODE) in here - should I? +dnl +dnl @: guidod@gmx.de +dnl @$Id: ax_maintainer_mode_auto_silent.m4,v 1.1 2003/10/19 00:12:45 guidod Exp $ + +AC_DEFUN([AX_MAINTAINER_MODE_AUTO_SILENT], +[AC_MSG_CHECKING(silent building of source files) + if test ".$LIBTOOL" != "." ; then + LIBTOOL="$LIBTOOL --quiet" + AC_MSG_RESULT([Enabled]) + else + AC_MSG_RESULT([Disabled]) + fi +])