Submitted By: Ken Moffat <ken@kenmoffat.uklinux.net>
Date: 2003-09-24
Initial Package Version: 6b
Origin: Ken Moffat
Description: Allows the build to work on my A1XE.  At a guess this might be
caused by using binutils-2.14.90.0.6 - the script searches for elf32ppc as
the first option in ld's supported emulations, but what actually comes first
is elf32ppclinux, elf32ppc comes second.

--- jpeg-6b/config.guess.orig	2003-09-24 22:40:43.000000000 +0100
+++ jpeg-6b/config.guess	2003-09-24 22:52:49.000000000 +0100
@@ -507,7 +507,7 @@
 	  i?86coff)   echo "${UNAME_MACHINE}-pc-linux-gnucoff"      ; exit 0 ;;
 	  sparclinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
 	  m68klinux)  echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
-	  elf32ppc)   echo "powerpc-unknown-linux-gnu"              ; exit 0 ;;
+	  elf32ppc*)  echo "powerpc-unknown-linux-gnu"              ; exit 0 ;;
 	esac
 
 	if test "${UNAME_MACHINE}" = "alpha" ; then
