Merge branch '8.6'
This commit is contained in:
commit
fd7b04fb9d
@ -26,6 +26,7 @@
|
||||
- better fitting of fonts with overhanging edges [Adrià]
|
||||
- revise C++ example [fangqiao]
|
||||
- strict round down on jpeg shrink on load [davidwood]
|
||||
- configure test for g++ 7.2 and composite.cpp
|
||||
|
||||
12/2/18 started 8.6.3
|
||||
- use pkg-config to find libjpeg, if we can
|
||||
|
24
configure.ac
24
configure.ac
@ -416,6 +416,30 @@ if test x$have_vector_shuffle = x"yes"; then
|
||||
have_vector_arith=no
|
||||
])
|
||||
AC_LANG_POP([C++])
|
||||
fi
|
||||
|
||||
# gcc 7.2 seems to work, but then gets confused by signed constants in
|
||||
# templates
|
||||
if test x$have_vector_arith = x"yes"; then
|
||||
AC_MSG_CHECKING([for C++ signed constants in vector templates])
|
||||
AC_LANG_PUSH([C++])
|
||||
AC_TRY_COMPILE([
|
||||
typedef float v4f __attribute__((vector_size(4 * sizeof(float))));
|
||||
template <typename T>
|
||||
static void
|
||||
h( v4f B )
|
||||
{
|
||||
v4f f;
|
||||
f = -1 * B;
|
||||
}
|
||||
],[
|
||||
],[
|
||||
AC_MSG_RESULT([yes])
|
||||
], [
|
||||
AC_MSG_RESULT([no])
|
||||
have_vector_arith=no
|
||||
])
|
||||
AC_LANG_POP([C++])
|
||||
|
||||
if test x$have_vector_arith = x"yes"; then
|
||||
AC_DEFINE_UNQUOTED(HAVE_VECTOR_ARITH, 1,
|
||||
|
Loading…
Reference in New Issue
Block a user