[PATCH] Don't try asm on any Darwin version

David Shaw dshaw at jabberwocky.com
Thu Dec 5 03:14:01 CET 2002


On Fri, Nov 29, 2002 at 03:24:07PM -0800, Wilfredo Sánchez wrote:
> Howdy-
> 
>   This patch tweaks the logic as to whether to try ASM modules on 
> Darwin so that it doesn't try on any Darwin version, rather than just 
> 6.1, since the ASM modules aren't available for any version.

Use the powerpc/NetBSD assembler code.  That works on Darwin.

David

-- 
   David Shaw  |  dshaw at jabberwocky.com  |  WWW http://www.jabberwocky.com/
+---------------------------------------------------------------------------+
   "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
-------------- next part --------------
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"


More information about the Gnupg-devel mailing list