]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Fixup stdarg include, ldns reference in help.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 31 Oct 2013 15:17:53 +0000 (15:17 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 31 Oct 2013 15:17:53 +0000 (15:17 +0000)
git-svn-id: file:///svn/unbound/trunk@2999 be551aaa-1e26-0410-a405-d3ace91eadb9

config.h.in
configure
configure.ac

index 9ae30fe681c1c8b53ef88329691552e98789ed15..17cf28bdfc4aef69798e7a0094e02d2906ee5780 100644 (file)
 #include <stddef.h>
 #endif
 
+#ifdef HAVE_STDARG_H
+#include <stdarg.h>
+#endif
+
 #ifdef HAVE_STDINT_H
 #include <stdint.h>
 #endif
index 1f0868bc94d1cc6935604c6d1142c26b52f3b050..1d1b4b1b22c99f97a72d003e86bd11cc7c9716dc 100755 (executable)
--- a/configure
+++ b/configure
@@ -1475,7 +1475,7 @@ Optional Features:
   --disable-gost          Disable GOST support
   --disable-ecdsa         Disable ECDSA support
   --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
                           purposes
   --enable-allsymbols     export all symbols from libunbound and link binaries
@@ -16954,7 +16954,7 @@ else
 #include <openssl/evp.h>
 #include <openssl/engine.h>
 #include <openssl/conf.h>
-/* routine to load gost from ldns */
+/* routine to load gost (from ldns) */
 int load_gost_id(void)
 {
        static int gost_id = 0;
index bbbe77d221b6c5c499fab62f60af7caeed5a3ca0..017cd2aceedd8db95ff40ee0b781dbe14c91fcec 100644 (file)
@@ -614,7 +614,7 @@ AC_RUN_IFELSE([AC_LANG_SOURCE([[
 #include <openssl/evp.h>
 #include <openssl/engine.h>
 #include <openssl/conf.h>
-/* routine to load gost from ldns */
+/* routine to load gost (from ldns) */
 int load_gost_id(void)
 {
        static int gost_id = 0;
@@ -849,7 +849,7 @@ AC_CHECK_HEADERS([expat.h],,, [AC_INCLUDES_DEFAULT])
 AC_SUBST(staticexe)
 staticexe=""
 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
        staticexe="-static"
@@ -1071,6 +1071,10 @@ dnl includes
 #include <stddef.h>
 #endif
 
+#ifdef HAVE_STDARG_H
+#include <stdarg.h>
+#endif
+
 #ifdef HAVE_STDINT_H
 #include <stdint.h>
 #endif