changeset 11539:6194ff98b9d0

m4/fnmatch.m4: Fix fnmatch re-define.
author Simon Josefsson <simon@josefsson.org>
date Mon, 04 May 2009 00:04:23 +0200
parents af683213eeb0
children 4761ce04b703
files ChangeLog m4/fnmatch.m4
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-05-04  Simon Josefsson  <simon@josefsson.org>
+
+	* m4/fnmatch.m4: Fix fnmatch re-define.
+
 2009-04-27  David Bartley  <dtbartle@csclub.uwaterloo.ca>
 
 	priv-set: new module and tests; adapt write-any-file
--- a/m4/fnmatch.m4
+++ b/m4/fnmatch.m4
@@ -101,7 +101,7 @@
     dnl We must choose a different name for our function, since on ELF systems
     dnl a broken fnmatch() in libc.so would override our fnmatch() if it is
     dnl compiled into a shared library.
-    AC_DEFINE([fnmatch], [${gl_fnmatch_required_lowercase}_fnmatch],
+    AC_DEFINE_UNQUOTED([fnmatch], [${gl_fnmatch_required_lowercase}_fnmatch],
       [Define to a replacement function name for fnmatch().])
     dnl Prerequisites of lib/fnmatch.c.
     AC_REQUIRE([AC_TYPE_MBSTATE_T])