Re: emacs-22.0.99 configure problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[removed autoconf-patches from the cc list]

Hello all,
 I'm answering the easy questions to save some of Paul's time.

On Wed, May 02, 2007 at 11:15:07AM -0400, Richard Stallman wrote:
>     [...] a patched variant of the same version of Autoconf we use today.

ok, then grab the tarball of the Autoconf you use today, apply the
patch attached to this mail (applies cleanly to 2.61 and with some
offset to 2.60).  Then configure with some --prefix, install, enjoy.

(The version number will stay the same, but I do not think we should
be that strict, it's just a wording of a message, after all.)

Alternatively, place this definition to configure.ac, _before_
AC_INIT:

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 bug-autoconf@xxxxxxx 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.
}
])

(Remember to replace that by AC_PREREQ([2.62]) when both your and our
releases are out.)

> [...] or just applying the same change directly to the configure file.

That's a way, too.  Just replace the text in the generated configure
by the new one.  (There is only one occurence.)

Happy hacking,
	Stepan
Index: lib/m4sugar/m4sh.m4
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/m4sugar/m4sh.m4,v
retrieving revision 1.204
retrieving revision 1.206
diff -u -r1.204 -r1.206
--- lib/m4sugar/m4sh.m4	1 Dec 2006 18:32:35 -0000	1.204
+++ lib/m4sugar/m4sh.m4	30 Apr 2007 17:11:50 -0000	1.206
@@ -2,8 +2,8 @@
 # M4 sugar for common shell constructs.
 # Requires GNU M4 and M4sugar.
 #
-# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software
-# Foundation, Inc.
+# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free
+# Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -1502,9 +1502,10 @@
 [_AS_DETECT_SUGGESTED([_AS_SHELL_FN_WORK])
 _AS_RUN([_AS_SHELL_FN_WORK]) || {
   echo No shell found that supports shell functions.
-  echo Please tell autoconf@xxxxxxx about your system,
-  echo including any error possibly output before this
-  echo message
+  echo Please tell bug-autoconf@xxxxxxx 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.
 }
 ])
 
_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux