Hello,

I need this patch to run ./autogen.sh with the latest Autoconf version
(2.64).  The only earlier version I am able to test is 2.63, which
works fine with the patch.

The warnings I am seeing and workarounds are here:

http://www.gnu.org/software/hello/manual/autoconf/Expanded-Before-Required.html

Okay to apply? (or is there a better fix?)

Thanks,
Patrick
>From 7eabe964bdb01d6c3cc2f818af972cc327a98da6 Mon Sep 17 00:00:00 2001
From: Patrick McCarty <pnor...@gmail.com>
Date: Wed, 5 Aug 2009 20:49:52 -0700
Subject: [PATCH] Fix build with Autoconf 2.64

---
 configure.in        |    3 +++
 stepmake/aclocal.m4 |    1 -
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/configure.in b/configure.in
index b067305..3e4286d 100644
--- a/configure.in
+++ b/configure.in
@@ -11,6 +11,9 @@ AC_CONFIG_AUX_DIR([stepmake/bin])
 # For stepmake package:
 # AC_CONFIG_AUX_DIR(bin)
 
+# must expand this at top-level for autoconf>=2.64
+AC_PROG_CC
+
 
 STEPMAKE_INIT
 
diff --git a/stepmake/aclocal.m4 b/stepmake/aclocal.m4
index 37bf7fe..3786968 100644
--- a/stepmake/aclocal.m4
+++ b/stepmake/aclocal.m4
@@ -205,7 +205,6 @@ AC_DEFUN(STEPMAKE_COMPILE, [
        OPTIMIZE="$OPTIMIZE -g"
     fi
  
-    AC_PROG_CC
     STEPMAKE_OPTIONAL_REQUIRED(CC, cc, $1)
     LD='$(CC)'
     AC_SUBST(LD)
-- 
1.6.4

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to