]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
add --enable-largefile support
authorBob Halley <source@isc.org>
Fri, 8 Mar 2002 00:24:00 +0000 (00:24 +0000)
committerBob Halley <source@isc.org>
Fri, 8 Mar 2002 00:24:00 +0000 (00:24 +0000)
configure.in

index ea2943417fede33a3d2c04fb25906f805e6104c6..58fe291b07c3555d3c2385311d46b524c23e7994 100644 (file)
@@ -18,7 +18,7 @@ AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl
 esyscmd([sed "s/^/# /" COPYRIGHT])dnl
 AC_DIVERT_POP()dnl
 
-AC_REVISION($Revision: 1.320 $)
+AC_REVISION($Revision: 1.321 $)
 
 AC_INIT(lib/dns/name.c)
 AC_PREREQ(2.13)
@@ -742,6 +742,19 @@ fi
 # End of pthreads stuff.
 #
 
+#
+# Large File
+#
+AC_ARG_ENABLE(largefile, [  --enable-largefile   64-bit file support],
+             want_largefile="yes", want_largefile="no")
+case $want_largefile in
+       yes)
+               ALWAYS_DEFINES="$ALWAYS_DEFINES -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
+               ;;
+       *)
+               ;;
+esac
+
 #
 # Additional compiler settings.
 #