[PATCH] Don't try asm on any Darwin version
David Shaw
dshaw@jabberwocky.com
Thu Dec 5 03:14:01 2002
--UlVJffcvxoiEqYs2
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by claude.jabberwocky.com id gB52EIh10461
On Fri, Nov 29, 2002 at 03:24:07PM -0800, Wilfredo S=E1nchez wrote:
> Howdy-
>=20
> This patch tweaks the logic as to whether to try ASM modules on=20
> Darwin so that it doesn't try on any Darwin version, rather than just=20
> 6.1, since the ASM modules aren't available for any version.
Use the powerpc/NetBSD assembler code. That works on Darwin.
David
--=20
David Shaw | dshaw@jabberwocky.com | WWW http://www.jabberwocky.co=
m/
+------------------------------------------------------------------------=
---+
"There are two major products that come out of Berkeley: LSD and UNIX.
We don't believe this to be a coincidence." - Jeremy S. Anderson
--UlVJffcvxoiEqYs2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=pat
Index: config.links
===================================================================
RCS file: /cvs/gnupg/gnupg/mpi/config.links,v
retrieving revision 1.30.2.1
retrieving revision 1.30.2.2
diff -u -r1.30.2.1 -r1.30.2.2
--- config.links 17 Oct 2002 14:52:44 -0000 1.30.2.1
+++ config.links 16 Nov 2002 16:51:06 -0000 1.30.2.2
@@ -31,11 +31,6 @@
if test "$try_asm_modules" = "yes" ; then
case "${target}" in
- powerpc-apple-darwin6.1)
- echo '/* No working assembler modules available */' >>./mpi/asm-syntax.h
- path=""
- ;;
-
i[3467]86*-*-freebsd*-elf | \
i[3467]86*-*-freebsd[3-9]* | \
i[3467]86*-*-freebsdelf* | \
@@ -222,8 +217,8 @@
path="powerpc32"
;;
- powerpc*-*-netbsd* | powerpc*-*-openbsd*)
- echo '/* configured {Open,Net}BSD on powerpc */' >>./mpi/asm-syntax.h
+ powerpc*-*-netbsd* | powerpc*-*-openbsd* | powerpc*-*-darwin*)
+ echo '/* configured for OpenBSD/NetBSD/Darwin on powerpc */' >>./mpi/asm-syntax.h
echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h
cat $srcdir/mpi/powerpc32/syntax.h >>./mpi/asm-syntax.h
mpi_sflags="-Wa,-mppc"
--UlVJffcvxoiEqYs2--