changeset 30537:6bceff3ccfb5

Avoid relying on m4_copy which has changed in newer autoconf.
author Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
date Thu, 04 Dec 2008 01:31:06 +0100
parents 33a1b6cc2dac
children 95bc8d012563
files ChangeLog m4/openmp.m4
diffstat 2 files changed, 13 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Dec 01 11:49:36 2008 -0700
+++ b/ChangeLog	Thu Dec 04 01:31:06 2008 +0100
@@ -1,3 +1,8 @@
+2008-12-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+            Bruno Haible  <bruno@clisp.org>
+
+	* m4/openmp.m4 (AC_OPENMP): Do not define with Autoconf 2.62 or newer.
+
 2008-11-29  Jim Meyering  <meyering@redhat.com>
 
 	fts: fix a thinko
--- a/m4/openmp.m4	Mon Dec 01 11:49:36 2008 -0700
+++ b/m4/openmp.m4	Thu Dec 04 01:31:06 2008 +0100
@@ -1,11 +1,15 @@
-# 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.
 
+dnl Expand to nothing in autoconf >= 2.62. m4_copy has a different
+dnl semantic in autoconf > 2.63.
+m4_ifdef([AC_OPENMP], [], [
+
 # _AC_LANG_OPENMP
 # ---------------
 # Expands to some language dependent source code for testing the presence of
@@ -90,3 +94,5 @@
   fi
   AC_SUBST([OPENMP_]_AC_LANG_PREFIX[FLAGS])
 ])
+
+])