Commit f20dec54 authored by Vitaly Lipatov's avatar Vitaly Lipatov

commit 21.1.0 upon wine-6.0

parent 814deef6

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

...@@ -687,6 +687,8 @@ USB_LIBS ...@@ -687,6 +687,8 @@ USB_LIBS
USB_CFLAGS USB_CFLAGS
SANE_LIBS SANE_LIBS
SANE_CFLAGS SANE_CFLAGS
GMP_LIBS
GMP_CFLAGS
GNUTLS_LIBS GNUTLS_LIBS
GNUTLS_CFLAGS GNUTLS_CFLAGS
HAL_LIBS HAL_LIBS
...@@ -1901,6 +1903,8 @@ HAL_CFLAGS ...@@ -1901,6 +1903,8 @@ HAL_CFLAGS
HAL_LIBS HAL_LIBS
GNUTLS_CFLAGS GNUTLS_CFLAGS
GNUTLS_LIBS GNUTLS_LIBS
GMP_CFLAGS
GMP_LIBS
SANE_CFLAGS SANE_CFLAGS
SANE_LIBS SANE_LIBS
USB_CFLAGS USB_CFLAGS
...@@ -2685,6 +2689,8 @@ Some influential environment variables: ...@@ -2685,6 +2689,8 @@ Some influential environment variables:
GNUTLS_CFLAGS GNUTLS_CFLAGS
C compiler flags for gnutls, overriding pkg-config C compiler flags for gnutls, overriding pkg-config
GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
GMP_CFLAGS C compiler flags for gmp, overriding pkg-config
GMP_LIBS Linker flags for gmp, overriding pkg-config
SANE_CFLAGS C compiler flags for libsane, overriding pkg-config SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
SANE_LIBS Linker flags for libsane, overriding pkg-config SANE_LIBS Linker flags for libsane, overriding pkg-config
USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
...@@ -13754,6 +13760,95 @@ esac ...@@ -13754,6 +13760,95 @@ esac
fi fi
if test "x$with_gnutls" != "xno"
then
if ${GMP_CFLAGS:+false} :; then :
if ${PKG_CONFIG+:} false; then :
GMP_CFLAGS=`$PKG_CONFIG --cflags gmp 2>/dev/null`
fi
fi
if ${GMP_LIBS:+false} :; then :
if ${PKG_CONFIG+:} false; then :
GMP_LIBS=`$PKG_CONFIG --libs gmp 2>/dev/null`
fi
fi
GMP_LIBS=${GMP_LIBS:-"-lgmp"}
$as_echo "$as_me:${as_lineno-$LINENO}: gmp cflags: $GMP_CFLAGS" >&5
$as_echo "$as_me:${as_lineno-$LINENO}: gmp libs: $GMP_LIBS" >&5
ac_save_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $GMP_CFLAGS"
for ac_header in gmp.h
do :
ac_fn_c_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default"
if test "x$ac_cv_header_gmp_h" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_GMP_H 1
_ACEOF
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgmp" >&5
$as_echo_n "checking for -lgmp... " >&6; }
if ${ac_cv_lib_soname_gmp+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_soname_save_LIBS=$LIBS
LIBS="-lgmp $GMP_LIBS $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 __gmpz_init ();
int
main ()
{
return __gmpz_init ();
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
case "$LIBEXT" in
dll) ac_cv_lib_soname_gmp=`$ac_cv_path_LDD conftest.exe | grep "gmp" | sed -e "s/dll.*/dll/"';2,$d'` ;;
dylib) ac_cv_lib_soname_gmp=`$OTOOL -L conftest$ac_exeext | grep "libgmp-*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgmp-*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
*) ac_cv_lib_soname_gmp=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgmp-*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgmp-*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
if ${ac_cv_lib_soname_gmp:+false} :; then :
ac_cv_lib_soname_gmp=`$LDD conftest$ac_exeext | grep "libgmp-*\\.$LIBEXT" | sed -e "s/^.*\(libgmp-*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
fi ;;
esac
else
ac_cv_lib_soname_gmp=
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_soname_save_LIBS
fi
if ${ac_cv_lib_soname_gmp:+false} :; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
$as_echo "not found" >&6; }
GMP_CFLAGS=""
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gmp" >&5
$as_echo "$ac_cv_lib_soname_gmp" >&6; }
cat >>confdefs.h <<_ACEOF
#define SONAME_LIBGMP "$ac_cv_lib_soname_gmp"
_ACEOF
fi
fi
done
CPPFLAGS=$ac_save_CPPFLAGS
fi
if test "x$with_sane" != "xno" if test "x$with_sane" != "xno"
then then
if ${SANE_CFLAGS:+false} :; then : if ${SANE_CFLAGS:+false} :; then :
...@@ -20322,6 +20417,8 @@ HAL_CFLAGS = $HAL_CFLAGS ...@@ -20322,6 +20417,8 @@ HAL_CFLAGS = $HAL_CFLAGS
HAL_LIBS = $HAL_LIBS HAL_LIBS = $HAL_LIBS
GNUTLS_CFLAGS = $GNUTLS_CFLAGS GNUTLS_CFLAGS = $GNUTLS_CFLAGS
GNUTLS_LIBS = $GNUTLS_LIBS GNUTLS_LIBS = $GNUTLS_LIBS
GMP_CFLAGS = $GMP_CFLAGS
GMP_LIBS = $GMP_LIBS
SANE_CFLAGS = $SANE_CFLAGS SANE_CFLAGS = $SANE_CFLAGS
SANE_LIBS = $SANE_LIBS SANE_LIBS = $SANE_LIBS
USB_CFLAGS = $USB_CFLAGS USB_CFLAGS = $USB_CFLAGS
......
...@@ -1486,6 +1486,14 @@ fi ...@@ -1486,6 +1486,14 @@ fi
WINE_WARNING_WITH(gnutls,[test "x$ac_cv_lib_soname_gnutls" = "x"], WINE_WARNING_WITH(gnutls,[test "x$ac_cv_lib_soname_gnutls" = "x"],
[libgnutls ${notice_platform}development files not found, no schannel support.]) [libgnutls ${notice_platform}development files not found, no schannel support.])
dnl **** Check for libgmp ****
if test "x$with_gnutls" != "xno"
then
WINE_PACKAGE_FLAGS(GMP,[gmp],[-lgmp],,,
[AC_CHECK_HEADERS([gmp.h],
[WINE_CHECK_SONAME(gmp,__gmpz_init,,[GMP_CFLAGS=""],[$GMP_LIBS],[[libgmp-*]])])])
fi
dnl **** Check for SANE **** dnl **** Check for SANE ****
if test "x$with_sane" != "xno" if test "x$with_sane" != "xno"
then then
......
This diff is collapsed. Click to expand it.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment