From 2c1af48bc30630a72c7d31c23ecd14fa0d8e115a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 6 Jan 2010 14:19:07 +0000 Subject: [PATCH] make things work on s390 --- update-gdk-pixbuf-loaders | 2 ++ update-gtk-immodules | 2 ++ 2 files changed, 4 insertions(+) diff --git a/update-gdk-pixbuf-loaders b/update-gdk-pixbuf-loaders index 5abd80a..9bd1ed3 100755 --- a/update-gdk-pixbuf-loaders +++ b/update-gdk-pixbuf-loaders @@ -18,6 +18,8 @@ esac # autoconf uses powerpc not ppc host=`echo $host | sed "s/^ppc/powerpc/"` +# autoconf uses ibm-linux not redhat-linux (s390x) +host=`echo $host | sed "s/^s390\(x\)*-redhat/s390\1-ibm/"` # We have had problems in the past with build systems # changing host from i386 to i686 and appending/dropping diff --git a/update-gtk-immodules b/update-gtk-immodules index 6cae58d..e7b5517 100755 --- a/update-gtk-immodules +++ b/update-gtk-immodules @@ -18,6 +18,8 @@ esac # autoconf uses powerpc not ppc host=`echo $host | sed "s/^ppc/powerpc/"` +# autoconf uses ibm-linux not redhat-linux (s390x) +host=`echo $host | sed "s/^s390\(x\)*-redhat/s390\1-ibm/"` # We have had problems in the past with build systems # changing host from i386 to i686 and appending/dropping