1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
Description: Fix cross building.
Author: Helmut Grohne <helmut@subdivi.de>
Forwarded: not-needed
--- a/configure.ac
+++ b/configure.ac
@@ -844,15 +844,16 @@ if test "X$HAVE_SZIP" = "Xyes" -a "x$HAV
else
exit(1);
}
- ]])],[CAN_ENCODE="yes"],[CAN_ENCODE="no"],[])
-
- ## Report szip encoder test results
- if test "X$CAN_ENCODE" = "Xyes"; then
+ ]])],[
AC_MSG_RESULT([yes])
- fi
- if test "X$CAN_ENCODE" = "Xno"; then
+ CAN_ENCODE="yes"
+ ],[
AC_MSG_RESULT([no])
- fi
+ CAN_ENCODE="no"
+ ],[
+ AC_MSG_RESULT([cross compiling. guessing yes])
+ CAN_ENCODE="yes"
+ ])
## Add "szip" to external filter list
if test "X$CAN_ENCODE" = "Xyes"; then
|