m4/fnmatch.m4: Fix fnmatch re-define.
authorSimon Josefsson <simon@josefsson.org>
Sun, 3 May 2009 22:04:23 +0000 (00:04 +0200)
committerSimon Josefsson <simon@josefsson.org>
Sun, 3 May 2009 22:04:23 +0000 (00:04 +0200)
ChangeLog
m4/fnmatch.m4

index 6d89efb..5f552f8 100644 (file)
--- 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
index 93ec2b3..9481a10 100644 (file)
@@ -101,7 +101,7 @@ AC_DEFUN([gl_FUNC_FNMATCH_POSIX],
     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])