summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2002-02-04 13:37:31 +0000
committerBruno Haible <bruno@clisp.org>2009-06-22 01:15:14 +0200
commite54357669bd7b199f1f6fc665415c3531f7dd834 (patch)
treeddc1eac9f7130def289721610b8e5e3fda557f0a /m4
parentfa904575cab11b5c01477be70027b2f7dbf5b2ea (diff)
downloadexternal_gettext-e54357669bd7b199f1f6fc665415c3531f7dd834.zip
external_gettext-e54357669bd7b199f1f6fc665415c3531f7dd834.tar.gz
external_gettext-e54357669bd7b199f1f6fc665415c3531f7dd834.tar.bz2
Fix for VPATH builds.
Diffstat (limited to 'm4')
-rw-r--r--m4/ChangeLog4
-rw-r--r--m4/fnmatch.m43
2 files changed, 6 insertions, 1 deletions
diff --git a/m4/ChangeLog b/m4/ChangeLog
index 3e1d618..74fbed7 100644
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -1,3 +1,7 @@
+2002-02-02 Bruno Haible <bruno@clisp.org>
+
+ * fnmatch.m4 (gt_FUNC_FNMATCH): Ensure directory lib exists.
+
2002-02-04 Bruno Haible <bruno@clisp.org>
* javacomp.m4 (gt_JAVACOMP): Use changequote to protect brackets.
diff --git a/m4/fnmatch.m4 b/m4/fnmatch.m4
index 36ab3dc..1266cb1 100644
--- a/m4/fnmatch.m4
+++ b/m4/fnmatch.m4
@@ -1,4 +1,4 @@
-# fnmatch.m4 serial 1 (gettext-0.11)
+# fnmatch.m4 serial 2 (gettext-0.11.1)
dnl Copyright (C) 1996-2002 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
@@ -37,6 +37,7 @@ AC_DEFUN([gt_FUNC_FNMATCH],
if test $gt_cv_func_fnmatch_works = yes; then
rm -f lib/fnmatch.h
else
+ test -d lib || mkdir lib
echo '#include "pfnmatch.h"' > lib/fnmatch.h
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() in