Fixup stdarg include, ldns reference in help.

git-svn-id: file:///svn/unbound/trunk@2999 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2013-10-31 15:17:53 +00:00
parent 29e96e86c9
commit 5de712175a
3 changed files with 12 additions and 4 deletions

View file

@ -706,6 +706,10 @@
#include <stddef.h> #include <stddef.h>
#endif #endif
#ifdef HAVE_STDARG_H
#include <stdarg.h>
#endif
#ifdef HAVE_STDINT_H #ifdef HAVE_STDINT_H
#include <stdint.h> #include <stdint.h>
#endif #endif

4
configure vendored
View file

@ -1475,7 +1475,7 @@ Optional Features:
--disable-gost Disable GOST support --disable-gost Disable GOST support
--disable-ecdsa Disable ECDSA support --disable-ecdsa Disable ECDSA support
--enable-static-exe enable to compile executables statically against --enable-static-exe enable to compile executables statically against
event, ldns libs, for debug purposes (event) libs, for debug purposes
--enable-lock-checks enable to check lock and unlock calls, for debug --enable-lock-checks enable to check lock and unlock calls, for debug
purposes purposes
--enable-allsymbols export all symbols from libunbound and link binaries --enable-allsymbols export all symbols from libunbound and link binaries
@ -16954,7 +16954,7 @@ else
#include <openssl/evp.h> #include <openssl/evp.h>
#include <openssl/engine.h> #include <openssl/engine.h>
#include <openssl/conf.h> #include <openssl/conf.h>
/* routine to load gost from ldns */ /* routine to load gost (from ldns) */
int load_gost_id(void) int load_gost_id(void)
{ {
static int gost_id = 0; static int gost_id = 0;

View file

@ -614,7 +614,7 @@ AC_RUN_IFELSE([AC_LANG_SOURCE([[
#include <openssl/evp.h> #include <openssl/evp.h>
#include <openssl/engine.h> #include <openssl/engine.h>
#include <openssl/conf.h> #include <openssl/conf.h>
/* routine to load gost from ldns */ /* routine to load gost (from ldns) */
int load_gost_id(void) int load_gost_id(void)
{ {
static int gost_id = 0; static int gost_id = 0;
@ -849,7 +849,7 @@ AC_CHECK_HEADERS([expat.h],,, [AC_INCLUDES_DEFAULT])
AC_SUBST(staticexe) AC_SUBST(staticexe)
staticexe="" staticexe=""
AC_ARG_ENABLE(static-exe, AC_HELP_STRING([--enable-static-exe], AC_ARG_ENABLE(static-exe, AC_HELP_STRING([--enable-static-exe],
[ enable to compile executables statically against event, ldns libs, for debug purposes ]), [ enable to compile executables statically against (event) libs, for debug purposes ]),
, ) , )
if test x_$enable_static_exe = x_yes; then if test x_$enable_static_exe = x_yes; then
staticexe="-static" staticexe="-static"
@ -1071,6 +1071,10 @@ dnl includes
#include <stddef.h> #include <stddef.h>
#endif #endif
#ifdef HAVE_STDARG_H
#include <stdarg.h>
#endif
#ifdef HAVE_STDINT_H #ifdef HAVE_STDINT_H
#include <stdint.h> #include <stdint.h>
#endif #endif