Commit ba5856e4 authored by Niels Möller's avatar Niels Möller
Browse files

Use pwd -P when examining lib directories.

Link in serpent-encrypt.asm, if found.

Rev: nettle/
parent c1a53a88
......@@ -174,9 +174,9 @@ if test "x$ABI" != xstandard ; then
AC_MSG_WARN([Cross compiling for linux. Can't guess if libraries go in lib${ABI} or lib.]); dnl '
# The dash builtin pwd tries to be "helpful" and remember
# symlink names. Use /bin/pwd instead.
# symlink names. Use -P option, and hope it's portable enough.
test -d /usr/lib${ABI} \
&& (cd /usr/lib${ABI} && /bin/pwd | grep >/dev/null "/lib${ABI}"'$') \
&& (cd /usr/lib${ABI} && pwd -P | grep >/dev/null "/lib${ABI}"'$') \
&& libdir='${exec_prefix}/'"lib${ABI}"
......@@ -231,7 +231,8 @@ if test "x$enable_assembler" = xyes ; then
for tmp_f in aes-encrypt-internal.asm aes-decrypt-internal.asm \
arcfour-crypt.asm camellia-crypt-internal.asm \
md5-compress.asm memxor.asm sha1-compress.asm machine.m4; do
md5-compress.asm memxor.asm serpent-encrypt.asm \
sha1-compress.asm machine.m4; do
# echo "Looking for $srcdir/$asm_path/$tmp_f"
if test -f "$srcdir/$asm_path/$tmp_f"; then
# echo found
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment