3 # Patch managed by http://www.holgerschurig.de/patcher.html
6 --- qt-x11-opensource-src-4.0.1/configure~cross-compile
7 +++ qt-x11-opensource-src-4.0.1/configure
12 - -prefix|-docdir|-headerdir|-plugindir|-datadir|-libdir|-bindir|-translationdir|-sysconfdir|-examplesdir|-demosdir|-depths|-make|-nomake|-platform|-xplatform|-buildkey)
13 + -prefix|-docdir|-headerdir|-plugindir|-datadir|-libdir|-bindir|-translationdir|-sysconfdir|-examplesdir|-demosdir|-depths|-make|-nomake|-platform|-xplatform|-buildkey|-crossarch)
14 VAR=`echo $1 | sed "s,^-\(.*\),\1,"`
25 if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
26 CFG_DEBUG_RELEASE="$VAL"
27 @@ -1649,100 +1652,7 @@
28 echo "Determining system architecture... ($UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_MACHINE)"
31 -if [ "$PLATFORM" != "$XPLATFORM" -a "$CFG_EMBEDDED" != "no" ]; then
32 - case "$CFG_EMBEDDED" in
40 - ARCH="$CFG_EMBEDDED"
44 - case "$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_MACHINE" in
47 - if [ "$OPT_VERBOSE" = "yes" ]; then
52 - if [ "$OPT_VERBOSE" = "yes" ]; then
53 - echo " Sun SPARC (sparc)"
57 - Darwin:*:Power?Macintosh)
58 - if [ "$OPT_VERBOSE" = "yes" ]; then
59 - echo " 32-bit Apple PowerPC (powerpc)"
64 - if [ "$OPT_VERBOSE" = "yes" ]; then
65 - echo " 32-bit Apple Intel (x86)"
70 - if [ "$OPT_VERBOSE" = "yes" ]; then
71 - echo " 64-bit IBM PowerPC (powerpc)"
76 - if [ "$OPT_VERBOSE" = "yes" ]; then
77 - echo " HP PA-RISC (parisc)"
82 - if [ "$OPT_VERBOSE" = "yes" ]; then
83 - echo " 32-bit Intel 80x86 (i386)"
88 - if [ "$PLATFORM" = "linux-g++-32" ]; then
89 - if [ "$OPT_VERBOSE" = "yes" ]; then
90 - echo " 32 bit on 64-bit AMD 80x86 (i386)"
94 - if [ "$OPT_VERBOSE" = "yes" ]; then
95 - echo " 64-bit AMD 80x86 (x86_64)"
101 - if [ "$OPT_VERBOSE" = "yes" ]; then
102 - echo " 32-bit PowerPC (powerpc)"
107 - if [ "$OPT_VERBOSE" = "yes" ]; then
108 - echo " Trying '$UNAME_MACHINE'..."
110 - ARCH="$UNAME_MACHINE"
115 -if [ -d "$relpath/src/corelib/arch/$ARCH" ]; then
116 - if [ "$OPT_VERBOSE" = "yes" ]; then
117 - echo " '$ARCH' is supported"
120 - if [ "$OPT_VERBOSE" = "yes" ]; then
121 - echo " '$ARCH' is unsupported, using 'generic'"
127 if [ "$OPT_VERBOSE" = "yes" ]; then
128 echo "System architecture: '$ARCH'"