only {big,litte}endian is set to "no" and neither of them is set to "yes".
Previously in the case where only one of the entries was present and set to
"no", openssl would just assume little endian, even if it was saying no to
little endian. Similar fix as for net-snmp as per #1320.
# endianness fun.. whee
. ${CONFIG_SITE}
- if test "x$ac_cv_c_bigendian" = "xyes"; then
+ if [ "x$ac_cv_c_bigendian" = "xyes" -o "x$ac_cv_c_littleendian" = "xno" ]; then
CFLAG="${CFLAG} -DB_ENDIAN"
- elif test "x$ac_cv_c_littleendian" = "xyes"; then
+ elif [ "x$ac_cv_c_littleendian" = "xyes" -o "x$ac_cv_c_bigendian" = "xno" ]; then
CFLAG="${CFLAG} -DL_ENDIAN"
- elif test "x$ac_cv_c_bigendian" = "xno" && test "x$ac_cv_c_littleendian" = "xno"; then
- # no idea what to do with this...
- :
else
- CFLAG="${CFLAG} -DL_ENDIAN"
+ oefatal do_configure cannot determine endianess
fi
os=${HOST_OS}