summaryrefslogtreecommitdiff
path: root/mpi/config.links
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1999-03-08 19:50:14 +0000
committerWerner Koch <wk@gnupg.org>1999-03-08 19:50:14 +0000
commit3c96a7122317c1564c7dfbf0e300c1294a2414a2 (patch)
tree2bb6d4c1713aefb385bddaf808ccc2be302e9a76 /mpi/config.links
parent0fa433b46a08d01d3bb5cb396d3cc53f00bc8c9a (diff)
downloadlibgcrypt-3c96a7122317c1564c7dfbf0e300c1294a2414a2.tar.gz
See ChangeLog: Mon Mar 8 20:47:17 CET 1999 Werner Koch
Diffstat (limited to 'mpi/config.links')
-rw-r--r--mpi/config.links19
1 files changed, 3 insertions, 16 deletions
diff --git a/mpi/config.links b/mpi/config.links
index 63255a12..4caf2b8d 100644
--- a/mpi/config.links
+++ b/mpi/config.links
@@ -12,12 +12,12 @@ echo '/* created by config.links - do not edit */' >./mpi/asm-syntax.h
if test "$try_asm_modules" = "yes" ; then
case "${target}" in
- i[34]86*-*-freebsd*-elf | i[34]86*-*-freebsd3*)
+ i[34]86*-*-freebsd*-elf | i[34]86*-*-freebsd[34]*)
echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h
cat $srcdir/mpi/i386/syntax.h >>./mpi/asm-syntax.h
path="i386"
;;
- i[56]86*-*-freebsd*-elf | i[56]86*-*-freebsd3*)
+ i[56]86*-*-freebsd*-elf | i[56]86*-*-freebsd[34]*)
echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h
cat $srcdir/mpi/i386/syntax.h >>./mpi/asm-syntax.h
path="i586 i386"
@@ -168,22 +168,9 @@ else
fi
-case "${target}" in
- *-*-linuxaout* | *-*-linuxoldld* | *-*-linux-gnuoldld*)
- needs_underscore="y"
- ;;
- *-*-linux* | *-sysv* | *-solaris* | *-gnu* | *-freebsd*-elf)
- needs_underscore="n"
- ;;
- *)
- needs_underscore="y"
- ;;
-esac
-
-
# Make sysdep.h
echo '/* created by config.links - do not edit */' >./mpi/sysdep.h
-if test "$needs_underscore" = "y" ; then
+if test x$ac_cv_sys_symbol_underscore = xyes; then
cat <<EOF >>./mpi/sysdep.h
#if __STDC__
#define C_SYMBOL_NAME(name) _##name