mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-08 15:52:53 -05:00
regen configure.
git-svn-id: file:///svn/unbound/trunk@854 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
5d594b301f
commit
d9e9a31562
4 changed files with 16 additions and 12 deletions
17
configure
vendored
17
configure
vendored
|
|
@ -3780,9 +3780,9 @@ done
|
|||
|
||||
|
||||
|
||||
{ echo "$as_me:$LINENO: checking whether we need -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE as a flag for $CC" >&5
|
||||
echo $ECHO_N "checking whether we need -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE as a flag for $CC... $ECHO_C" >&6; }
|
||||
cache=`echo -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE | sed 'y%.=/+- %___p__%'`
|
||||
{ echo "$as_me:$LINENO: checking whether we need -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE as a flag for $CC" >&5
|
||||
echo $ECHO_N "checking whether we need -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE as a flag for $CC... $ECHO_C" >&6; }
|
||||
cache=`echo -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE | sed 'y%.=/+- %___p__%'`
|
||||
if { as_var=cv_prog_cc_flag_needed_$cache; eval "test \"\${$as_var+set}\" = set"; }; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
|
|
@ -3823,14 +3823,14 @@ if test -z "`$CC $CFLAGS -Werror -Wall -c conftest.c 2>&1`"; then
|
|||
eval "cv_prog_cc_flag_needed_$cache=no"
|
||||
else
|
||||
|
||||
if test -z "`$CC $CFLAGS -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE -Werror -Wall -c conftest.c 2>&1`"; then
|
||||
if test -z "`$CC $CFLAGS -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE -Werror -Wall -c conftest.c 2>&1`"; then
|
||||
eval "cv_prog_cc_flag_needed_$cache=yes"
|
||||
else
|
||||
eval "cv_prog_cc_flag_needed_$cache=fail"
|
||||
#echo 'Test with flag fails too!'
|
||||
#cat conftest.c
|
||||
#echo "$CC $CFLAGS -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE -Werror -Wall -c conftest.c 2>&1"
|
||||
#echo `$CC $CFLAGS -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE -Werror -Wall -c conftest.c`
|
||||
#echo "$CC $CFLAGS -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE -Werror -Wall -c conftest.c 2>&1"
|
||||
#echo `$CC $CFLAGS -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE -Werror -Wall -c conftest.c`
|
||||
#exit 1
|
||||
fi
|
||||
|
||||
|
|
@ -3843,7 +3843,7 @@ if eval "test \"`echo '$cv_prog_cc_flag_needed_'$cache`\" = yes"; then
|
|||
{ echo "$as_me:$LINENO: result: yes" >&5
|
||||
echo "${ECHO_T}yes" >&6; }
|
||||
:
|
||||
CFLAGS="$CFLAGS -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE"
|
||||
CFLAGS="$CFLAGS -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE"
|
||||
else
|
||||
if eval "test \"`echo '$cv_prog_cc_flag_needed_'$cache`\" = no"; then
|
||||
{ echo "$as_me:$LINENO: result: no" >&5
|
||||
|
|
@ -21711,7 +21711,7 @@ echo $ECHO_N "checking for libevent... $ECHO_C" >&6; }
|
|||
{ echo "$as_me:$LINENO: result: found in $thedir" >&5
|
||||
echo "${ECHO_T}found in $thedir" >&6; }
|
||||
CPPFLAGS="$CPPFLAGS -I$thedir";
|
||||
LDFLAGS="$thedir/*.lo $LDFLAGS";
|
||||
LATE_LDFLAGS="$thedir/*.lo";
|
||||
else
|
||||
{ { echo "$as_me:$LINENO: error: Cannot find the libevent library in $withval
|
||||
You can restart ./configure --with-libevent=no to use a builtin alternative.
|
||||
|
|
@ -24586,6 +24586,7 @@ _ACEOF
|
|||
|
||||
fi
|
||||
|
||||
LDFLAGS="$LATE_LDFLAGS $LDFLAGS";
|
||||
|
||||
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
- interface-automatic feature. experimental. Nice for anycast.
|
||||
- tpkg test for ip6 ancillary data.
|
||||
- removed debug prints.
|
||||
- porting experience, define for Solaris, test refined for BSD
|
||||
compatibility. The feature probably will not work on OpenBSD.
|
||||
|
||||
14 January 2008: Wouter
|
||||
- in no debug sets NDEBUG to remove asserts.
|
||||
|
|
|
|||
|
|
@ -28,10 +28,9 @@ server:
|
|||
# interface: 2001:DB8::5
|
||||
|
||||
# enable this feature to detect all available interfaces automatically
|
||||
# May not be supported on all platforms. experimental.
|
||||
# If interfaces are added or removed during runtime this works.
|
||||
# Do not forget to enable access-control for your ip4, ip6 and
|
||||
# ip6mappedip4 addresses.
|
||||
# May not be supported on all platforms. experimental. Do not forget
|
||||
# to enable access-control for your ip4, ip6 and ip6mappedip4 addrs.
|
||||
# On FreeBSD needs net.inet6.ip6.v6only=0 in /etc/sysctl.conf.
|
||||
# interface-automatic: no
|
||||
|
||||
# port to answer queries from
|
||||
|
|
|
|||
|
|
@ -102,6 +102,8 @@ support in your OS for IPv6 (and its socket options). You have to set access
|
|||
control for IPv4, IPv6 addresses and also for mapped IPv4 to IPv6 addresses
|
||||
(i.e. ::ffff:192.168.0.0/112 and so on). IPv4 TCP connections use the IPv4
|
||||
access control, IPv4 UDP queries use the mapped access control.
|
||||
On FreeBSD it needs net.inet6.ip6.v6only=0 in /etc/sysctl.conf. OpenBSD may
|
||||
not support it at all.
|
||||
Default value is no.
|
||||
.TP
|
||||
.B outgoing\-interface: \fI<ip address>
|
||||
|
|
|
|||
Loading…
Reference in a new issue