Commit Graph

80 Commits

Author SHA1 Message Date
Frank Denis
898cadc3e6 Set subdir-objects 2013-07-20 18:04:34 -07:00
Frank Denis
de78d541d6 Crank library minor 2013-07-12 09:49:44 -07:00
Frank Denis
a6490db658 Don't -> Do not 2013-07-07 22:38:51 -07:00
Frank Denis
09a4848fc9 Document --disable-pie instead of --enable-pie 2013-07-07 22:35:34 -07:00
Frank Denis
617eb6d26f Move --enable-pie switch 2013-07-07 22:29:58 -07:00
Frank Denis
51d91d1115 autoconf: move the last switch, --enable-debug 2013-07-07 22:25:20 -07:00
Frank Denis
1d921e45da autoconf: keep moving switches to the top of the file 2013-07-07 22:20:27 -07:00
Frank Denis
c06e228867 autoconf: start moving AC_ARG_ENABLE macros to the top of the script. 2013-07-07 21:46:44 -07:00
Frank Denis
c8a44ba02e Disable asm implementations when compiling to javascript with emscripten. 2013-07-07 21:33:41 -07:00
Frank Denis
f66ab14d7f Remove -I/usr/local/include and -L/usr/local/lib
libsodium doesn't have any dependency on 3rd party libs.
2013-07-07 19:18:03 -07:00
Frank Denis
c828d169c6 Prepare for a version bump. 2013-07-07 14:10:02 -07:00
Frank Denis
1a0a89df33 No need to define CROSS_COMPILING 2013-05-13 12:45:58 -07:00
Frank Denis
210de1570a Add --disable-asm option to disable assembly implementations.
Check that fesetenv() and fegetenv() are available. If they aren't, still
compile the floating-point implementation of poly1305, but never pick it
in sodium_init().

This helps libsodium compile and work on Emscripten and on environments with
an incomplete libc.
2013-04-28 09:44:23 -07:00
Frank Denis
a68f217a80 Fix AC_INIT() 2013-04-27 16:39:23 -07:00
Frank Denis
02f98ce727 Only trust clang support for mode(TI) on amd64 2013-04-27 14:28:18 -07:00
Frank Denis
bb70f436d0 Just check cpuid itself, don't clobber %ebx 2013-04-27 14:07:39 -07:00
Frank Denis
46f5ec89a6 Fix __STDC_LIMIT_MACROS autoconf check 2013-04-27 13:42:55 -07:00
Frank Denis
318d54e990 Check whether __STDC_LIMIT_MACROS is required 2013-04-27 13:40:22 -07:00
Frank Denis
e5e7c7cc07 Add package URL 2013-04-27 11:42:27 -07:00
Frank Denis
808d1807dc Add optimized salsa20 amd64 assembly implementation 2013-04-27 10:21:32 -07:00
Frank Denis
ffb1e24ef1 Make the crypto_stream_salsa20 implementation switchable at compile-time 2013-04-27 09:12:26 -07:00
Frank Denis
a669e9353d Fix ssse3 detection 2013-04-26 22:53:07 -07:00
Frank Denis
2055e38bc6 Just reformat some confusing construction in configure.ac 2013-04-26 22:00:00 -07:00
Frank Denis
ce38abed70 Include <stdlib.h> for NULL in the cpuid autoconf test. 2013-04-26 13:26:10 -07:00
Frank Denis
ba104b2706 -Wbounded is nice, but clang reports the same thing nowadays. 2013-04-25 23:27:47 -07:00
Frank Denis
9131967397 We don't need libltdl 2013-04-25 22:51:19 -07:00
Frank Denis
8574a58488 Bump package version minor 2013-04-25 22:42:35 -07:00
Frank Denis
87a6d01115 Bump library version minor 2013-04-25 21:52:27 -07:00
Frank Denis
4fff338810 Switch targets before trying to compile SIMD headers 2013-04-25 19:47:21 -07:00
Frank Denis
5f226a23a1 Check for cpuid instruction 2013-04-25 18:59:55 -07:00
Frank Denis
88c42e7daa Check SIMD headers 2013-04-25 09:37:04 -07:00
Frank Denis
91e75fc973 Use -fPIC even on Win32, since libtool reintroduces it no matter what. 2013-04-24 13:08:25 -07:00
Frank Denis
e34aeffd3c Don't export symbols by default. 2013-04-24 08:46:39 -07:00
Frank Denis
52565edee1 Remove LIBTOOL_EXTRA_FLAGS and -fPIC (implicit) on Win32 2013-04-23 21:55:48 -07:00
Frank Denis
e53b67924b Looks like AC_LIBTOOL_WIN32_DLL is still required these days. 2013-04-23 21:33:58 -07:00
Frank Denis
655a9589b8 Output .DEF file on Win32 2013-04-23 21:24:35 -07:00
Frank Denis
245bd75753 Remove ssp by default on cygwin 2013-04-22 13:16:03 -07:00
Frank Denis
019064e663 Use HAVE_TI_MODE for the macro and HAVE_TI_MODE_V for the substitution 2013-04-21 17:32:10 -07:00
Frank Denis
476730ae69 Define NATIVE_LITTLE_ENDIAN / NATIVE_BIG_ENDIAN if we can 2013-04-21 17:32:09 -07:00
Frank Denis
2b2b9846a6 Only compile curve25519_ref or curve25519_donna_c64 2013-04-21 17:32:07 -07:00
Frank Denis
2916224650 Use curve25519_donna_c64 instead of curve25519_ref if supported. 2013-04-21 17:32:07 -07:00
Frank Denis
8e7bb5d0ce Move sodium-specific files to a dedicated directory 2013-04-21 17:32:04 -07:00
Frank Denis
707dcb0c44 Check if we need -lm for fe[gs]etenv() 2013-04-21 17:32:03 -07:00
Frank Denis
e59ed29ee8 Export the shared library version, not just the package version. 2013-03-31 15:22:43 -07:00
Frank Denis
b88d92d69d Replace the ed25519 ref implementation with ref10 from supercop 2013-03-25 11:47:15 -07:00
Frank Denis
4395817042 Check for gcc TI mode availablity 2013-03-17 18:40:14 -07:00
Frank Denis
289a75113c Remove SODIUM_PATH 2013-03-16 20:08:13 -07:00
Frank Denis
039636e34c Add a new --enable-debug autoconf switch
Remove duplicate --enable-blocking-random by the way
2013-03-16 20:06:00 -07:00
Frank Denis
f5f72f0165 Remove CurveCP 2013-03-16 19:59:25 -07:00
Frank Denis
f559391557 Remove (soon to be) obsolete -fcatch-undefined-c99-behavior 2013-03-11 22:40:58 -07:00