summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-02-14 12:52:49 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:09:22 +0200
commit802c65dfd9e33f9e2661daafa72e17b032e50e58 (patch)
tree7308583760ba1fb4946ab0936510502fb97196ca /m4
parent5bd7c1b6e2084f735878ad0f95c0296ba3b493bf (diff)
downloadexternal_gettext-802c65dfd9e33f9e2661daafa72e17b032e50e58.zip
external_gettext-802c65dfd9e33f9e2661daafa72e17b032e50e58.tar.gz
external_gettext-802c65dfd9e33f9e2661daafa72e17b032e50e58.tar.bz2
Move m4/mbswidth.m4 to gettext-tools/m4/mbswidth.m4.
Diffstat (limited to 'm4')
-rw-r--r--m4/mbswidth.m442
1 files changed, 0 insertions, 42 deletions
diff --git a/m4/mbswidth.m4 b/m4/mbswidth.m4
deleted file mode 100644
index 4059320..0000000
--- a/m4/mbswidth.m4
+++ /dev/null
@@ -1,42 +0,0 @@
-# mbswidth.m4 serial 6 (fileutils-4.1.3)
-dnl Copyright (C) 2000-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
-dnl Public License, this file may be distributed as part of a program
-dnl that contains a configuration script generated by Autoconf, under
-dnl the same distribution terms as the rest of that program.
-
-dnl autoconf tests required for use of mbswidth.c
-dnl From Bruno Haible.
-
-AC_DEFUN([jm_PREREQ_MBSWIDTH],
-[
- AC_REQUIRE([AC_HEADER_STDC])
- AC_CHECK_HEADERS(limits.h stdlib.h string.h wchar.h wctype.h)
- AC_CHECK_FUNCS(isascii iswcntrl iswprint mbsinit wcwidth)
- jm_FUNC_MBRTOWC
-
- AC_CACHE_CHECK([whether wcwidth is declared], ac_cv_have_decl_wcwidth,
- [AC_TRY_COMPILE([
-/* AIX 3.2.5 declares wcwidth in <string.h>. */
-#if HAVE_STRING_H
-# include <string.h>
-#endif
-#if HAVE_WCHAR_H
-# include <wchar.h>
-#endif
-], [
-#ifndef wcwidth
- char *p = (char *) wcwidth;
-#endif
-], ac_cv_have_decl_wcwidth=yes, ac_cv_have_decl_wcwidth=no)])
- if test $ac_cv_have_decl_wcwidth = yes; then
- ac_val=1
- else
- ac_val=0
- fi
- AC_DEFINE_UNQUOTED(HAVE_DECL_WCWIDTH, $ac_val,
- [Define to 1 if you have the declaration of wcwidth(), and to 0 otherwise.])
-
- AC_MBSTATE_T
-])