]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
2188. [contrib] queryperf: autoconf changes to make the seach for
authorMark Andrews <marka@isc.org>
Wed, 5 Sep 2007 07:36:04 +0000 (07:36 +0000)
committerMark Andrews <marka@isc.org>
Wed, 5 Sep 2007 07:36:04 +0000 (07:36 +0000)
                        libresolv or libbind more robust. [RT #16299]

contrib/queryperf/config.h.in [new file with mode: 0644]
contrib/queryperf/queryperf.c

diff --git a/contrib/queryperf/config.h.in b/contrib/queryperf/config.h.in
new file mode 100644 (file)
index 0000000..744afdd
--- /dev/null
@@ -0,0 +1,37 @@
+/* config.h.in.  Generated from configure.in by autoheader.  */
+
+/* Define to 1 if you have the `getaddrinfo' function. */
+#undef HAVE_GETADDRINFO
+
+/* Define to 1 if you have the `gethostbyname2' function. */
+#undef HAVE_GETHOSTBYNAME2
+
+/* Define to 1 if you have the `getnameinfo' function. */
+#undef HAVE_GETNAMEINFO
+
+/* Define to 1 if you have the `nsl' library (-lnsl). */
+#undef HAVE_LIBNSL
+
+/* Define to 1 if you have the `socket' library (-lsocket). */
+#undef HAVE_LIBSOCKET
+
+/* Define to 1 if `struct sockaddr' has element `sa_len'. */
+#undef HAVE_SA_LEN
+
+/* Define to the address where bug reports for this package should be sent. */
+#undef PACKAGE_BUGREPORT
+
+/* Define to the full name of this package. */
+#undef PACKAGE_NAME
+
+/* Define to the full name and version of this package. */
+#undef PACKAGE_STRING
+
+/* Define to the one symbol short name of this package. */
+#undef PACKAGE_TARNAME
+
+/* Define to the version of this package. */
+#undef PACKAGE_VERSION
+
+/* Define to `int' if `socklen_t' does not exist. */
+#undef socklen_t
index 71342881122d5eb9ee6abd9ec30f10b210d163aa..d15b7c4081b6306f4de23edf015f60ab7b7ead85 100644 (file)
@@ -18,7 +18,7 @@
 /***
  ***   DNS Query Performance Testing Tool  (queryperf.c)
  ***
- ***   Version $Id: queryperf.c,v 1.11 2005/10/29 00:18:10 jinmei Exp $
+ ***   Version $Id: queryperf.c,v 1.12 2007/09/05 07:36:04 marka Exp $
  ***
  ***   Stephen Jacob <sj@nominum.com>
  ***/
 #include <math.h>
 #include <errno.h>
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
 #ifndef HAVE_GETADDRINFO
 #include "missing/addrinfo.h"
 #endif
+#endif
 
 /*
  * Configuration defaults
@@ -217,7 +220,7 @@ void
 show_startup_info(void) {
        printf("\n"
 "DNS Query Performance Testing Tool\n"
-"Version: $Id: queryperf.c,v 1.11 2005/10/29 00:18:10 jinmei Exp $\n"
+"Version: $Id: queryperf.c,v 1.12 2007/09/05 07:36:04 marka Exp $\n"
 "\n");
 }