summaryrefslogtreecommitdiff
path: root/m4/wchar.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/wchar.m4')
-rw-r--r--m4/wchar.m429
1 files changed, 0 insertions, 29 deletions
diff --git a/m4/wchar.m4 b/m4/wchar.m4
deleted file mode 100644
index 068f22d..0000000
--- a/m4/wchar.m4
+++ /dev/null
@@ -1,29 +0,0 @@
-dnl A placeholder for ISO C99 <wchar.h>, for platforms that have issues.
-
-dnl Copyright (C) 2007 Free Software Foundation, Inc.
-dnl This file is free software; the Free Software Foundation
-dnl gives unlimited permission to copy and/or distribute it,
-dnl with or without modifications, as long as this notice is preserved.
-
-dnl Written by Eric Blake.
-
-# wchar.m4 serial 1
-
-AC_DEFUN([gl_WCHAR_H],
-[
- AC_CACHE_CHECK([whether <wchar.h> is standalone],
- [gl_cv_header_wchar_h_standalone],
- [AC_COMPILE_IFELSE([[#include <wchar.h>
-wchar_t w;]],
- [gl_cv_header_wchar_h_standalone=yes],
- [gl_cv_header_wchar_h_standalone=no])])
- if test $gl_cv_header_wchar_h_standalone = yes; then
- WCHAR_H=
- else
- gl_ABSOLUTE_HEADER([wchar.h])
- ABSOLUTE_WCHAR_H=\"$gl_cv_absolute_wchar_h\"
- WCHAR_H=wchar.h
- fi
- AC_SUBST([ABSOLUTE_WCHAR_H])
- AC_SUBST([WCHAR_H])
-])