diff options
author | Tim Rice <tim@multitalents.net> | 2010-11-08 23:26:23 +0100 |
---|---|---|
committer | Tim Rice <tim@multitalents.net> | 2010-11-08 23:26:23 +0100 |
commit | c7a8af03a022e8ab52422b6ce26fdbcb729031fd (patch) | |
tree | fa4a41a93bb6293c740d52a9a1c9aa2ace0046db /configure.ac | |
parent | - (tim) [regress/kextype.sh] Not all platforms have time in /usr/bin. (diff) | |
download | openssh-c7a8af03a022e8ab52422b6ce26fdbcb729031fd.tar.xz openssh-c7a8af03a022e8ab52422b6ce26fdbcb729031fd.zip |
- (tim) [configure.ac openbsd-compat/bsd-misc.h openbsd-compat/bsd-misc.c] Add
support for platforms missing isblank(). ok djm@
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 97d4e6bdb..c3700d8dd 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 @@ AC_CHECK_FUNCS( \ 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]) |