* config.links: powerpc64* needs to come before powerpc* or it will
authorDavid Shaw <dshaw@jabberwocky.com>
Tue, 16 Jan 2007 05:20:06 +0000 (05:20 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Tue, 16 Jan 2007 05:20:06 +0000 (05:20 +0000)
never match.  Reported by Alon Bar-Lev for libgcrypt, but relevant
here as well.

mpi/ChangeLog
mpi/config.links

index 4003229..94b87da 100644 (file)
@@ -1,3 +1,9 @@
+2007-01-15  David Shaw  <dshaw@jabberwocky.com>
+
+       * config.links: powerpc64* needs to come before powerpc* or it
+       will never match.  Reported by Alon Bar-Lev for libgcrypt, but
+       relevant here as well.
+
 2006-12-11  Werner Koch  <wk@g10code.com>
 
        * mpi-internal.h: Include mpi-asm-defs.h.
index b69ad68..2f5fae2 100644 (file)
@@ -254,16 +254,16 @@ case "${host}" in
        mpi_sflags="-Wa,-mppc"
        path="power powerpc32"
        ;;
-    ppc60[234]*-*-* | \
-    powerpc*-*-*)
-       mpi_sflags="-Wa,-mppc"
-       path="powerpc32"
-       ;;
     ppc620-*-*     | \
     powerpc64*-*-*)
        mpi_sflags="-Wa,-mppc"
        path="powerpc64"
        ;;
+    ppc60[234]*-*-* | \
+    powerpc*-*-*)
+       mpi_sflags="-Wa,-mppc"
+       path="powerpc32"
+       ;;
 
     *)
        echo '/* No assembler modules configured */' >>./mpi/asm-syntax.h