summaryrefslogtreecommitdiff
path: root/shells/bash/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'shells/bash/patches/patch-ac')
-rw-r--r--shells/bash/patches/patch-ac21
1 files changed, 21 insertions, 0 deletions
diff --git a/shells/bash/patches/patch-ac b/shells/bash/patches/patch-ac
new file mode 100644
index 00000000000..a7735f518a3
--- /dev/null
+++ b/shells/bash/patches/patch-ac
@@ -0,0 +1,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