[Top][All Lists]

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

_AC_LANG_OPENMP and m4_copy

From: Ralf Wildenhues
Subject: _AC_LANG_OPENMP and m4_copy
Date: Wed, 3 Dec 2008 21:01:53 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

When I try to `./autogen.sh --quick' CVS gettext, using git Autoconf,
things fall over like this (several instances):

| gnulib-m4/openmp.m4:29: error: m4_copy: won't overwrite defined macro: 
| gnulib-m4/openmp.m4:29: the top level
| autom4te: /usr/bin/m4 failed with exit status: 1
| aclocal: autom4te failed with exit status: 1

I'm not quite sure whether an Autoconf bug/incompatibility is involved
here (therefore the Cc: to bug-autoconf).  m4_copy wasn't documented in
earlier Autoconf releases, but there may still have been problematic
semantic changes, I don't know.

Anyway, the following patch seems to fix it.  OK to apply?


2008-12-03  Ralf Wildenhues  <address@hidden>

        * m4/openmp.m4 (AC_OPENMP): Do not define with Autoconf 2.62 or

diff --git a/m4/openmp.m4 b/m4/openmp.m4
index 8fd510b..bd78809 100644
--- a/m4/openmp.m4
+++ b/m4/openmp.m4
@@ -1,11 +1,13 @@
-# openmp.m4 serial 4
-dnl Copyright (C) 2006-2007 Free Software Foundation, Inc.
+# openmp.m4 serial 5
+dnl Copyright (C) 2006-2008 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
 dnl This file can be removed once we assume autoconf >= 2.62.
+m4_version_prereq([2.62],, [
 # ---------------
 # Expands to some language dependent source code for testing the presence of
@@ -90,3 +92,5 @@ AC_DEFUN([AC_OPENMP],

reply via email to

[Prev in Thread] Current Thread [Next in Thread]