[Libreoffice-commits] .: configure.ac

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Oct 31 06:17:10 PDT 2012


 configure.ac |   12 ++++++++++++
 1 file changed, 12 insertions(+)

New commits:
commit 5f8fdb3f250441c7d225c494b7d418448d5fe658
Author: Petr Mladek <pmladek at suse.cz>
Date:   Wed Oct 31 14:14:13 2012 +0100

    define fallback alligment values also for Linux i586 and x86_64
    
    The macro AC_CHECK_ALIGNOF does not exist on SLED10
    
    Change-Id: I30fcc8f3715b1855418ea406d0e7b038c7bfb4b3

diff --git a/configure.ac b/configure.ac
index 0900d85..8910055 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4982,6 +4982,18 @@ if test "$_os" != "WINNT" -o "$WITH_MINGW" = "yes"; then
                 test -z "$ac_cv_alignof_long" && ac_cv_alignof_long=1
                 test -z "$ac_cv_alignof_double" && ac_cv_alignof_double=1
                 ;;
+            Linux-i686)
+                test -z "$ac_cv_alignof_short" && ac_cv_alignof_short=2
+                test -z "$ac_cv_alignof_int" && ac_cv_alignof_int=4
+                test -z "$ac_cv_alignof_long" && ac_cv_alignof_long=4
+                test -z "$ac_cv_alignof_double" && ac_cv_alignof_double=4
+                ;;
+            Linux-x86_64)
+                test -z "$ac_cv_alignof_short" && ac_cv_alignof_short=2
+                test -z "$ac_cv_alignof_int" && ac_cv_alignof_int=4
+                test -z "$ac_cv_alignof_long" && ac_cv_alignof_long=8
+                test -z "$ac_cv_alignof_double" && ac_cv_alignof_double=8
+                ;;
             *)
                 if test -z "$ac_cv_alignof_short" -o \
                         -z "$ac_cv_alignof_int" -o \


More information about the Libreoffice-commits mailing list