memxor

Nikos Mavrogiannopoulos n.mavrogiannopoulos at gmail.com
Tue Sep 13 12:39:54 CEST 2011


On Tue, Sep 13, 2011 at 11:33 AM, Niels Möller <nisse at lysator.liu.se> wrote:

>> It seems --disable-assembler doesn't work for memxor.
> Maybe you forgot to run make distclean? You should do that whenever you
> change any interesting configure options.

Indeed. I've now figured out. It would be also better if configure.ac
was self contained.  If I modify it and run autoconf I get:
configure.ac:366: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
autoconf/lang.m4:198: AC_LANG_CONFTEST is expanded from...
autoconf/general.m4:2599: _AC_COMPILE_IFELSE is expanded from...
autoconf/general.m4:2609: AC_COMPILE_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:610: AS_IF is expanded from...
autoconf/general.m4:2047: AC_CACHE_VAL is expanded from...
autoconf/general.m4:2060: AC_CACHE_CHECK is expanded from...
configure.ac:366: the top level

if I run .bootstrap from the lsh dir it succeeds but running configure
prints the warnings below and make fails.
checking malloc.h presence... no
configure: WARNING: malloc.h: accepted by the compiler, rejected by
the preprocessor!
configure: WARNING: malloc.h: proceeding with the compiler's result

Anyway, I attach an untested patch that shows how SSE2 or other cpu
version specific optimizations can be enabled at run-time.

regards,
Nikos


More information about the nettle-bugs mailing list