adjust presets
[buildroot.git] / package / bind / bind-9.4.2-fix-configure-largefile.patch
blobc75c390e7cb1626078230e3fb17199fe8d43cb32
1 diff -u bind-9.4.2.oorig/configure bind-9.4.2/configure
2 --- bind-9.4.2.oorig/configure 2007-09-14 06:27:29.000000000 +0200
3 +++ bind-9.4.2/configure 2008-04-09 16:27:16.000000000 +0200
4 @@ -8123,13 +8123,7 @@
5 # Large File
7 # Check whether --enable-largefile was given.
8 -if test "${enable_largefile+set}" = set; then
9 - enableval=$enable_largefile; want_largefile="yes"
10 -else
11 - want_largefile="no"
12 -fi
14 -case $want_largefile in
15 +case $enable_largefile in
16 yes)
17 ALWAYS_DEFINES="$ALWAYS_DEFINES -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
19 diff -u bind-9.4.2.oorig/configure.in bind-9.4.2/configure.in
20 --- bind-9.4.2.oorig/configure.in 2007-09-14 06:26:38.000000000 +0200
21 +++ bind-9.4.2/configure.in 2008-04-09 16:25:47.000000000 +0200
22 @@ -787,9 +787,8 @@
24 # Large File
26 -AC_ARG_ENABLE(largefile, [ --enable-largefile 64-bit file support],
27 - want_largefile="yes", want_largefile="no")
28 -case $want_largefile in
29 +AC_ARG_ENABLE(largefile, [ --enable-largefile 64-bit file support])
30 +case $enable_largefile in
31 yes)
32 ALWAYS_DEFINES="$ALWAYS_DEFINES -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"