- (tim) [configure.ac openbsd-compat/bsd-misc.h openbsd-compat/bsd-misc.c] Add
   support for platforms missing isblank(). ok djm@
diff --git a/configure.ac b/configure.ac
index 97d4e6b..c3700d8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-# $Id: configure.ac,v 1.457 2010/11/05 07:23:38 dtucker Exp $
+# $Id: configure.ac,v 1.458 2010/11/08 22:26:23 tim Exp $
 #
 # Copyright (c) 1999-2004 Damien Miller
 #
@@ -15,7 +15,7 @@
 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
 AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org)
-AC_REVISION($Revision: 1.457 $)
+AC_REVISION($Revision: 1.458 $)
 AC_CONFIG_SRCDIR([ssh.c])
 
 AC_CONFIG_HEADER(config.h)
@@ -1479,6 +1479,17 @@
 	waitpid \
 )
 
+AC_LINK_IFELSE(
+[
+#include <ctype.h>
+int main(void)
+{
+	return (isblank('a'));
+}
+],
+	[AC_DEFINE(HAVE_ISBLANK, 1, [Define if you have isblank(3C).])
+])
+
 # PKCS#11 support requires dlopen() and co
 AC_SEARCH_LIBS(dlopen, dl,
     AC_DEFINE([ENABLE_PKCS11], [], [Enable for PKCS#11 support])