summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Schlyter <jakob@cvs.openbsd.org>2003-01-20 21:34:15 +0000
committerJakob Schlyter <jakob@cvs.openbsd.org>2003-01-20 21:34:15 +0000
commitb07ad931ce67b633dbc54591667b9c42d73d275f (patch)
treedbd2917df35d5c7aa71c2d981c9210abe4a287b2
parentad0031c21d3538fe61a842467eba2d86fd5336d5 (diff)
test for tzset()
-rw-r--r--usr.sbin/bind/acconfig.h3
-rw-r--r--usr.sbin/bind/config.h.in3
-rw-r--r--usr.sbin/bind/configure.in7
3 files changed, 12 insertions, 1 deletions
diff --git a/usr.sbin/bind/acconfig.h b/usr.sbin/bind/acconfig.h
index 58e90bc5d92..809c78506e2 100644
--- a/usr.sbin/bind/acconfig.h
+++ b/usr.sbin/bind/acconfig.h
@@ -67,6 +67,9 @@
/* define if chroot() is available */
#undef HAVE_CHROOT
+/* define if tzset() is available */
+#undef HAVE_TZSET
+
/* define if struct addrinfo exists */
#undef HAVE_ADDRINFO
diff --git a/usr.sbin/bind/config.h.in b/usr.sbin/bind/config.h.in
index 07b6bb99a56..89b8af5ac42 100644
--- a/usr.sbin/bind/config.h.in
+++ b/usr.sbin/bind/config.h.in
@@ -78,6 +78,9 @@
/* define if chroot() is available */
#undef HAVE_CHROOT
+/* define if tzset() is available */
+#undef HAVE_TZSET
+
/* define if struct addrinfo exists */
#undef HAVE_ADDRINFO
diff --git a/usr.sbin/bind/configure.in b/usr.sbin/bind/configure.in
index b54ba18f6a5..06688a8b892 100644
--- a/usr.sbin/bind/configure.in
+++ b/usr.sbin/bind/configure.in
@@ -13,7 +13,7 @@
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-AC_REVISION($Revision: 1.2 $)
+AC_REVISION($Revision: 1.3 $)
AC_INIT(lib/dns/name.c)
AC_PREREQ(2.13)
@@ -1477,6 +1477,11 @@ esac
AC_CHECK_HEADERS(sys/prctl.h)
#
+# Time Zone Stuff
+#
+AC_CHECK_FUNC(tzset, AC_DEFINE(HAVE_TZSET))
+
+#
# BSD/OS, and perhaps some others, don't define rlim_t.
#
AC_MSG_CHECKING(for type rlim_t)