modified some files for builing in macosx(ppc)
This commit is contained in:
75
qse/configure
vendored
75
qse/configure
vendored
@ -17382,6 +17382,18 @@ fi
|
||||
|
||||
done
|
||||
|
||||
for ac_header in crt_externs.h
|
||||
do :
|
||||
ac_fn_c_check_header_mongrel "$LINENO" "crt_externs.h" "ac_cv_header_crt_externs_h" "$ac_includes_default"
|
||||
if test "x$ac_cv_header_crt_externs_h" = xyes; then :
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define HAVE_CRT_EXTERNS_H 1
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
|
||||
done
|
||||
|
||||
for ac_header in uci.h
|
||||
do :
|
||||
ac_fn_c_check_header_mongrel "$LINENO" "uci.h" "ac_cv_header_uci_h" "$ac_includes_default"
|
||||
@ -18056,11 +18068,55 @@ if test "x$ac_cv_lib_ssl_SSL_library_init" = xyes; then :
|
||||
$as_echo "#define HAVE_SSL 1" >>confdefs.h
|
||||
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_get_error in -lcrypto" >&5
|
||||
$as_echo_n "checking for ERR_get_error in -lcrypto... " >&6; }
|
||||
if ${ac_cv_lib_crypto_ERR_get_error+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
ac_check_lib_save_LIBS=$LIBS
|
||||
LIBS="-lcrypto $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 ERR_get_error ();
|
||||
int
|
||||
main ()
|
||||
{
|
||||
return ERR_get_error ();
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
_ACEOF
|
||||
if ac_fn_c_try_link "$LINENO"; then :
|
||||
ac_cv_lib_crypto_ERR_get_error=yes
|
||||
else
|
||||
ac_cv_lib_crypto_ERR_get_error=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_crypto_ERR_get_error" >&5
|
||||
$as_echo "$ac_cv_lib_crypto_ERR_get_error" >&6; }
|
||||
if test "x$ac_cv_lib_crypto_ERR_get_error" = xyes; then :
|
||||
|
||||
SSL_LIBS="${SSL_LIBS} -lcrypto"
|
||||
|
||||
fi
|
||||
|
||||
|
||||
$as_echo "#define HAVE_SSL_LIBRARY_INIT 1" >>confdefs.h
|
||||
|
||||
|
||||
fi
|
||||
|
||||
|
||||
fi
|
||||
|
||||
|
||||
@ -19732,21 +19788,36 @@ fi
|
||||
|
||||
if test ${ac_cv_sizeof___int128_t} -gt 0
|
||||
then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking __int128_t with %" >&5
|
||||
$as_echo_n "checking __int128_t with %... " >&6; }
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
__int128_t x = 0; x %= 10;
|
||||
|
||||
volatile __int128_t x, base;
|
||||
x = (__int128_t)&base;
|
||||
base = (__int128_t)&x;
|
||||
x = x % base;
|
||||
return (int)x;
|
||||
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
_ACEOF
|
||||
if ac_fn_c_try_compile "$LINENO"; then :
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
$as_echo "yes" >&6; }
|
||||
|
||||
else
|
||||
ac_cv_sizeof___int128_t=0
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
$as_echo "no" >&6; }
|
||||
ac_cv_sizeof___int128_t=0
|
||||
|
||||
|
||||
fi
|
||||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||
|
Reference in New Issue
Block a user