aboutsummaryrefslogtreecommitdiffstats
path: root/mpi/config.links
diff options
context:
space:
mode:
Diffstat (limited to 'mpi/config.links')
-rw-r--r--mpi/config.links35
1 files changed, 16 insertions, 19 deletions
diff --git a/mpi/config.links b/mpi/config.links
index 9e3bfd6fc..f63f60a84 100644
--- a/mpi/config.links
+++ b/mpi/config.links
@@ -1,6 +1,6 @@
# config.links - helper for ../configure
-# Copyright (C) 1998, 1999, 2000, 2001, 2002,
-# 2003 Free Software Foundation, Inc.
+# Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+# 2004 Free Software Foundation, Inc.
#
# This file is part of GnuPG.
#
@@ -33,10 +33,13 @@ echo "/* Target: ${target} */" >>./mpi/asm-syntax.h
if test "$try_asm_modules" = "yes" ; then
case "${target}" in
- powerpc-apple-darwin*)
- echo '/* No working assembler modules available */' >>./mpi/asm-syntax.h
- path=""
- ;;
+ powerpc-apple-darwin* | \
+ i[34567]86*-*-openbsd[12]* | \
+ i[34567]86*-*-openbsd3.[0123]*)
+ echo '/* No working assembler modules available */' >>./mpi/asm-syntax.h
+ path=""
+ ;;
+ i[3467]86*-*-openbsd* | \
i[3467]86*-*-freebsd*-elf | \
i[3467]86*-*-freebsd[3-9]* | \
i[3467]86*-*-freebsdelf* | \
@@ -46,12 +49,13 @@ case "${target}" in
cat $srcdir/mpi/i386/syntax.h >>./mpi/asm-syntax.h
path="i386"
;;
- i586*-*-freebsd*-elf | \
- i586*-*-freebsd[3-9]* | \
- i586*-*-freebsdelf* | \
- i586*-*-netbsd* | \
- i586*-*-k*bsd* | \
- pentium-*-netbsd* | \
+ i586*-*-openbsd* | \
+ i586*-*-freebsd*-elf | \
+ i586*-*-freebsd[3-9]* | \
+ i586*-*-freebsdelf* | \
+ i586*-*-netbsd* | \
+ i586*-*-k*bsd* | \
+ pentium-*-netbsd* | \
pentiumpro-*-netbsd*)
echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h
cat $srcdir/mpi/i386/syntax.h >>./mpi/asm-syntax.h
@@ -62,13 +66,6 @@ case "${target}" in
cat $srcdir/mpi/i386/syntax.h >>./mpi/asm-syntax.h
path="i386"
;;
-# Use old assembler syntax for OpenBSD as their assembler is really old.
- i[34567]86*-*-openbsd*)
- echo '#define BSD_SYNTAX' >>./mpi/asm-syntax.h
- echo '#define X86_BROKEN_ALIGN' >>./mpi/asm-syntax.h
- cat $srcdir/mpi/i386-openbsd/syntax.h >>./mpi/asm-syntax.h
- path="i386-openbsd"
- ;;
i[3467]86*-*-linuxaout* | \
i[3467]86*-*-linuxoldld* | \
i[3467]86*-*-*bsd*)