Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISC Open Source Projects
BIND
Commits
6e9efadb
Commit
6e9efadb
authored
Jul 18, 2005
by
Mark Andrews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1902. [port] Use uintptr_t if available. [RT #14606]
parent
02004b6f
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
211 additions
and
69 deletions
+211
-69
CHANGES
CHANGES
+2
-0
bin/tests/tasks/t_tasks.c
bin/tests/tasks/t_tasks.c
+8
-7
config.h.in
config.h.in
+4
-1
configure
configure
+96
-30
configure.in
configure.in
+2
-1
lib/bind/config.h.in
lib/bind/config.h.in
+2
-0
lib/bind/configure
lib/bind/configure
+95
-29
lib/bind/configure.in
lib/bind/configure.in
+2
-1
No files found.
CHANGES
View file @
6e9efadb
1902. [port] Use uintptr_t if available. [RT #14606]
1901. [func] Support for SPF rdata type. [RT #15033]
1901. [func] Support for SPF rdata type. [RT #15033]
1900. [port] freebsd: pthread_mutex_init can fail if it runs out
1900. [port] freebsd: pthread_mutex_init can fail if it runs out
...
...
bin/tests/tasks/t_tasks.c
View file @
6e9efadb
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
* PERFORMANCE OF THIS SOFTWARE.
*/
*/
/* $Id: t_tasks.c,v 1.3
4
200
4
/0
9/21 02:12
:0
8
marka Exp $ */
/* $Id: t_tasks.c,v 1.3
5
200
5
/0
7/18 05:03
:0
9
marka Exp $ */
#include <config.h>
#include <config.h>
...
@@ -442,7 +442,7 @@ t2_callback(isc_task_t *task, isc_event_t *event) {
...
@@ -442,7 +442,7 @@ t2_callback(isc_task_t *task, isc_event_t *event) {
if
(
event
->
ev_arg
)
{
if
(
event
->
ev_arg
)
{
event
->
ev_arg
=
(
void
*
)(((
int
)
event
->
ev_arg
)
-
1
);
event
->
ev_arg
=
(
void
*
)(((
u
int
ptr_t
)
event
->
ev_arg
)
-
1
);
/*
/*
* Create a new task and forward the message.
* Create a new task and forward the message.
...
@@ -475,7 +475,7 @@ t2_callback(isc_task_t *task, isc_event_t *event) {
...
@@ -475,7 +475,7 @@ t2_callback(isc_task_t *task, isc_event_t *event) {
static
int
static
int
t_tasks2
(
void
)
{
t_tasks2
(
void
)
{
int
ntasks
;
u
int
ptr_t
ntasks
;
int
result
;
int
result
;
char
*
p
;
char
*
p
;
isc_event_t
*
event
;
isc_event_t
*
event
;
...
@@ -502,12 +502,13 @@ t_tasks2(void) {
...
@@ -502,12 +502,13 @@ t_tasks2(void) {
ntasks
=
atoi
(
p
);
ntasks
=
atoi
(
p
);
else
else
ntasks
=
T2_NTASKS
;
ntasks
=
T2_NTASKS
;
if
(
ntasks
==
0
)
{
if
(
ntasks
==
0U
)
{
t_info
(
"Bad config value for ISC_TASKS_MIN, %d
\n
"
,
ntasks
);
t_info
(
"Bad config value for ISC_TASKS_MIN, %lu
\n
"
,
(
unsigned
long
)
ntasks
);
return
(
T_UNRESOLVED
);
return
(
T_UNRESOLVED
);
}
}
t_info
(
"Testing with %
d
tasks
\n
"
,
ntasks
);
t_info
(
"Testing with %
lu
tasks
\n
"
,
(
unsigned
long
)
ntasks
);
isc_result
=
isc_mutex_init
(
&
T2_mx
);
isc_result
=
isc_mutex_init
(
&
T2_mx
);
if
(
isc_result
!=
ISC_R_SUCCESS
)
{
if
(
isc_result
!=
ISC_R_SUCCESS
)
{
...
@@ -1516,7 +1517,7 @@ t_taskpurge_x(int sender, int type, int tag, void *purge_sender,
...
@@ -1516,7 +1517,7 @@ t_taskpurge_x(int sender, int type, int tag, void *purge_sender,
t10_event2
,
NULL
,
sizeof
(
*
event
));
t10_event2
,
NULL
,
sizeof
(
*
event
));
eventtab
[
event_cnt
]
->
ev_tag
=
eventtab
[
event_cnt
]
->
ev_tag
=
(
void
*
)((
int
)
tag
+
tag_cnt
);
(
void
*
)((
u
int
ptr_t
)
tag
+
tag_cnt
);
/*
/*
* Make all odd message non-purgable.
* Make all odd message non-purgable.
...
...
config.h.in
View file @
6e9efadb
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
* PERFORMANCE OF THIS SOFTWARE.
* PERFORMANCE OF THIS SOFTWARE.
*/
*/
/* $Id: config.h.in,v 1.
68
2005/07/
08
04:
36:29
marka Exp $ */
/* $Id: config.h.in,v 1.
70
2005/07/
27
04:
22:58
marka Exp $ */
/*! \file */
/*! \file */
...
@@ -285,3 +285,6 @@ int sigwait(const unsigned int *set, int *sig);
...
@@ -285,3 +285,6 @@ int sigwait(const unsigned int *set, int *sig);
/* Define to `int' if <sys/types.h> does not define. */
/* Define to `int' if <sys/types.h> does not define. */
#undef ssize_t
#undef ssize_t
/* Define to `unsigned long' if <sys/types.h> does not define. */
#undef uintptr_t
configure
View file @
6e9efadb
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# PERFORMANCE OF THIS SOFTWARE.
#
#
# $Id: configure,v 1.37
1
2005/07/1
1
0
3:18:32
marka Exp $
# $Id: configure,v 1.37
2
2005/07/1
8
0
5:07:14
marka Exp $
#
#
# Portions Copyright (C) 1996-2001 Nominum, Inc.
# Portions Copyright (C) 1996-2001 Nominum, Inc.
#
#
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
# From configure.in Revision: 1.38
4
.
# From configure.in Revision: 1.38
5
.
# Guess values for system-dependent variables and create Makefiles.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59.
# Generated by GNU Autoconf 2.59.
#
#
...
@@ -4118,6 +4118,72 @@ _ACEOF
...
@@ -4118,6 +4118,72 @@ _ACEOF
fi
fi
echo "$as_me:$LINENO: checking for uintptr_t" >&5
echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
if test "${ac_cv_type_uintptr_t+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
$ac_includes_default
int
main ()
{
if ((uintptr_t *) 0)
return 0;
if (sizeof (uintptr_t))
return 0;
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_type_uintptr_t=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_type_uintptr_t=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
if test $ac_cv_type_uintptr_t = yes; then
:
else
cat >>confdefs.h <<_ACEOF
#define uintptr_t unsigned long
_ACEOF
fi
echo "$as_me:$LINENO: checking for socklen_t" >&5
echo "$as_me:$LINENO: checking for socklen_t" >&5
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
if test "${ac_cv_type_socklen_t+set}" = set; then
if test "${ac_cv_type_socklen_t+set}" = set; then
...
@@ -8068,7 +8134,7 @@ ia64-*-hpux*)
...
@@ -8068,7 +8134,7 @@ ia64-*-hpux*)
;;
;;
*-*-irix6*)
*-*-irix6*)
# Find out which ABI we are using.
# Find out which ABI we are using.
echo '#line 8
071
"configure"' > conftest.$ac_ext
echo '#line 8
137
"configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
(eval $ac_compile) 2>&5
ac_status=$?
ac_status=$?
...
@@ -9065,7 +9131,7 @@ fi
...
@@ -9065,7 +9131,7 @@ fi
# Provide some information about the compiler.
# Provide some information about the compiler.
echo "$as_me:9
068
:" \
echo "$as_me:9
134
:" \
"checking for Fortran 77 compiler version" >&5
"checking for Fortran 77 compiler version" >&5
ac_compiler=`set X $ac_compile; echo $2`
ac_compiler=`set X $ac_compile; echo $2`
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
...
@@ -10126,11 +10192,11 @@ else
...
@@ -10126,11 +10192,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:101
2
9: $lt_compile\"" >&5)
(eval echo "\"\$as_me:1019
5
: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
ac_status=$?
cat conftest.err >&5
cat conftest.err >&5
echo "$as_me:101
33
: \$? = $ac_status" >&5
echo "$as_me:101
99
: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
# So say no if there are warnings
...
@@ -10369,11 +10435,11 @@ else
...
@@ -10369,11 +10435,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:10
372
: $lt_compile\"" >&5)
(eval echo "\"\$as_me:10
438
: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
ac_status=$?
cat conftest.err >&5
cat conftest.err >&5
echo "$as_me:10
376
: \$? = $ac_status" >&5
echo "$as_me:10
442
: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
# So say no if there are warnings
...
@@ -10429,11 +10495,11 @@ else
...
@@ -10429,11 +10495,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:104
32
: $lt_compile\"" >&5)
(eval echo "\"\$as_me:104
98
: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
ac_status=$?
cat out/conftest.err >&5
cat out/conftest.err >&5
echo "$as_me:10
436
: \$? = $ac_status" >&5
echo "$as_me:10
502
: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
then
# The compiler can only warn and ignore the option if not recognized
# The compiler can only warn and ignore the option if not recognized
...
@@ -12614,7 +12680,7 @@ else
...
@@ -12614,7 +12680,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
cat > conftest.$ac_ext <<EOF
#line 126
17
"configure"
#line 126
83
"configure"
#include "confdefs.h"
#include "confdefs.h"
#if HAVE_DLFCN_H
#if HAVE_DLFCN_H
...
@@ -12712,7 +12778,7 @@ else
...
@@ -12712,7 +12778,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
cat > conftest.$ac_ext <<EOF
#line 1271
5
"configure"
#line 127
8
1 "configure"
#include "confdefs.h"
#include "confdefs.h"
#if HAVE_DLFCN_H
#if HAVE_DLFCN_H
...
@@ -14909,11 +14975,11 @@ else
...
@@ -14909,11 +14975,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:149
12
: $lt_compile\"" >&5)
(eval echo "\"\$as_me:149
78
: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
ac_status=$?
cat conftest.err >&5
cat conftest.err >&5
echo "$as_me:149
16
: \$? = $ac_status" >&5
echo "$as_me:149
82
: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
# So say no if there are warnings
...
@@ -14969,11 +15035,11 @@ else
...
@@ -14969,11 +15035,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:1
4972
: $lt_compile\"" >&5)
(eval echo "\"\$as_me:1
5038
: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
ac_status=$?
cat out/conftest.err >&5
cat out/conftest.err >&5
echo "$as_me:1
4976
: \$? = $ac_status" >&5
echo "$as_me:1
5042
: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
then
# The compiler can only warn and ignore the option if not recognized
# The compiler can only warn and ignore the option if not recognized
...
@@ -16330,7 +16396,7 @@ else
...
@@ -16330,7 +16396,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
cat > conftest.$ac_ext <<EOF
#line 163
33
"configure"
#line 163
99
"configure"
#include "confdefs.h"
#include "confdefs.h"
#if HAVE_DLFCN_H
#if HAVE_DLFCN_H
...
@@ -16428,7 +16494,7 @@ else
...
@@ -16428,7 +16494,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
cat > conftest.$ac_ext <<EOF
#line 164
31
"configure"
#line 164
97
"configure"
#include "confdefs.h"
#include "confdefs.h"
#if HAVE_DLFCN_H
#if HAVE_DLFCN_H
...
@@ -17265,11 +17331,11 @@ else
...
@@ -17265,11 +17331,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:17
268
: $lt_compile\"" >&5)
(eval echo "\"\$as_me:17
334
: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
ac_status=$?
cat conftest.err >&5
cat conftest.err >&5
echo "$as_me:17
272
: \$? = $ac_status" >&5
echo "$as_me:17
338
: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
# So say no if there are warnings
...
@@ -17325,11 +17391,11 @@ else
...
@@ -17325,11 +17391,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:173
28
: $lt_compile\"" >&5)
(eval echo "\"\$as_me:173
94
: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
ac_status=$?
cat out/conftest.err >&5
cat out/conftest.err >&5
echo "$as_me:173
32
: \$? = $ac_status" >&5
echo "$as_me:173
98
: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
then
# The compiler can only warn and ignore the option if not recognized
# The compiler can only warn and ignore the option if not recognized
...
@@ -19364,11 +19430,11 @@ else
...
@@ -19364,11 +19430,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:19
367
: $lt_compile\"" >&5)
(eval echo "\"\$as_me:19
433
: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
ac_status=$?
cat conftest.err >&5
cat conftest.err >&5
echo "$as_me:1937
1
: \$? = $ac_status" >&5
echo "$as_me:19
4
37: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
# So say no if there are warnings
...
@@ -19607,11 +19673,11 @@ else
...
@@ -19607,11 +19673,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:196
10
: $lt_compile\"" >&5)
(eval echo "\"\$as_me:196
76
: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
ac_status=$?
cat conftest.err >&5
cat conftest.err >&5
echo "$as_me:196
14
: \$? = $ac_status" >&5
echo "$as_me:196
80
: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
# So say no if there are warnings
...
@@ -19667,11 +19733,11 @@ else
...
@@ -19667,11 +19733,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:19
670
: $lt_compile\"" >&5)
(eval echo "\"\$as_me:19
736
: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
ac_status=$?
cat out/conftest.err >&5
cat out/conftest.err >&5
echo "$as_me:19
6
74: \$? = $ac_status" >&5
echo "$as_me:1974
0
: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
then
# The compiler can only warn and ignore the option if not recognized
# The compiler can only warn and ignore the option if not recognized
...
@@ -21852,7 +21918,7 @@ else
...
@@ -21852,7 +21918,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
cat > conftest.$ac_ext <<EOF
#line 21
855
"configure"
#line 21
921
"configure"
#include "confdefs.h"
#include "confdefs.h"
#if HAVE_DLFCN_H
#if HAVE_DLFCN_H
...
@@ -21950,7 +22016,7 @@ else
...
@@ -21950,7 +22016,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
cat > conftest.$ac_ext <<EOF
#line 219
53
"configure"
#line 2
20
19 "configure"
#include "confdefs.h"
#include "confdefs.h"
#if HAVE_DLFCN_H
#if HAVE_DLFCN_H
...
...
configure.in
View file @
6e9efadb
...
@@ -18,7 +18,7 @@ AC_DIVERT_PUSH(1)dnl
...
@@ -18,7 +18,7 @@ AC_DIVERT_PUSH(1)dnl
esyscmd([sed "s/^/# /" COPYRIGHT])dnl
esyscmd([sed "s/^/# /" COPYRIGHT])dnl
AC_DIVERT_POP()dnl
AC_DIVERT_POP()dnl
AC_REVISION($Revision: 1.38
4
$)
AC_REVISION($Revision: 1.38
5
$)
AC_INIT(lib/dns/name.c)
AC_INIT(lib/dns/name.c)
AC_PREREQ(2.13)
AC_PREREQ(2.13)
...
@@ -262,6 +262,7 @@ AC_TRY_COMPILE(, [
...
@@ -262,6 +262,7 @@ AC_TRY_COMPILE(, [
AC_TYPE_SIZE_T
AC_TYPE_SIZE_T
AC_CHECK_TYPE(ssize_t, int)
AC_CHECK_TYPE(ssize_t, int)
AC_CHECK_TYPE(uintptr_t,unsigned long)
AC_CHECK_TYPE(socklen_t,
AC_CHECK_TYPE(socklen_t,
[AC_DEFINE(ISC_SOCKADDR_LEN_T, socklen_t)],
[AC_DEFINE(ISC_SOCKADDR_LEN_T, socklen_t)],
[
[
...
...
lib/bind/config.h.in
View file @
6e9efadb
...
@@ -35,6 +35,8 @@
...
@@ -35,6 +35,8 @@
#undef HAS_PW_CLASS
#undef HAS_PW_CLASS
#undef uintptr_t
/* Shut up warnings about sputaux in stdio.h on BSD/OS pre-4.1 */
/* Shut up warnings about sputaux in stdio.h on BSD/OS pre-4.1 */
#undef SHUTUP_SPUTAUX
#undef SHUTUP_SPUTAUX
#ifdef SHUTUP_SPUTAUX
#ifdef SHUTUP_SPUTAUX
...
...
lib/bind/configure
View file @
6e9efadb
#! /bin/sh
#! /bin/sh
# From configure.in Revision: 1.10
5
.
# From configure.in Revision: 1.10
6
.
# Guess values for system-dependent variables and create Makefiles.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59.
# Generated by GNU Autoconf 2.59.
#
#
...
@@ -3867,6 +3867,72 @@ _ACEOF
...
@@ -3867,6 +3867,72 @@ _ACEOF
fi
fi
echo "$as_me:$LINENO: checking for uintptr_t" >&5
echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
if test "${ac_cv_type_uintptr_t+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
$ac_includes_default
int
main ()
{
if ((uintptr_t *) 0)
return 0;
if (sizeof (uintptr_t))
return 0;
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_type_uintptr_t=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_type_uintptr_t=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
if test $ac_cv_type_uintptr_t = yes; then
:
else
cat >>confdefs.h <<_ACEOF
#define uintptr_t unsigned long
_ACEOF
fi
echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
if test "${ac_cv_header_time+set}" = set; then
if test "${ac_cv_header_time+set}" = set; then
...
@@ -7373,7 +7439,7 @@ ia64-*-hpux*)
...
@@ -7373,7 +7439,7 @@ ia64-*-hpux*)
;;
;;
*-*-irix6*)
*-*-irix6*)
# Find out which ABI we are using.
# Find out which ABI we are using.
echo '#line 7
376
"configure"' > conftest.$ac_ext
echo '#line 7
442
"configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
(eval $ac_compile) 2>&5
ac_status=$?
ac_status=$?
...
@@ -8370,7 +8436,7 @@ fi
...
@@ -8370,7 +8436,7 @@ fi