aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data
Commit message (Collapse)AuthorAgeFilesLines
* Allow for the shared library soname to stay fixed even when the versionlloyd2009-05-132-13/+6
| | | | number increments, for stable releases that don't affect binary compat.
* Place -lbotan before the other -l flags in the output oflloyd2009-04-111-2/+2
| | | | | | | botan-config --libs - with shared objects it makes no difference, but with static libs this doesn't bring in the needed symbols correctly since only symbols needed by earlier objects on the command line are brought in. Reported by Thomas Moschny.
* Use Libs.private for listing dependencies in pkg-config, this leads tolloyd2009-03-281-1/+2
| | | | somewhat cleaner .so dependencies on ELF systems. Patch from Zack Weinberg.
* Argh. Using printf in botan-config didn't work either, because somelloyd2009-01-211-3/+3
| | | | | | printfs would complain because it would think that the -L/lib/dir was an (unknown) option instead of the string. Instead use a plain echo in each branch of the if, slight code duplication but not a huge deal.
* In pkg-config, don't link against a specific version number (eg -lbotan-1.8.0)lloyd2008-11-241-1/+1
| | | | | | | because that totally breaks with static libs. OTOH, not using the version number totally breaks if more than one version is installed. Kind of a tradeoff...
* Use TR1 by default with GNU C++ and Intel C++, since all recent versions oflloyd2008-11-172-0/+4
| | | | | | | | | | | | | | | | | | both support TR1 fine AFAICT. Add ability to explicitly disable using TR1 with --with-tr1=none Add a marker in the cc info files specifiying if TR1 should be chosen by default. Yes, autoconf would be better for this than a static per-compiler setting. Yes, I totally hate autoconf. Yes, I would still consider autoconf patches. No, I'm not going to do it myself. :) I am looking forward to being able to safely adopt C++0x and TR2 throughout the library and make the need for a lot of this special-casing stuff go away. Until then, it seems better to defaulting to using tr1 (and thus, ECC) than not.
* Don't link against explict version in botan-config (breaks with static libs)lloyd2008-11-131-1/+1
|
* Make installation a little noisierlloyd2008-11-132-4/+4
|
* Make the level of key consistency checking performed be a build constantlloyd2008-11-111-0/+5
| | | | instead of runtime configurable.
* In Makefiles and pkg-config / botan-config, use -lbotan-@{var:version}lloyd2008-11-074-4/+4
| | | | | | | | so we link against the specific intended version of the library, for instance -lbotan-1.7.20 rather than simply -lbotan This again seems especially an improvement where you want more than one version installed (1.6 vs 1.7, for instance).
* Don't hard code name in botan-config.inlloyd2008-11-071-1/+1
|
* Swap workspace and prod vars in botan-config.in, easier to enable workspace uselloyd2008-11-071-5/+5
|
* Provide pkg-config file as botan-$major$minor.pc, so it can be used like:lloyd2008-11-062-5/+5
| | | | | | | $ pkg-config botan-17 --libs -L/usr/local/lib -lbotan -lm -lpthread -lrt to make it easier to have multiple versions of Botan installed and in use at the same time.
* Use Opteron as default submodel, otherwise bogus GCC flags if only arch ↵lloyd2008-11-041-1/+1
| | | | detected (as on FreeBSD)
* Add alias for Intel T2250. Based on /proc/cpuinfo sent by Benjamin Laulloyd2008-10-241-0/+1
|
* Added prescott submodel to ia32 architecture, including aliases formarkus2008-10-241-0/+7
| | | | most Intel Core Duo (32 bit, as opposed to Core 2 Duo being 64 bit).
* Use -O2 instead of -O3 with Intel C++lloyd2008-10-221-1/+1
|
* Install pkg-config file to /lib/pkgconfiglloyd2008-10-222-5/+13
|
* Update ICC flags for 10.1lloyd2008-10-221-3/+3
|
* Delete generated botan.pc on make distcleanlloyd2008-10-152-2/+2
|
* Add pkg-config support (requested/suggested by Zack Weinberg on monotone-dev)lloyd2008-10-151-0/+11
|
* Fix include of mp_asm.h in mp_ia32_msvc/mp_asmi.h (used quotes instead of ↵lloyd2008-10-151-4/+4
| | | | brackets)
* Enable sorting in Doxygen outputlloyd2008-10-141-1/+1
|
* Disable generation of man pageslloyd2008-10-131-1/+1
|
* Don't extract static - Doxygen extracts private static which makes a messlloyd2008-10-131-1/+1
|
* Further doxygen config tweakslloyd2008-10-131-2/+2
|
* Disable extracting private, static, and local functions in Doxygen (too much ↵lloyd2008-10-131-3/+3
| | | | clutter)
* Only delete Doxygen files on distclean, not regular cleanlloyd2008-10-132-2/+2
|
* Add basic support for Doxygen, including a make targetlloyd2008-10-133-2/+243
|
* Default to Itanium2 if provided with just --cpu=ia64. This is safelloyd2008-10-121-1/+2
| | | | | | because there are not any ABI/ISA differences between them (AFAIK), just scheduling. And I think Itanium2 is significantly more common than Itanium1 at this point.
* Add a new switch to configure.pl --with-tr1-implementation whichlloyd2008-10-121-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | accepts options 'boost' and 'system'. Now GF(p) math (and indirectly, ECDSA) will be enabled if --with-tr1=boost or --with-tr1=system is passed at build time to enable a shared_ptr implementation. Modules can now specify that they require TR1, in which case they will only be autoloaded if a TR1 implementation was set (they can choose which one to use by checking the feature macros from build.h) The gfpmath module was set to load only on request. That has changed to load automatically (but will only do so if a TR1 impl is set as described above). CVC has also been marked as requiring TR1. (ECDSA/ECDH are not, since they do not use tr1 shared_ptr directly) Update and cleanup help output. Do not print the list of modules in --help anymore (too long); you can still get the list (in an easier to parse format) --module-info. Reorganize the help text so the more useful options are described closer to the top. Fix the --with-endian and --with-unaligned-mem options: they were being accepted but ignored.
* Rename the TR1 choice macros to BOTAN_USE_STD_TR1 and BOTAN_USE_BOOST_TR1.lloyd2008-10-121-30/+37
| | | | | | | | If neither is defined when build.h is included, choose Boost. Reorganize build.h so it is easier to find things, in particular move all of the interesting toggles to the top of the file and all of the long lists of modules and feature test macros to the end.
* Default to using Boost's TR1. There seems to be a bug in the GCC 4.3.2lloyd2008-10-111-2/+2
| | | | | implementation of shared_ptr on x86 that causes memory corruption; default to Boost to avoid this.
* Modify botan-config so --libs does not use -L if the prefix is /usr orlloyd2008-10-111-1/+6
| | | | /usr/local (same as -I)
* Oops, revert back to standard GCC -Wall flagslloyd2008-10-081-2/+2
|
* Add commented out alternative for using botan-config against workspace buildslloyd2008-10-081-3/+10
| | | | (lib in topdir, includes in build/include)
* Partially merge back with InSiTo in an attemp to trace bugslloyd2008-10-081-0/+3
|
* Split ecdsa module into ecc_key, ecdsa, eckaeglloyd2008-10-082-5/+5
| | | | | Add actual implementations (from InSiTo) for ECDSA_Operation and ECKAEG_Operation.
* Add new aliases for Opteron, Pentium-M, Pentium4, and Cell PPU to aid ID via ↵lloyd2008-10-073-0/+9
| | | | /proc/cpuinfo
* Revert back to portable GCC flagslloyd2008-10-011-2/+2
|
* Move look_pk and pk_algs to new module pubkey/pk_lookuplloyd2008-10-011-1/+1
|
* Handle building Botan with almost all public key code disabled (though onlylloyd2008-10-011-2/+2
| | | | | | | with the aid of macro hackery, at the moment). Change DH feature macro to BOTAN_HAS_DIFFIE_HELLMAN Change NR feature macro to BOTAN_HAS_NYBERG_RUEPPEL
* Remove 'core' as alias of Intel Core2 - confused by 'Dual-Core', etc in ↵lloyd2008-10-011-1/+0
| | | | /proc/cpuinfo
* Rename sh to hitachi-sh - make regexp collisions less likelylloyd2008-10-013-12/+12
|
* Rename makefile variable INSTALLROOT to DESTDIR for autotools compatabilitylloyd2008-09-303-16/+16
|
* Revert; GCC 4.3 specific flagslloyd2008-09-301-2/+2
|
* Strict GCC warningslloyd2008-09-301-2/+2
|
* Add several aliases for x86lloyd2008-09-301-2/+8
|
* propagate from branch 'net.randombit.botan' (head ↵lloyd2008-09-301-0/+22
| | | | | | fd327b29aa542e0ad5ff6d37d8392321670f0369) to branch 'net.randombit.botan.modularized' (head 3f8d05493d4b192243fdc8a7f518ed1013c3be54)
* Set a preprocessor flag if we think the compiler supports GCC-stylelloyd2008-09-291-0/+8
| | | | | | | | inline asm (currently, if __GNUG__ is defined, which works with both GNU C++ and Intel C++, which are the only two compilers I know of that accept GCC's inline asm syntax). Use that in bswap.h - previously we would try to use inline asm even with VC++ or other compilers not supporting inline asm.