1 The version taken from GnuPG 1.4 assumes any cross-compiled package have
2 prefixed underscores, which is not the case; by using libtool's own macro,
3 we can avoid the whole issue.
5 diff --git a/configure.ac b/configure.ac
6 index ab160c3..6df49bf 100644
11 # Setup assembler stuff.
13 -GNUPG_SYS_SYMBOL_UNDERSCORE()
15 AC_ARG_ENABLE(mpi-path,
16 AC_HELP_STRING([--enable-mpi-path=EXTRA_PATH],
17 [prepend EXTRA_PATH to list of CPU specific optimizations]),
18 diff --git a/mpi/config.links b/mpi/config.links
19 index 7e910ee..9696828 100644
20 --- a/mpi/config.links
21 +++ b/mpi/config.links
22 @@ -291,7 +291,7 @@ fi
25 echo '/* created by config.links - do not edit */' >./mpi/sysdep.h
26 -if test x$ac_cv_sys_symbol_underscore = xyes; then
27 +if test x$sys_symbol_underscore = xyes; then
28 cat <<EOF >>./mpi/sysdep.h
30 #define C_SYMBOL_NAME(name) _##name