unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stepan Kasal <kasal@ucw.cz>
To: Richard Stallman <rms@gnu.org>
Cc: Eli Zaretskii <eliz@gnu.org>,
	eggert@CS.UCLA.EDU, autoconf@gnu.org, emacs-devel@gnu.org
Subject: Re: emacs-22.0.99 configure problem
Date: Thu, 3 May 2007 12:55:37 +0200	[thread overview]
Message-ID: <20070503105537.GB32194@camelia.ucw.cz> (raw)
In-Reply-To: <E1HjGXr-0004KW-5w@fencepost.gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1387 bytes --]

[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@gnu.org 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

[-- Attachment #2: patch-for-emacs.patch --]
[-- Type: text/plain, Size: 1313 bytes --]

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@gnu.org about your system,
-  echo including any error possibly output before this
-  echo message
+  echo Please tell bug-autoconf@gnu.org 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.
 }
 ])
 

[-- Attachment #3: Type: text/plain, Size: 134 bytes --]

_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
http://lists.gnu.org/mailman/listinfo/autoconf

      parent reply	other threads:[~2007-05-03 10:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1HiH8V-0006hv-On@fencepost.gnu.org>
2007-04-30 17:12 ` emacs-22.0.99 configure problem Paul Eggert
2007-05-01 17:24   ` Richard Stallman
2007-05-02  2:37     ` Paul Eggert
2007-05-02  3:16       ` Eli Zaretskii
2007-05-02 15:15         ` Richard Stallman
2007-05-02 20:24           ` Glenn Morris
2007-05-02 22:19             ` Jason Rumney
2007-05-02 23:49               ` Glenn Morris
2007-05-03  2:02             ` Richard Stallman
2007-05-03  4:10               ` Glenn Morris
2007-05-03 10:55           ` Stepan Kasal [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070503105537.GB32194@camelia.ucw.cz \
    --to=kasal@ucw.cz \
    --cc=autoconf@gnu.org \
    --cc=eggert@CS.UCLA.EDU \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).