From 980574238f2db1b40aa5dc8236cef93d98cde0e3 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sat, 2 Jun 2012 14:15:42 +1000 Subject: ccan: fix autoconf test for isblank() The define in the C code is HAVE_ISBLANK Andrew Bartlett --- lib/ccan/libccan.m4 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/ccan') diff --git a/lib/ccan/libccan.m4 b/lib/ccan/libccan.m4 index 1efa0f0f42..93dc99e10e 100644 --- a/lib/ccan/libccan.m4 +++ b/lib/ccan/libccan.m4 @@ -268,19 +268,19 @@ if test x"$samba_cv_compound_literals" = xyes ; then [whether we have compound literals]) fi -AC_CACHE_CHECK([whether we have __builtin_have_isblank], - samba_cv_builtin_have_isblank, +AC_CACHE_CHECK([whether we have isblank], + samba_cv_have_isblank, [ AC_LINK_IFELSE( [#include int main(void) { return isblank(' ') ? 0 : 1; } ], - samba_cv_builtin_have_isblank=yes) + samba_cv_have_isblank=yes) ]) -if test x"$samba_cv_builtin_have_isblank" = xyes ; then - AC_DEFINE(HAVE_BUILTIN_HAVE_ISBLANK, 1, - [whether we have __builtin_have_isblank]) +if test x"$samba_cv_have_isblank" = xyes ; then + AC_DEFINE(HAVE_ISBLANK, 1, + [whether we have isblank]) fi # FIXME: We could use endian.h or sys/endian.h here, and __BYTE_ORDER for -- cgit