aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index f6edefbb0..3eaaa89f7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -86,6 +86,10 @@ dnl }}}
dnl {{{ check for byte order
AC_C_BIGENDIAN
+if test "x$ac_cv_c_bigendian" = "xyes"; then
+ PALUDIS_CXXFLAGS="${PALUDIS_CXXFLAGS} -DPALUDIS_BIG_ENDIAN=1"
+ PALUDIS_PC_CFLAGS="${PALUDIS_PC_CFLAGS} -DPALUDIS_BIG_ENDIAN=1"
+fi
dnl }}}
need_xml_check=