added some experimental and unfinished code using tli
This commit is contained in:
87
qse/configure
vendored
87
qse/configure
vendored
@ -17143,7 +17143,7 @@ case "$host" in
|
||||
platform_win32=no
|
||||
;;
|
||||
esac
|
||||
if test "${platform_win32}" = "yes" ; then
|
||||
if test "x${platform_win32}" = "xyes" ; then
|
||||
WIN32_TRUE=
|
||||
WIN32_FALSE='#'
|
||||
else
|
||||
@ -17451,7 +17451,20 @@ fi
|
||||
|
||||
done
|
||||
|
||||
for ac_header in sys/sysctl.h sys/socket.h sys/sockio.h sys/un.h ifaddrs.h linux/netfilter_ipv4.h netinet/sctp.h
|
||||
for ac_header in sys/sysctl.h sys/socket.h sys/sockio.h sys/un.h
|
||||
do :
|
||||
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
||||
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
||||
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
|
||||
done
|
||||
|
||||
for ac_header in ifaddrs.h tiuser.h linux/netfilter_ipv4.h netinet/sctp.h
|
||||
do :
|
||||
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
||||
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
||||
@ -17728,7 +17741,7 @@ _ACEOF
|
||||
fi
|
||||
done
|
||||
|
||||
if test "$ac_cv_func_gethostbyname" = "no"
|
||||
if test "x$ac_cv_func_gethostbyname" = "xno"
|
||||
then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
|
||||
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
|
||||
@ -17775,7 +17788,7 @@ if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
|
||||
fi
|
||||
|
||||
fi
|
||||
if test "$ac_cv_func_connect" = "no"
|
||||
if test "x$ac_cv_func_connect" = "xno"
|
||||
then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
|
||||
$as_echo_n "checking for connect in -lsocket... " >&6; }
|
||||
@ -17821,8 +17834,70 @@ if test "x$ac_cv_lib_socket_connect" = xyes; then :
|
||||
|
||||
fi
|
||||
|
||||
|
||||
if test "x$ac_cv_lib_socket_connect" = xno
|
||||
then
|
||||
for ac_func in t_connect
|
||||
do :
|
||||
ac_fn_c_check_func "$LINENO" "t_connect" "ac_cv_func_t_connect"
|
||||
if test "x$ac_cv_func_t_connect" = xyes; then :
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define HAVE_T_CONNECT 1
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
if test "${platform_win32}" = "yes"
|
||||
done
|
||||
|
||||
if test "x$ac_cv_func_t_connect" = "xno"
|
||||
then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for t_connect in -lnsl_s" >&5
|
||||
$as_echo_n "checking for t_connect in -lnsl_s... " >&6; }
|
||||
if ${ac_cv_lib_nsl_s_t_connect+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
ac_check_lib_save_LIBS=$LIBS
|
||||
LIBS="-lnsl_s $LIBS"
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
/* Override any GCC internal prototype to avoid an error.
|
||||
Use char because int might match the return type of a GCC
|
||||
builtin and then its argument prototype would still apply. */
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
#endif
|
||||
char t_connect ();
|
||||
int
|
||||
main ()
|
||||
{
|
||||
return t_connect ();
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
_ACEOF
|
||||
if ac_fn_c_try_link "$LINENO"; then :
|
||||
ac_cv_lib_nsl_s_t_connect=yes
|
||||
else
|
||||
ac_cv_lib_nsl_s_t_connect=no
|
||||
fi
|
||||
rm -f core conftest.err conftest.$ac_objext \
|
||||
conftest$ac_exeext conftest.$ac_ext
|
||||
LIBS=$ac_check_lib_save_LIBS
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_s_t_connect" >&5
|
||||
$as_echo "$ac_cv_lib_nsl_s_t_connect" >&6; }
|
||||
if test "x$ac_cv_lib_nsl_s_t_connect" = xyes; then :
|
||||
|
||||
SOCKET_LIBS="$SOCKET_LIBS -lnsl_s"
|
||||
$as_echo "#define HAVE_T_CONNECT 1" >>confdefs.h
|
||||
|
||||
|
||||
fi
|
||||
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
if test "x${platform_win32}" = "xyes"
|
||||
then
|
||||
SOCKET_LIBS="$SOCKET_LIBS -lws2_32"
|
||||
fi
|
||||
@ -19883,7 +19958,7 @@ _ACEOF
|
||||
|
||||
|
||||
|
||||
if test "${platform_win32}" = "yes"
|
||||
if test "x${platform_win32}" = "xyes"
|
||||
then
|
||||
# The cast to long int works around a bug in the HP C Compiler
|
||||
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
|
||||
|
Reference in New Issue
Block a user