summaryrefslogtreecommitdiff
path: root/lib/ccan
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-06-02 14:15:42 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-06-02 15:56:41 +1000
commit980574238f2db1b40aa5dc8236cef93d98cde0e3 (patch)
treee0c1a886479b34a43f10e1518fcc783523051368 /lib/ccan
parent75c03b332ce42d396f95b1ea49a58c25f989c021 (diff)
downloadsamba-980574238f2db1b40aa5dc8236cef93d98cde0e3.tar.gz
samba-980574238f2db1b40aa5dc8236cef93d98cde0e3.tar.bz2
samba-980574238f2db1b40aa5dc8236cef93d98cde0e3.zip
ccan: fix autoconf test for isblank()
The define in the C code is HAVE_ISBLANK Andrew Bartlett
Diffstat (limited to 'lib/ccan')
-rw-r--r--lib/ccan/libccan.m412
1 files changed, 6 insertions, 6 deletions
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 <ctype.h>
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