aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix sonamelloyd2010-02-241-1/+1
|
* propagate from branch 'net.randombit.botan' (head ↵lloyd2010-02-231-1/+1
|\ | | | | | | | | | | 89451dd9349d61bc29507c9c441c090148192286) to branch 'net.randombit.botan.ssl' (head a341d74655f579482102c23e2c378897b738bd06)
| * propagate from branch 'net.randombit.botan' (head ↵lloyd2010-02-171-0/+10
| |\ | | | | | | | | | | | | | | | da26221a4feb0b758cd4c182700f6a7a07ed7a44) to branch 'net.randombit.botan.ssl' (head 986b98a8b50c06ffe99d9d4f41855448162959c4)
| * | Give ssl branch its own sonamelloyd2010-02-141-1/+1
| | |
* | | Use list comprehensions instead of filter/map to minimize changes neededlloyd2010-02-221-9/+8
| |/ |/| | | | | for 2to3, also nominally more 'Pythonic' for better or worse.
* | If --gen-amalgamation is used, imply --disable-asm andlloyd2010-02-171-0/+10
|/ | | | | --disable-modules=sha1_sse,serpent_simd (and inform the user this is happening), so amalgamation builds work out of the box.
* Remove a debug printlloyd2010-01-121-3/+0
|
* Typo fixlloyd2010-01-111-1/+1
|
* Minor cleanuplloyd2010-01-081-8/+9
|
* Add --verbose and --quiet optionslloyd2010-01-061-8/+21
|
* Remove debug printlloyd2010-01-041-2/+0
|
* Make ssse3/aes_ni depend on sse2; --disable-sse2 turns off all of thenlloyd2010-01-041-0/+21
|
* New macro TARGET_CPU_IS_XXX_FAMILY for XXX = X86, PPC, SPARC, undefinedlloyd2009-12-291-0/+4
| | | | elsewhere currently.
* Change --with-isa to --enable-isa and --with-{sse2,ssse3,altivec,aes_ni}lloyd2009-12-231-13/+37
| | | | | | to --enable-{sse2,ssse3,altivec,aes_ni}. Add cooresponding --disable options, which completely remove support for said ISA even if the CPU we are configuring for is supposed to have it.
* Add --with-{sse2,ssse3,altivec,aes_ni} options to enable specific ISAs.lloyd2009-12-231-12/+22
| | | | Useful for Gentoo ebuild and probably other packaging schemes.
* Make many more headers internal-only.lloyd2009-12-161-1/+9
| | | | | | | | | | | | | Fixes for the amalgamation generator for internal headers. Remove BOTAN_DLL exporting macros from all internal-only headers; the classes/functions there don't need to be exported, and avoiding the PIC/GOT indirection can be a big win. Add missing BOTAN_DLLs where necessary, mostly gfpmath and cvc For GCC, use -fvisibility=hidden and set BOTAN_DLL to the visibility __attribute__ to export those classes/functions.
* Full working amalgamation build, plus internal-only headers concept.lloyd2009-12-161-57/+113
|
* Add beginings of a --gen-amalgamation command to the build. Generateslloyd2009-12-151-7/+109
| | | | | | | | a botan_all.h, eventually will also generate a botan_all.cpp Currently broken in multiple ways, especially WRT conditional includes. Todo: distinguishing public vs internal headers would make this simpler.
* Allow <libs> sections to list multiple OSes for a single lib target, andlloyd2009-12-011-7/+15
| | | | | | | | | | ensure that things like this work: linux -> rt linux -> someotherlib Previously this would cause one or the other library to be loaded (more or less at random depending on how Python's hashing turns out) and not the other.
* Add a check to configure.py that warns if any module has a dependency listedlloyd2009-11-291-0/+14
| | | | that does not exist. This is mostly for my benefit.
* Clean up how the templates_to_proc variable is set up using a generator.lloyd2009-11-241-11/+19
| | | | | Only create the InnoSetup file on Windows. Only create pkg-config and botan-config on non-Windows.
* Update version # to 1.9.4-devlloyd2009-11-231-3/+3
|
* Various fixes for Visual C++ per bug 63 - --enable-debug sets debug options,lloyd2009-11-201-7/+17
| | | | | --disable-shared disables DLL options, and don't define _CONSOLE in the library build.
* Update log and readme for 1.9.3 release 2009-11-19lloyd2009-11-201-1/+1
|
* If no so link command is set just use the empty string; let the user figure ↵lloyd2009-11-201-1/+3
| | | | it out
* Create installer file as botan-VERSION.exelloyd2009-11-201-1/+1
|
* Most compilers had empty dll_*_flags; remove them since the default islloyd2009-11-191-2/+1
| | | | | | | empty anyway. For VC++ (only user) set BOTAN_DLL to dllimport by default (for apps), and then redefine as dllexport when building the library.
* Add the first bits of support for packaging botan with InnoSetup.lloyd2009-11-191-1/+2
| | | | Untested, almost certainly doesn't work.
* Also treat + as a word char in shlexlloyd2009-11-191-1/+1
|
* Move most code that relies heavily on Filters into src/filters.lloyd2009-11-171-2/+0
| | | | | | Remove support for (unused) modset settings. Move tss, fpe, cryptobox, and aont to new dir constructs
* Ignore files that begin with '.', even if they end in .cpp, .h, or .S.lloyd2009-11-141-2/+3
| | | | Useful to avoid emacs droppings like '.#bswap.h'
* Respect --with-isa when choosing what to enablelloyd2009-11-061-3/+4
|
* Add a new need_isa marker for info.txt that lets a module dependlloyd2009-11-061-5/+20
| | | | | | | | | | | | on a particular ISA extension rather than a list of CPUs. Much easier to edit and audit, too. Add markers on the AES-NI code and SHA-1/SSE2. Serpent and XTEA don't need it because they are generic and only depend on simd_32 which will silenty swap out a scalar version if SSE2/AltiVec isn't enabled (since it turns out on supersclar processors just doing 4 blocks in parallel can be a win even in GPRs). Add pentium3 to the list of CPUs with rdtsc, was missing. Odd!
* The default_submodel option was used by configure.pl but configure.pylloyd2009-11-061-2/+1
| | | | | | ignores this unless it can detect (or is asked to use) a specific model; otherwise it compiles for the baseline ISA. Remove the default_submodel entries in the arch files.
* The code for handling SIMD ISA extensions actually works fine for generallloyd2009-11-061-20/+23
| | | | | | | | ISA extensions (say, Intel's AES-NI, for instance) so change everything to reflect that. Also rename some of the amd64 models, and add entries for k10, nehalem, and westmere processors.
* Make it possible to explicitly enable SIMD extensions.lloyd2009-11-061-19/+28
| | | | | | | | | There is no point, as far as I can see, of being able to explicitly disable a SIMD or other ISA extension, because if you are compiling for that particular CPU the compiler might well choose to insert CPU-specific instructions anyway. For instance if one is compiling on a P4 but wants to disable SSE2, the right thing to do is compile for (say) an i686 which ensures that no P4 instructions will be emitted.
* Tick to 1.9.3-devlloyd2009-11-061-8/+8
| | | | | Rename BOTAN_UNALIGNED_LOADSTOR_OK to BOTAN_UNALIGNED_MEMORY_ACCESS_OK which is somewhat more clear as to the point.
* Generate SIMD macro flags for build.h from data in build-data/arch forlloyd2009-11-061-6/+43
| | | | | | SSE2, SSSE3, NEON, and AltiVec. Add entries for Intel Atom, POWER6 and POWER7, and the Cortex A8 and A9.
* Set BOTAN_TARGET_CPU_HAS_SSE2 macro if amd64. Not set at all for any 32-bitlloyd2009-11-041-0/+3
| | | | | x86 currently. This should be fixed. But it's an improvement over having to always set it manually, at least.
* Update for 1.9.2 release 2009-11-03lloyd2009-11-031-1/+1
|
* Remove the 'realname' attribute on all modules and cc/cpu/os info files.lloyd2009-10-291-10/+5
| | | | | Pretty much useless and unused, except for listing the module names in build.h and the short versions totally suffice for that.
* Tick version to 1.9.2-devlloyd2009-10-261-3/+3
|
* Update docs for 1.9.1 release 2009-10-231.9.1lloyd2009-10-231-1/+1
|
* Reset version as 1.9.1-dev instead of -rc1lloyd2009-10-211-1/+1
|
* Disable tracebacklloyd2009-10-211-2/+2
|
* Be more forgiving of names passed with --cpulloyd2009-10-191-6/+9
|
* propagate from branch 'net.randombit.botan.1_8' (head ↵lloyd2009-10-131-22/+92
|\ | | | | | | | | | | c5ae189464f6ef16e3ce73ea7c563412460d76a3) to branch 'net.randombit.botan' (head e2b95b6ad31c7539cf9ac0ebddb1d80bf63b5b21)
| * Bump version to 1.9.1-rc1lloyd2009-10-091-1/+1
| |
| * Add more or less functional integration with Boost.Python. Uselloyd2009-10-091-4/+38
| | | | | | | | | | --use-boost-python to enable creating a second makefile, Makefile.python, which has targets for building and installing the Python module.
| * Fix --enable-debuglloyd2009-10-091-3/+11
| | | | | | | | With GCC, only use -finline-functions if not a debug build