summaryrefslogtreecommitdiff
path: root/shells/bash2/patches/patch-aj
blob: 3268b3d5c5ca3ca3cf1aa42e890c16eb0f28d92f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-aj,v 1.1 2004/06/22 14:05:39 minskim Exp $

--- configure.in.orig	2002-07-16 08:31:25.000000000 -0500
+++ configure.in
@@ -678,6 +678,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