mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-21 23:29:34 -05:00
Add configure support for 'socklen_t' as provided by Hallvard.
This commit is contained in:
parent
47be141fb4
commit
ff28f54d2d
6 changed files with 139 additions and 71 deletions
|
|
@ -253,6 +253,9 @@
|
||||||
/* define this if sig_atomic_t isn't defined in signal.h */
|
/* define this if sig_atomic_t isn't defined in signal.h */
|
||||||
#undef sig_atomic_t
|
#undef sig_atomic_t
|
||||||
|
|
||||||
|
/* define this if socklen_t isn't defined in sys/types.h or sys/socket.h */
|
||||||
|
#undef socklen_t
|
||||||
|
|
||||||
/* These are defined in ldap_features.h */
|
/* These are defined in ldap_features.h */
|
||||||
/*
|
/*
|
||||||
LDAP_API_FEATURE_X_OPENLDAP_REENTRANT
|
LDAP_API_FEATURE_X_OPENLDAP_REENTRANT
|
||||||
|
|
|
||||||
|
|
@ -745,6 +745,24 @@ AC_DEFUN(OL_TYPE_SIG_ATOMIC_T,
|
||||||
])dnl
|
])dnl
|
||||||
dnl
|
dnl
|
||||||
dnl ====================================================================
|
dnl ====================================================================
|
||||||
|
dnl Define socklen_t if not defined in signal.h
|
||||||
|
AC_DEFUN(OL_TYPE_SOCKLEN_T,
|
||||||
|
[AC_CACHE_CHECK(for socklen_t, ol_cv_type_socklen_t,
|
||||||
|
[AC_TRY_COMPILE([
|
||||||
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
|
#include <sys/types.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_SYS_SOCKET
|
||||||
|
#include <sys/socket.h>
|
||||||
|
#endif
|
||||||
|
], [socklen_t len;],
|
||||||
|
ol_cv_type_socklen_t=yes, ol_cv_type_socklen_t=no)])
|
||||||
|
if test $ol_cv_type_socklen_t = no; then
|
||||||
|
AC_DEFINE(socklen_t, int)
|
||||||
|
fi
|
||||||
|
])dnl
|
||||||
|
dnl
|
||||||
|
dnl ====================================================================
|
||||||
dnl check no of arguments for ctime_r
|
dnl check no of arguments for ctime_r
|
||||||
AC_DEFUN(OL_FUNC_CTIME_R_NARGS,
|
AC_DEFUN(OL_FUNC_CTIME_R_NARGS,
|
||||||
[AC_CACHE_CHECK(number of arguments of ctime_r, ol_cv_func_ctime_r_nargs,
|
[AC_CACHE_CHECK(number of arguments of ctime_r, ol_cv_func_ctime_r_nargs,
|
||||||
|
|
|
||||||
182
configure
vendored
182
configure
vendored
|
|
@ -10740,21 +10740,61 @@ EOF
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6
|
echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
|
||||||
echo "configure:10745: checking for st_blksize in struct stat" >&5
|
echo "configure:10745: checking for socklen_t" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ol_cv_type_socklen_t'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 10750 "configure"
|
#line 10750 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
|
#include <sys/types.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_SYS_SOCKET
|
||||||
|
#include <sys/socket.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
socklen_t len;
|
||||||
|
; return 0; }
|
||||||
|
EOF
|
||||||
|
if { (eval echo configure:10764: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
|
rm -rf conftest*
|
||||||
|
ol_cv_type_socklen_t=yes
|
||||||
|
else
|
||||||
|
echo "configure: failed program was:" >&5
|
||||||
|
cat conftest.$ac_ext >&5
|
||||||
|
rm -rf conftest*
|
||||||
|
ol_cv_type_socklen_t=no
|
||||||
|
fi
|
||||||
|
rm -f conftest*
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "$ac_t""$ol_cv_type_socklen_t" 1>&6
|
||||||
|
if test $ol_cv_type_socklen_t = no; then
|
||||||
|
cat >> confdefs.h <<\EOF
|
||||||
|
#define socklen_t int
|
||||||
|
EOF
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6
|
||||||
|
echo "configure:10785: checking for st_blksize in struct stat" >&5
|
||||||
|
if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then
|
||||||
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
|
else
|
||||||
|
cat > conftest.$ac_ext <<EOF
|
||||||
|
#line 10790 "configure"
|
||||||
|
#include "confdefs.h"
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
int main() {
|
int main() {
|
||||||
struct stat s; s.st_blksize;
|
struct stat s; s.st_blksize;
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:10758: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:10798: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ac_cv_struct_st_blksize=yes
|
ac_cv_struct_st_blksize=yes
|
||||||
else
|
else
|
||||||
|
|
@ -10775,12 +10815,12 @@ EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
|
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
|
||||||
echo "configure:10779: checking whether time.h and sys/time.h may both be included" >&5
|
echo "configure:10819: checking whether time.h and sys/time.h may both be included" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 10784 "configure"
|
#line 10824 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
|
@ -10789,7 +10829,7 @@ int main() {
|
||||||
struct tm *tp;
|
struct tm *tp;
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:10793: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:10833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ac_cv_header_time=yes
|
ac_cv_header_time=yes
|
||||||
else
|
else
|
||||||
|
|
@ -10810,12 +10850,12 @@ EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
|
echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
|
||||||
echo "configure:10814: checking whether struct tm is in sys/time.h or time.h" >&5
|
echo "configure:10854: checking whether struct tm is in sys/time.h or time.h" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 10819 "configure"
|
#line 10859 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
@ -10823,7 +10863,7 @@ int main() {
|
||||||
struct tm *tp; tp->tm_sec;
|
struct tm *tp; tp->tm_sec;
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:10827: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:10867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ac_cv_struct_tm=time.h
|
ac_cv_struct_tm=time.h
|
||||||
else
|
else
|
||||||
|
|
@ -10845,13 +10885,13 @@ fi
|
||||||
|
|
||||||
# test for pw_gecos in struct passwd
|
# test for pw_gecos in struct passwd
|
||||||
echo $ac_n "checking struct passwd for pw_gecos""... $ac_c" 1>&6
|
echo $ac_n "checking struct passwd for pw_gecos""... $ac_c" 1>&6
|
||||||
echo "configure:10849: checking struct passwd for pw_gecos" >&5
|
echo "configure:10889: checking struct passwd for pw_gecos" >&5
|
||||||
if eval "test \"`echo '$''{'ol_cv_struct_passwd_pw_gecos'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ol_cv_struct_passwd_pw_gecos'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
|
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 10855 "configure"
|
#line 10895 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
int main() {
|
int main() {
|
||||||
|
|
@ -10861,7 +10901,7 @@ int main() {
|
||||||
|
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:10865: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:10905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ol_cv_struct_passwd_pw_gecos=yes
|
ol_cv_struct_passwd_pw_gecos=yes
|
||||||
else
|
else
|
||||||
|
|
@ -10883,13 +10923,13 @@ fi
|
||||||
|
|
||||||
# test for pw_passwd in struct passwd
|
# test for pw_passwd in struct passwd
|
||||||
echo $ac_n "checking struct passwd for pw_passwd""... $ac_c" 1>&6
|
echo $ac_n "checking struct passwd for pw_passwd""... $ac_c" 1>&6
|
||||||
echo "configure:10887: checking struct passwd for pw_passwd" >&5
|
echo "configure:10927: checking struct passwd for pw_passwd" >&5
|
||||||
if eval "test \"`echo '$''{'ol_cv_struct_passwd_pw_passwd'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ol_cv_struct_passwd_pw_passwd'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
|
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 10893 "configure"
|
#line 10933 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
int main() {
|
int main() {
|
||||||
|
|
@ -10899,7 +10939,7 @@ int main() {
|
||||||
|
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:10903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:10943: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ol_cv_struct_passwd_pw_passwd=yes
|
ol_cv_struct_passwd_pw_passwd=yes
|
||||||
else
|
else
|
||||||
|
|
@ -10922,7 +10962,7 @@ fi
|
||||||
|
|
||||||
|
|
||||||
echo $ac_n "checking if toupper() requires islower()""... $ac_c" 1>&6
|
echo $ac_n "checking if toupper() requires islower()""... $ac_c" 1>&6
|
||||||
echo "configure:10926: checking if toupper() requires islower()" >&5
|
echo "configure:10966: checking if toupper() requires islower()" >&5
|
||||||
if eval "test \"`echo '$''{'ol_cv_c_upper_lower'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ol_cv_c_upper_lower'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
|
|
@ -10931,7 +10971,7 @@ else
|
||||||
ol_cv_c_upper_lower=safe
|
ol_cv_c_upper_lower=safe
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 10935 "configure"
|
#line 10975 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
@ -10943,7 +10983,7 @@ main()
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:10947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
if { (eval echo configure:10987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||||
then
|
then
|
||||||
ol_cv_c_upper_lower=no
|
ol_cv_c_upper_lower=no
|
||||||
else
|
else
|
||||||
|
|
@ -10966,12 +11006,12 @@ EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo $ac_n "checking for working const""... $ac_c" 1>&6
|
echo $ac_n "checking for working const""... $ac_c" 1>&6
|
||||||
echo "configure:10970: checking for working const" >&5
|
echo "configure:11010: checking for working const" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 10975 "configure"
|
#line 11015 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
|
|
@ -11020,7 +11060,7 @@ ccp = (char const *const *) p;
|
||||||
|
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:11024: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:11064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ac_cv_c_const=yes
|
ac_cv_c_const=yes
|
||||||
else
|
else
|
||||||
|
|
@ -11041,12 +11081,12 @@ EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo $ac_n "checking if compiler understands volatile""... $ac_c" 1>&6
|
echo $ac_n "checking if compiler understands volatile""... $ac_c" 1>&6
|
||||||
echo "configure:11045: checking if compiler understands volatile" >&5
|
echo "configure:11085: checking if compiler understands volatile" >&5
|
||||||
if eval "test \"`echo '$''{'ol_cv_c_volatile'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ol_cv_c_volatile'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 11050 "configure"
|
#line 11090 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
int x, y, z;
|
int x, y, z;
|
||||||
int main() {
|
int main() {
|
||||||
|
|
@ -11055,7 +11095,7 @@ volatile int a; int * volatile b = x ? &y : &z;
|
||||||
*b = 0;
|
*b = 0;
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:11059: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:11099: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ol_cv_c_volatile=yes
|
ol_cv_c_volatile=yes
|
||||||
else
|
else
|
||||||
|
|
@ -11099,14 +11139,14 @@ EOF
|
||||||
|
|
||||||
else
|
else
|
||||||
echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
|
echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
|
||||||
echo "configure:11103: checking whether byte ordering is bigendian" >&5
|
echo "configure:11143: checking whether byte ordering is bigendian" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
ac_cv_c_bigendian=unknown
|
ac_cv_c_bigendian=unknown
|
||||||
# See if sys/param.h defines the BYTE_ORDER macro.
|
# See if sys/param.h defines the BYTE_ORDER macro.
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 11110 "configure"
|
#line 11150 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
|
|
@ -11117,11 +11157,11 @@ int main() {
|
||||||
#endif
|
#endif
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:11121: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:11161: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
# It does; now see whether it defined to BIG_ENDIAN or not.
|
# It does; now see whether it defined to BIG_ENDIAN or not.
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 11125 "configure"
|
#line 11165 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
|
|
@ -11132,7 +11172,7 @@ int main() {
|
||||||
#endif
|
#endif
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:11136: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:11176: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ac_cv_c_bigendian=yes
|
ac_cv_c_bigendian=yes
|
||||||
else
|
else
|
||||||
|
|
@ -11152,7 +11192,7 @@ if test "$cross_compiling" = yes; then
|
||||||
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
|
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 11156 "configure"
|
#line 11196 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
main () {
|
main () {
|
||||||
/* Are we little or big endian? From Harbison&Steele. */
|
/* Are we little or big endian? From Harbison&Steele. */
|
||||||
|
|
@ -11165,7 +11205,7 @@ main () {
|
||||||
exit (u.c[sizeof (long) - 1] == 1);
|
exit (u.c[sizeof (long) - 1] == 1);
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:11169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
if { (eval echo configure:11209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||||
then
|
then
|
||||||
ac_cv_c_bigendian=no
|
ac_cv_c_bigendian=no
|
||||||
else
|
else
|
||||||
|
|
@ -11189,7 +11229,7 @@ EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo $ac_n "checking size of short""... $ac_c" 1>&6
|
echo $ac_n "checking size of short""... $ac_c" 1>&6
|
||||||
echo "configure:11193: checking size of short" >&5
|
echo "configure:11233: checking size of short" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
|
|
@ -11197,7 +11237,7 @@ else
|
||||||
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
|
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 11201 "configure"
|
#line 11241 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
main()
|
main()
|
||||||
|
|
@ -11208,7 +11248,7 @@ main()
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:11212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
if { (eval echo configure:11252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||||
then
|
then
|
||||||
ac_cv_sizeof_short=`cat conftestval`
|
ac_cv_sizeof_short=`cat conftestval`
|
||||||
else
|
else
|
||||||
|
|
@ -11228,7 +11268,7 @@ EOF
|
||||||
|
|
||||||
|
|
||||||
echo $ac_n "checking size of int""... $ac_c" 1>&6
|
echo $ac_n "checking size of int""... $ac_c" 1>&6
|
||||||
echo "configure:11232: checking size of int" >&5
|
echo "configure:11272: checking size of int" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
|
|
@ -11236,7 +11276,7 @@ else
|
||||||
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
|
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 11240 "configure"
|
#line 11280 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
main()
|
main()
|
||||||
|
|
@ -11247,7 +11287,7 @@ main()
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:11251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
if { (eval echo configure:11291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||||
then
|
then
|
||||||
ac_cv_sizeof_int=`cat conftestval`
|
ac_cv_sizeof_int=`cat conftestval`
|
||||||
else
|
else
|
||||||
|
|
@ -11267,7 +11307,7 @@ EOF
|
||||||
|
|
||||||
|
|
||||||
echo $ac_n "checking size of long""... $ac_c" 1>&6
|
echo $ac_n "checking size of long""... $ac_c" 1>&6
|
||||||
echo "configure:11271: checking size of long" >&5
|
echo "configure:11311: checking size of long" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
|
|
@ -11275,7 +11315,7 @@ else
|
||||||
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
|
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 11279 "configure"
|
#line 11319 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
main()
|
main()
|
||||||
|
|
@ -11286,7 +11326,7 @@ main()
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:11290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
if { (eval echo configure:11330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||||
then
|
then
|
||||||
ac_cv_sizeof_long=`cat conftestval`
|
ac_cv_sizeof_long=`cat conftestval`
|
||||||
else
|
else
|
||||||
|
|
@ -11343,7 +11383,7 @@ EOF
|
||||||
|
|
||||||
|
|
||||||
echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
|
echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
|
||||||
echo "configure:11347: checking for 8-bit clean memcmp" >&5
|
echo "configure:11387: checking for 8-bit clean memcmp" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
|
|
@ -11351,7 +11391,7 @@ else
|
||||||
ac_cv_func_memcmp_clean=no
|
ac_cv_func_memcmp_clean=no
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 11355 "configure"
|
#line 11395 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
main()
|
main()
|
||||||
|
|
@ -11361,7 +11401,7 @@ main()
|
||||||
}
|
}
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:11365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
if { (eval echo configure:11405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||||
then
|
then
|
||||||
ac_cv_func_memcmp_clean=yes
|
ac_cv_func_memcmp_clean=yes
|
||||||
else
|
else
|
||||||
|
|
@ -11379,12 +11419,12 @@ echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6
|
||||||
test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}"
|
test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}"
|
||||||
|
|
||||||
echo $ac_n "checking for strftime""... $ac_c" 1>&6
|
echo $ac_n "checking for strftime""... $ac_c" 1>&6
|
||||||
echo "configure:11383: checking for strftime" >&5
|
echo "configure:11423: checking for strftime" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_func_strftime'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_func_strftime'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 11388 "configure"
|
#line 11428 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
/* System header to define __stub macros and hopefully few prototypes,
|
/* System header to define __stub macros and hopefully few prototypes,
|
||||||
which can conflict with char strftime(); below. */
|
which can conflict with char strftime(); below. */
|
||||||
|
|
@ -11407,7 +11447,7 @@ strftime();
|
||||||
|
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:11411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:11451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
eval "ac_cv_func_strftime=yes"
|
eval "ac_cv_func_strftime=yes"
|
||||||
else
|
else
|
||||||
|
|
@ -11429,7 +11469,7 @@ else
|
||||||
echo "$ac_t""no" 1>&6
|
echo "$ac_t""no" 1>&6
|
||||||
# strftime is in -lintl on SCO UNIX.
|
# strftime is in -lintl on SCO UNIX.
|
||||||
echo $ac_n "checking for strftime in -lintl""... $ac_c" 1>&6
|
echo $ac_n "checking for strftime in -lintl""... $ac_c" 1>&6
|
||||||
echo "configure:11433: checking for strftime in -lintl" >&5
|
echo "configure:11473: checking for strftime in -lintl" >&5
|
||||||
ac_lib_var=`echo intl'_'strftime | sed 'y%./+-%__p_%'`
|
ac_lib_var=`echo intl'_'strftime | sed 'y%./+-%__p_%'`
|
||||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
|
|
@ -11437,7 +11477,7 @@ else
|
||||||
ac_save_LIBS="$LIBS"
|
ac_save_LIBS="$LIBS"
|
||||||
LIBS="-lintl $LIBS"
|
LIBS="-lintl $LIBS"
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 11441 "configure"
|
#line 11481 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
/* Override any gcc2 internal prototype to avoid an error. */
|
/* Override any gcc2 internal prototype to avoid an error. */
|
||||||
/* We use char because int might match the return type of a gcc2
|
/* We use char because int might match the return type of a gcc2
|
||||||
|
|
@ -11448,7 +11488,7 @@ int main() {
|
||||||
strftime()
|
strftime()
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:11452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:11492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
eval "ac_cv_lib_$ac_lib_var=yes"
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
||||||
else
|
else
|
||||||
|
|
@ -11476,12 +11516,12 @@ fi
|
||||||
|
|
||||||
|
|
||||||
echo $ac_n "checking for vprintf""... $ac_c" 1>&6
|
echo $ac_n "checking for vprintf""... $ac_c" 1>&6
|
||||||
echo "configure:11480: checking for vprintf" >&5
|
echo "configure:11520: checking for vprintf" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 11485 "configure"
|
#line 11525 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
/* System header to define __stub macros and hopefully few prototypes,
|
/* System header to define __stub macros and hopefully few prototypes,
|
||||||
which can conflict with char vprintf(); below. */
|
which can conflict with char vprintf(); below. */
|
||||||
|
|
@ -11504,7 +11544,7 @@ vprintf();
|
||||||
|
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:11508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:11548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
eval "ac_cv_func_vprintf=yes"
|
eval "ac_cv_func_vprintf=yes"
|
||||||
else
|
else
|
||||||
|
|
@ -11528,12 +11568,12 @@ fi
|
||||||
|
|
||||||
if test "$ac_cv_func_vprintf" != yes; then
|
if test "$ac_cv_func_vprintf" != yes; then
|
||||||
echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
|
echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
|
||||||
echo "configure:11532: checking for _doprnt" >&5
|
echo "configure:11572: checking for _doprnt" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 11537 "configure"
|
#line 11577 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
/* System header to define __stub macros and hopefully few prototypes,
|
/* System header to define __stub macros and hopefully few prototypes,
|
||||||
which can conflict with char _doprnt(); below. */
|
which can conflict with char _doprnt(); below. */
|
||||||
|
|
@ -11556,7 +11596,7 @@ _doprnt();
|
||||||
|
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:11560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:11600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
eval "ac_cv_func__doprnt=yes"
|
eval "ac_cv_func__doprnt=yes"
|
||||||
else
|
else
|
||||||
|
|
@ -11585,12 +11625,12 @@ if test $ac_cv_func_vprintf = yes ; then
|
||||||
for ac_func in vsnprintf vsprintf
|
for ac_func in vsnprintf vsprintf
|
||||||
do
|
do
|
||||||
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
||||||
echo "configure:11589: checking for $ac_func" >&5
|
echo "configure:11629: checking for $ac_func" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 11594 "configure"
|
#line 11634 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
/* System header to define __stub macros and hopefully few prototypes,
|
/* System header to define __stub macros and hopefully few prototypes,
|
||||||
which can conflict with char $ac_func(); below. */
|
which can conflict with char $ac_func(); below. */
|
||||||
|
|
@ -11613,7 +11653,7 @@ $ac_func();
|
||||||
|
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:11617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:11657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
eval "ac_cv_func_$ac_func=yes"
|
eval "ac_cv_func_$ac_func=yes"
|
||||||
else
|
else
|
||||||
|
|
@ -11688,12 +11728,12 @@ for ac_func in \
|
||||||
|
|
||||||
do
|
do
|
||||||
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
||||||
echo "configure:11692: checking for $ac_func" >&5
|
echo "configure:11732: checking for $ac_func" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 11697 "configure"
|
#line 11737 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
/* System header to define __stub macros and hopefully few prototypes,
|
/* System header to define __stub macros and hopefully few prototypes,
|
||||||
which can conflict with char $ac_func(); below. */
|
which can conflict with char $ac_func(); below. */
|
||||||
|
|
@ -11716,7 +11756,7 @@ $ac_func();
|
||||||
|
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:11720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:11760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
eval "ac_cv_func_$ac_func=yes"
|
eval "ac_cv_func_$ac_func=yes"
|
||||||
else
|
else
|
||||||
|
|
@ -11744,12 +11784,12 @@ done
|
||||||
for ac_func in getopt tempnam
|
for ac_func in getopt tempnam
|
||||||
do
|
do
|
||||||
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
||||||
echo "configure:11748: checking for $ac_func" >&5
|
echo "configure:11788: checking for $ac_func" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 11753 "configure"
|
#line 11793 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
/* System header to define __stub macros and hopefully few prototypes,
|
/* System header to define __stub macros and hopefully few prototypes,
|
||||||
which can conflict with char $ac_func(); below. */
|
which can conflict with char $ac_func(); below. */
|
||||||
|
|
@ -11772,7 +11812,7 @@ $ac_func();
|
||||||
|
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:11776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:11816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
eval "ac_cv_func_$ac_func=yes"
|
eval "ac_cv_func_$ac_func=yes"
|
||||||
else
|
else
|
||||||
|
|
@ -11802,13 +11842,13 @@ done
|
||||||
# Check Configuration
|
# Check Configuration
|
||||||
|
|
||||||
echo $ac_n "checking declaration of sys_errlist""... $ac_c" 1>&6
|
echo $ac_n "checking declaration of sys_errlist""... $ac_c" 1>&6
|
||||||
echo "configure:11806: checking declaration of sys_errlist" >&5
|
echo "configure:11846: checking declaration of sys_errlist" >&5
|
||||||
if eval "test \"`echo '$''{'ol_cv_dcl_sys_errlist'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ol_cv_dcl_sys_errlist'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
|
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 11812 "configure"
|
#line 11852 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
@ -11818,7 +11858,7 @@ int main() {
|
||||||
char *c = (char *) *sys_errlist
|
char *c = (char *) *sys_errlist
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:11822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:11862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ol_cv_dcl_sys_errlist=yes
|
ol_cv_dcl_sys_errlist=yes
|
||||||
else
|
else
|
||||||
|
|
@ -11838,20 +11878,20 @@ if test $ol_cv_dcl_sys_errlist = no ; then
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
echo $ac_n "checking existence of sys_errlist""... $ac_c" 1>&6
|
echo $ac_n "checking existence of sys_errlist""... $ac_c" 1>&6
|
||||||
echo "configure:11842: checking existence of sys_errlist" >&5
|
echo "configure:11882: checking existence of sys_errlist" >&5
|
||||||
if eval "test \"`echo '$''{'ol_cv_have_sys_errlist'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ol_cv_have_sys_errlist'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
|
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 11848 "configure"
|
#line 11888 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
int main() {
|
int main() {
|
||||||
char *c = (char *) *sys_errlist
|
char *c = (char *) *sys_errlist
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:11855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:11895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ol_cv_have_sys_errlist=yes
|
ol_cv_have_sys_errlist=yes
|
||||||
else
|
else
|
||||||
|
|
|
||||||
|
|
@ -1670,6 +1670,7 @@ AM_TYPE_PTRDIFF_T
|
||||||
AC_TYPE_SIGNAL
|
AC_TYPE_SIGNAL
|
||||||
OL_TYPE_SIG_ATOMIC_T
|
OL_TYPE_SIG_ATOMIC_T
|
||||||
AC_TYPE_SIZE_T
|
AC_TYPE_SIZE_T
|
||||||
|
OL_TYPE_SOCKLEN_T
|
||||||
AC_STRUCT_ST_BLKSIZE
|
AC_STRUCT_ST_BLKSIZE
|
||||||
AC_HEADER_TIME
|
AC_HEADER_TIME
|
||||||
AC_STRUCT_TM
|
AC_STRUCT_TM
|
||||||
|
|
|
||||||
|
|
@ -227,6 +227,9 @@
|
||||||
/* define this if sig_atomic_t isn't defined in signal.h */
|
/* define this if sig_atomic_t isn't defined in signal.h */
|
||||||
#undef sig_atomic_t
|
#undef sig_atomic_t
|
||||||
|
|
||||||
|
/* define this if socklen_t isn't defined in sys/types.h or sys/socket.h */
|
||||||
|
#undef socklen_t
|
||||||
|
|
||||||
/* These are defined in ldap_features.h */
|
/* These are defined in ldap_features.h */
|
||||||
/*
|
/*
|
||||||
LDAP_API_FEATURE_X_OPENLDAP_REENTRANT
|
LDAP_API_FEATURE_X_OPENLDAP_REENTRANT
|
||||||
|
|
|
||||||
|
|
@ -302,6 +302,9 @@ typedef char * caddr_t;
|
||||||
/* define this if sig_atomic_t isn't defined in signal.h */
|
/* define this if sig_atomic_t isn't defined in signal.h */
|
||||||
/* #undef sig_atomic_t */
|
/* #undef sig_atomic_t */
|
||||||
|
|
||||||
|
/* define this if socklen_t isn't defined in sys/types.h or sys/socket.h */
|
||||||
|
#define socklen_t int
|
||||||
|
|
||||||
/* These are defined in ldap_features.h */
|
/* These are defined in ldap_features.h */
|
||||||
/*
|
/*
|
||||||
LDAP_API_FEATURE_X_OPENLDAP_REENTRANT
|
LDAP_API_FEATURE_X_OPENLDAP_REENTRANT
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue