Line
Link Here
|
0 |
-- texlive-20190410-source/libs/cairo/m4/float.m4.orig |
0 |
++ texlive-20190410-source/libs/cairo/m4/float.m4 |
Lines 12-18
AC_DEFUN([AX_C_FLOAT_WORDS_BIGENDIAN],
Link Here
|
12 |
[AC_CACHE_CHECK(whether float word ordering is bigendian, |
12 |
[AC_CACHE_CHECK(whether float word ordering is bigendian, |
13 |
ax_cv_c_float_words_bigendian, [ |
13 |
ax_cv_c_float_words_bigendian, [ |
14 |
|
14 |
|
15 |
# The endianess is detected by first compiling C code that contains a special |
15 |
# The endianness is detected by first compiling C code that contains a special |
16 |
# double float value, then grepping the resulting object file for certain |
16 |
# double float value, then grepping the resulting object file for certain |
17 |
# strings of ascii values. The double is specially crafted to have a |
17 |
# strings of ascii values. The double is specially crafted to have a |
18 |
# binary representation that corresponds with a simple string. In this |
18 |
# binary representation that corresponds with a simple string. In this |
Lines 24-39
AC_DEFUN([AX_C_FLOAT_WORDS_BIGENDIAN],
Link Here
|
24 |
# is found, the user is instructed to specify the ordering. |
24 |
# is found, the user is instructed to specify the ordering. |
25 |
|
25 |
|
26 |
ax_cv_c_float_words_bigendian=unknown |
26 |
ax_cv_c_float_words_bigendian=unknown |
27 |
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ |
27 |
AC_LINK_IFELSE([AC_LANG_SOURCE([[ |
28 |
|
28 |
|
29 |
double d = 90904234967036810337470478905505011476211692735615632014797120844053488865816695273723469097858056257517020191247487429516932130503560650002327564517570778480236724525140520121371739201496540132640109977779420565776568942592.0; |
29 |
double d __attribute__((used)) = 90904234967036810337470478905505011476211692735615632014797120844053488865816695273723469097858056257517020191247487429516932130503560650002327564517570778480236724525140520121371739201496540132640109977779420565776568942592.0; |
|
|
30 |
int main() { return 0; } |
30 |
|
31 |
|
31 |
]])], [ |
32 |
]])], [ |
32 |
|
33 |
|
33 |
if strings - conftest.$ac_objext | grep noonsees >/dev/null ; then |
34 |
if strings -a conftest$ac_exeext | grep noonsees >/dev/null ; then |
34 |
ax_cv_c_float_words_bigendian=yes |
35 |
ax_cv_c_float_words_bigendian=yes |
35 |
fi |
36 |
fi |
36 |
if strings - conftest.$ac_objext | grep seesnoon >/dev/null ; then |
37 |
if strings -a conftest$ac_exeext | grep seesnoon >/dev/null ; then |
37 |
if test "$ax_cv_c_float_words_bigendian" = unknown; then |
38 |
if test "$ax_cv_c_float_words_bigendian" = unknown; then |
38 |
ax_cv_c_float_words_bigendian=no |
39 |
ax_cv_c_float_words_bigendian=no |
39 |
else |
40 |
else |
40 |
-- texlive-20190410-source/libs/cairo/configure.orig |
41 |
++ texlive-20190410-source/libs/cairo/configure |
Lines 5650-5656
if ${ax_cv_c_float_words_bigendian+:} fa
Link Here
|
5650 |
else |
5650 |
else |
5651 |
|
5651 |
|
5652 |
|
5652 |
|
5653 |
# The endianess is detected by first compiling C code that contains a special |
5653 |
# The endianness is detected by first compiling C code that contains a special |
5654 |
# double float value, then grepping the resulting object file for certain |
5654 |
# double float value, then grepping the resulting object file for certain |
5655 |
# strings of ascii values. The double is specially crafted to have a |
5655 |
# strings of ascii values. The double is specially crafted to have a |
5656 |
# binary representation that corresponds with a simple string. In this |
5656 |
# binary representation that corresponds with a simple string. In this |
Lines 5666-5682
cat confdefs.h - <<_ACEOF >conftest.$ac_
Link Here
|
5666 |
/* end confdefs.h. */ |
5666 |
/* end confdefs.h. */ |
5667 |
|
5667 |
|
5668 |
|
5668 |
|
5669 |
double d = 90904234967036810337470478905505011476211692735615632014797120844053488865816695273723469097858056257517020191247487429516932130503560650002327564517570778480236724525140520121371739201496540132640109977779420565776568942592.0; |
5669 |
double d __attribute__((used)) = 90904234967036810337470478905505011476211692735615632014797120844053488865816695273723469097858056257517020191247487429516932130503560650002327564517570778480236724525140520121371739201496540132640109977779420565776568942592.0; |
|
|
5670 |
int main() { return 0; } |
5670 |
|
5671 |
|
5671 |
|
5672 |
|
5672 |
_ACEOF |
5673 |
_ACEOF |
5673 |
if ac_fn_c_try_compile "$LINENO"; then : |
5674 |
if ac_fn_c_try_link "$LINENO"; then : |
5674 |
|
5675 |
|
5675 |
|
5676 |
|
5676 |
if strings - conftest.$ac_objext | grep noonsees >/dev/null ; then |
5677 |
if strings -a conftest$ac_exeext | grep noonsees >/dev/null ; then |
5677 |
ax_cv_c_float_words_bigendian=yes |
5678 |
ax_cv_c_float_words_bigendian=yes |
5678 |
fi |
5679 |
fi |
5679 |
if strings - conftest.$ac_objext | grep seesnoon >/dev/null ; then |
5680 |
if strings -a conftest$ac_exeext | grep seesnoon >/dev/null ; then |
5680 |
if test "$ax_cv_c_float_words_bigendian" = unknown; then |
5681 |
if test "$ax_cv_c_float_words_bigendian" = unknown; then |
5681 |
ax_cv_c_float_words_bigendian=no |
5682 |
ax_cv_c_float_words_bigendian=no |
5682 |
else |
5683 |
else |
Lines 5686-5692
fi
Link Here
|
5686 |
|
5687 |
|
5687 |
|
5688 |
|
5688 |
fi |
5689 |
fi |
5689 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5690 |
rm -f core conftest.err conftest.$ac_objext \ |
|
|
5691 |
conftest$ac_exeext conftest.$ac_ext |
5690 |
fi |
5692 |
fi |
5691 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_c_float_words_bigendian" >&5 |
5693 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_c_float_words_bigendian" >&5 |
5692 |
$as_echo "$ax_cv_c_float_words_bigendian" >&6; } |
5694 |
$as_echo "$ax_cv_c_float_words_bigendian" >&6; } |