diff options
author | Bruno Haible <bruno@clisp.org> | 2008-12-18 03:28:36 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2008-12-18 03:28:36 +0100 |
commit | cb252a70ec76d7386a3b1f60eb2946bf15c19db8 (patch) | |
tree | 7b8afce1ef946d6f790eb68162ae2fccce50ca2a /m4/mbrtowc.m4 | |
parent | 9b3f89390fcecf075fa14254cab1ad11d02f65a5 (diff) | |
download | gnulib-cb252a70ec76d7386a3b1f60eb2946bf15c19db8.tar.gz |
Don't override a newer version of an autoconf macro with an older version.
Diffstat (limited to 'm4/mbrtowc.m4')
-rw-r--r-- | m4/mbrtowc.m4 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/m4/mbrtowc.m4 b/m4/mbrtowc.m4 index 16ad6ca155..a0274933b0 100644 --- a/m4/mbrtowc.m4 +++ b/m4/mbrtowc.m4 @@ -9,6 +9,7 @@ dnl From Paul Eggert dnl This override of an autoconf macro can be removed when autoconf 2.60 or dnl newer can be assumed everywhere. +m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.60]),[-1],[ AC_DEFUN([AC_FUNC_MBRTOWC], [ dnl Same as AC_FUNC_MBRTOWC in autoconf-2.60. @@ -29,3 +30,4 @@ AC_DEFUN([AC_FUNC_MBRTOWC], [Define to 1 if mbrtowc and mbstate_t are properly declared.]) fi ]) +]) |