1497 |
gl_func_list="$gl_func_list mbrtowc" |
gl_func_list="$gl_func_list mbrtowc" |
1498 |
gl_func_list="$gl_func_list wcrtomb" |
gl_func_list="$gl_func_list wcrtomb" |
1499 |
gl_func_list="$gl_func_list wcscoll" |
gl_func_list="$gl_func_list wcscoll" |
|
gl_header_list="$gl_header_list sys/types.h" |
|
|
gl_header_list="$gl_header_list sys/socket.h" |
|
1500 |
gl_func_list="$gl_func_list mblen" |
gl_func_list="$gl_func_list mblen" |
1501 |
gl_func_list="$gl_func_list mbrlen" |
gl_func_list="$gl_func_list mbrlen" |
1502 |
gl_func_list="$gl_func_list tzset" |
gl_func_list="$gl_func_list tzset" |
14613 |
|
|
14614 |
|
|
14615 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14616 |
echo "$as_me:$LINENO: checking for inttypes.h" >&5 |
echo "$as_me:$LINENO: checking for inttypes.h" >&5 |
14617 |
echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6 |
echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6 |
14618 |
if test "${gt_cv_header_inttypes_h+set}" = set; then |
if test "${gt_cv_header_inttypes_h+set}" = set; then |
24163 |
|
|
24164 |
|
|
24165 |
|
|
24166 |
|
echo "$as_me:$LINENO: checking whether off_t can be used in a switch statement" >&5 |
24167 |
|
echo $ECHO_N "checking whether off_t can be used in a switch statement... $ECHO_C" >&6 |
24168 |
|
if test "${gl_cv_type_off_t_switch+set}" = set; then |
24169 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
24170 |
|
else |
24171 |
|
cat >conftest.$ac_ext <<_ACEOF |
24172 |
|
/* confdefs.h. */ |
24173 |
|
_ACEOF |
24174 |
|
cat confdefs.h >>conftest.$ac_ext |
24175 |
|
cat >>conftest.$ac_ext <<_ACEOF |
24176 |
|
/* end confdefs.h. */ |
24177 |
|
$ac_includes_default |
24178 |
|
int |
24179 |
|
main () |
24180 |
|
{ |
24181 |
|
off_t o = -1; |
24182 |
|
switch (o) |
24183 |
|
{ |
24184 |
|
case -2: |
24185 |
|
return 1; |
24186 |
|
case -1: |
24187 |
|
return 2; |
24188 |
|
default: |
24189 |
|
return 0; |
24190 |
|
} |
24191 |
|
|
24192 |
|
; |
24193 |
|
return 0; |
24194 |
|
} |
24195 |
|
_ACEOF |
24196 |
|
rm -f conftest.$ac_objext |
24197 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
24198 |
|
(eval $ac_compile) 2>conftest.er1 |
24199 |
|
ac_status=$? |
24200 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
24201 |
|
rm -f conftest.er1 |
24202 |
|
cat conftest.err >&5 |
24203 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24204 |
|
(exit $ac_status); } && |
24205 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
24206 |
|
|| test ! -s conftest.err' |
24207 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
24208 |
|
(eval $ac_try) 2>&5 |
24209 |
|
ac_status=$? |
24210 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24211 |
|
(exit $ac_status); }; } && |
24212 |
|
{ ac_try='test -s conftest.$ac_objext' |
24213 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
24214 |
|
(eval $ac_try) 2>&5 |
24215 |
|
ac_status=$? |
24216 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24217 |
|
(exit $ac_status); }; }; then |
24218 |
|
gl_cv_type_off_t_switch=yes |
24219 |
|
else |
24220 |
|
echo "$as_me: failed program was:" >&5 |
24221 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
24222 |
|
|
24223 |
|
gl_cv_type_off_t_switch=no |
24224 |
|
fi |
24225 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
24226 |
|
fi |
24227 |
|
echo "$as_me:$LINENO: result: $gl_cv_type_off_t_switch" >&5 |
24228 |
|
echo "${ECHO_T}$gl_cv_type_off_t_switch" >&6 |
24229 |
|
if test $gl_cv_type_off_t_switch = yes; then |
24230 |
|
|
24231 |
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
24232 |
#define _REGEX_LARGE_OFFSETS 1 |
#define _REGEX_LARGE_OFFSETS 1 |
24233 |
_ACEOF |
_ACEOF |
24234 |
|
|
24235 |
|
fi |
24236 |
|
|
24237 |
|
|
24238 |
|
|
26731 |
|
|
26732 |
fi |
fi |
26733 |
|
|
26734 |
|
gl_SOCKLEN_T |
|
|
|
|
: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo "$as_me:$LINENO: checking for socklen_t" >&5 |
|
|
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6 |
|
|
if test "${ac_cv_type_socklen_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. */ |
|
|
|
|
|
#ifdef HAVE_SYS_TYPES_H |
|
|
# include <sys/types.h> |
|
|
#endif |
|
|
#ifdef HAVE_SYS_SOCKET_H |
|
|
# include <sys/socket.h> |
|
|
#endif) |
|
|
|
|
|
|
|
|
int |
|
|
main () |
|
|
{ |
|
|
if ((socklen_t *) 0) |
|
|
return 0; |
|
|
if (sizeof (socklen_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_socklen_t=yes |
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
ac_cv_type_socklen_t=no |
|
|
fi |
|
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
fi |
|
|
echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5 |
|
|
echo "${ECHO_T}$ac_cv_type_socklen_t" >&6 |
|
|
if test $ac_cv_type_socklen_t = yes; then |
|
|
: |
|
|
else |
|
|
|
|
|
cat >>confdefs.h <<\_ACEOF |
|
|
#define socklen_t int |
|
|
_ACEOF |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
26735 |
|
|
26736 |
echo "$as_me:$LINENO: checking for ssize_t" >&5 |
echo "$as_me:$LINENO: checking for ssize_t" >&5 |
26737 |
echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6 |
echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6 |