summaryrefslogtreecommitdiff
path: root/shells/bash/patches/patch-ac
blob: a7735f518a3029b4b7997cb6e6fd1ba14a1bf9a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ac,v 1.1 2004/10/23 07:48:03 minskim Exp $

--- configure.in.orig	2004-07-21 15:06:54.000000000 -0500
+++ configure.in
@@ -756,6 +756,16 @@ AC_CHECK_SIZEOF([long long], 8)
 
 AC_CHECK_TYPE(u_int, [unsigned int])
 AC_CHECK_TYPE(u_long, [unsigned long])
+AC_CHECK_TYPE(wctype_t,
+[  	cat >>confdefs.h <<\_ACEOF
+#define HAVE_WCTYPE_T 1
+_ACEOF],,
+[#ifdef HAVE_WCHAR_H
+#include <wchar.h>
+#endif
+#ifdef HAVE_WCTYPE_H
+#include <wctype.h>
+#endif])
 
 BASH_TYPE_BITS16_T
 BASH_TYPE_U_BITS16_T