diff --git a/configure.ac b/configure.ac index a7082ce0..989d4129 100644 --- a/configure.ac +++ b/configure.ac @@ -55,6 +55,7 @@ CFLAGS="$CFLAGS" AC_PROG_CC ACX_DEPFLAG AC_PROG_MAKE_SET +AC_PROG_INSTALL # Extra (sp)lint flags for NetBSD AC_CANONICAL_HOST @@ -840,7 +841,6 @@ m4_warn([obsolete], AC_CHECK_INCLUDES_DEFAULT AC_PROG_EGREP -AC_HEADER_STDBOOL #AC_HEADER_SYS_WAIT #AC_CHECK_HEADERS([getopt.h fcntl.h stdlib.h string.h strings.h unistd.h]) # do the very minimum - we can always extend this diff --git a/ldns/common.h.in b/ldns/common.h.in index db559608..87144184 100644 --- a/ldns/common.h.in +++ b/ldns/common.h.in @@ -31,33 +31,7 @@ #define LDNS_BUILD_CONFIG_USE_ED25519 @ldns_build_config_use_ed25519@ #define LDNS_BUILD_CONFIG_USE_ED448 @ldns_build_config_use_ed448@ -/* - * HAVE_STDBOOL_H is not available when distributed as a library, but no build - * configuration variables may be used (like those above) because the header - * is sometimes only available when using special compiler flags to enable the - * c99 environment. Because we cannot force the usage of this flag, we have to - * provide a default type. Below what is suggested by the autoconf manual. - */ -/*@ignore@*/ -/* splint barfs on this construct */ -#ifndef __bool_true_false_are_defined -# ifdef HAVE_STDBOOL_H -# include -# else -# ifndef HAVE__BOOL -# ifdef __cplusplus -typedef bool _Bool; -# else -# define _Bool signed char -# endif -# endif -# define bool _Bool -# define false 0 -# define true 1 -# define __bool_true_false_are_defined 1 -# endif -#endif -/*@end@*/ +#include #if LDNS_BUILD_CONFIG_HAVE_ATTR_FORMAT #define ATTR_FORMAT(archetype, string_index, first_to_check) \