We defined WORDS_BIGENDIAN to 0 if it wasn't defined, however that doesn't work with Apple universal
builds, since we don't know the endianness at configure time!
So add the ifndef WORDS_BIGNENDIAN -> define WORDS_BIGENDIAN 0 logic to
platform.h.
... | ... |
@@ -1,3 +1,7 @@ |
1 |
+Fri Apr 23 21:38:19 EEST 2010 (edwin) |
|
2 |
+------------------------------------- |
|
3 |
+ * configure: fix Apple-style universal build (bb #1988). |
|
4 |
+ |
|
1 | 5 |
Thu Apr 22 22:34:52 CEST 2010 (acab) |
2 | 6 |
------------------------------------ |
3 | 7 |
* libclamav/fmap.c: downgrade warning when the kernel doesn't want a map back |
... | ... |
@@ -12766,10 +12766,6 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h |
12766 | 12766 |
presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; |
12767 | 12767 |
esac |
12768 | 12768 |
|
12769 |
-if test $ac_cv_c_bigendian = no; then |
|
12770 |
- $as_echo "#define WORDS_BIGENDIAN 0" >>confdefs.h |
|
12771 |
- |
|
12772 |
-fi |
|
12773 | 12769 |
|
12774 | 12770 |
LIBM= |
12775 | 12771 |
case $host in |