This patch removes the shell function "spy" that was added a
few years ago. It did help finding a couple of bugs, it has
made its time though.
2008-09-18 Paolo Bonzini <[EMAIL PROTECTED]>
* lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_SPY): Remove.
(AS_INIT): Do not call it.
---
lib/m4sugar/m4sh.m4 | 17 -----------------
1 files changed, 0 insertions(+), 17 deletions(-)
diff --git a/lib/m4sugar/m4sh.m4 b/lib/m4sugar/m4sh.m4
index 3b4fcb8..0184843 100644
--- a/lib/m4sugar/m4sh.m4
+++ b/lib/m4sugar/m4sh.m4
@@ -1640,22 +1640,6 @@ m4_define([AS_VAR_POPDEF],
## ----------------- ##
-# _AS_SHELL_FN_SPY
-# ----------------
-# This temporary macro checks "in the wild" for shells that do
-# not support shell functions.
-m4_define([_AS_SHELL_FN_SPY],
-[_AS_DETECT_SUGGESTED([_AS_SHELL_FN_WORK])
-_AS_RUN([_AS_SHELL_FN_WORK]) || {
- echo No shell found that supports shell functions.
- echo Please tell [EMAIL PROTECTED] about your system,
- echo including any error possibly output before this message.
- echo This can help us improve future autoconf versions.
- echo Configuration will now proceed without shell functions.
-}
-])
-
-
# AS_INIT
# -------
# Initialize m4sh.
@@ -1672,7 +1656,6 @@ m4_divert_text([BINSH], [EMAIL PROTECTED]:@! /bin/sh])
m4_divert_text([HEADER-COMMENT],
[EMAIL PROTECTED]:@ Generated from __file__ by
m4_PACKAGE_STRING.])
m4_divert_text([M4SH-SANITIZE], [AS_SHELL_SANITIZE])
-AS_REQUIRE([_AS_SHELL_FN_SPY])
# Let's go!
m4_divert_pop([KILL])[]dnl
--
1.5.5