mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 15:05:23 +00:00
add --enable-largefile support
This commit is contained in:
15
configure.in
15
configure.in
@@ -18,7 +18,7 @@ AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl
|
|||||||
esyscmd([sed "s/^/# /" COPYRIGHT])dnl
|
esyscmd([sed "s/^/# /" COPYRIGHT])dnl
|
||||||
AC_DIVERT_POP()dnl
|
AC_DIVERT_POP()dnl
|
||||||
|
|
||||||
AC_REVISION($Revision: 1.320 $)
|
AC_REVISION($Revision: 1.321 $)
|
||||||
|
|
||||||
AC_INIT(lib/dns/name.c)
|
AC_INIT(lib/dns/name.c)
|
||||||
AC_PREREQ(2.13)
|
AC_PREREQ(2.13)
|
||||||
@@ -742,6 +742,19 @@ fi
|
|||||||
# End of pthreads stuff.
|
# 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.
|
# Additional compiler settings.
|
||||||
#
|
#
|
||||||
|
Reference in New Issue
Block a user