summaryrefslogtreecommitdiffstats
path: root/lib/ccan/libccan.m4
Commit message (Collapse)AuthorAgeFilesLines
* build: Remove autoconf build systemAndrew Bartlett2013-05-281-363/+0
| | | | | | | | | | | We are now confident that that waf build system meets enough of our needs that we will work to improve it, rather than maintain two build systems. Andrew Bartlett Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* autoconf: build in NTDB.Rusty Russell2013-04-121-1/+1
| | | | | | | | | | | | | | | | | I previously added -DDISABLE_NTDB to FLAGS, but lib/param/util.c doesn't seem to be compiled with that flag, so it's really not a good solution. So instead, compile in ntdb for the autoconf build. This means: 1) Add -DHAVE_CCAN to cflags. 2) Remove pyntdb from autoconf objects (which is what tdb does) 3) Remove -DDISABLE_NTDB 4) Add ntdb utility objects 5) Link in ntdb everywhere we link in tdb. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Reviewed-by: Jeremy Allison <jra@samba.org>
* ccan: fix HAVE_BSWAP_64 for autoconf.Rusty Russell2013-04-031-1/+15
| | | | | | | Autoconf defines HAVE_BSWAP_64_DECL, we want HAVE_BSWAP_64. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Reviewed-by: Jeremy Allison <jra@samba.org>
* ccan: check for all the used config.h definesRusty Russell2012-10-171-0/+16
| | | | | | | | | | In particular, not checking for byteswap.h meant we defined duplicates: https://bugzilla.samba.org/show_bug.cgi?id=9286 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User(master): Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date(master): Wed Oct 17 01:55:14 CEST 2012 on sn-devel-104
* ccan: check for err.h ourselvesRusty Russell2012-06-191-0/+2
| | | | | | | | Heimdal does this, but that doesn't help the autoconf build or the standalone libntdb build. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* s3:build(autoconf): fix "no AC_LANG_SOURCE call detected" warningsMartin Schwenke2012-06-051-36/+36
| | | | | | | | | | | | | Autoconf 2.68 NEWS says: ** The macros AC_PREPROC_IFELSE, AC_COMPILE_IFELSE, AC_LINK_IFELSE, and AC_RUN_IFELSE now warn if the first argument failed to use AC_LANG_SOURCE or AC_LANG_PROGRAM to generate the conftest file contents. A new macro AC_LANG_DEFINES_PROVIDED exists if you have a compelling reason why you cannot use AC_LANG_SOURCE but must avoid the warning. Signed-off-by: Martin Schwenke <martin@meltin.net>
* ccan: fix autoconf test for isblank()Andrew Bartlett2012-06-021-6/+6
| | | | | | The define in the C code is HAVE_ISBLANK Andrew Bartlett
* lib/ccan: Fix some typos in libccan.m4Martin Schwenke2011-12-151-2/+2
| | | | | | | Signed-off-by: Martin Schwenke <martin@meltin.net> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Thu Dec 15 07:40:33 CET 2011 on sn-devel-104
* lib/ccan: fix m4 tests for builtin_expect and compound literals.Rusty Russell2011-12-151-9/+10
| | | | Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* ccan: configure check for HAVE_BUILTIN_CHOOSE_EXPRRusty Russell2011-09-141-0/+15
| | | | | | | | | We weren't testing for this, and without it, typesafe_cb just casts its function argument. This is why I didn't get a warning when one of my patches amended a function incorrectly. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* ccan: fix configure tests for __builtin_clz etc.Rusty Russell2011-07-051-8/+8
| | | | | | | | | | It's not enough to compile-test them: Michael Adam points out that nonexistant functions merely cause a warning. We have to try to link them. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Tue Jul 5 07:08:55 CEST 2011 on sn-devel-104
* lib: import ccan modules for tdb2Rusty Russell2011-06-201-0/+315
Imported from git://git.ozlabs.org/~ccan/ccan init-1161-g661d41f Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>