aboutsummaryrefslogtreecommitdiffstats
path: root/configure.pl
Commit message (Collapse)AuthorAgeFilesLines
* Version bumplloyd2006-09-201-1/+1
|
* Clean up the output produced when a 'note' directive is encountered in alloyd2006-09-101-5/+2
| | | | module.
* Better trace outputlloyd2006-09-091-78/+73
| | | | Tidy up module loading
* Clean up use of grep and maplloyd2006-09-091-17/+22
|
* Fix the clean and install targets in the makefileslloyd2006-09-091-16/+24
| | | | Clean up how help output is produced a bit further.
* Split main() into several subroutines.lloyd2006-09-091-580/+650
| | | | | | Improve help and diagnostic output. Exit if an error is encountered when parsing options.
* Be more free with suggesting the user try running with --help in the eventlloyd2006-09-091-22/+24
| | | | of a failure relating to input.
* Merge the various set_if_any functions into a single match_any_oflloyd2006-09-091-40/+32
|
* Fix a bug when generating nmake-style makefiles.lloyd2006-09-081-3/+2
| | | | | | Make sure to close the output file in process_template Work around some Visual Studio command-line brain damange.
* Rename error() to croak(), to make it a little more obvious that it doesn'tlloyd2006-09-081-146/+155
| | | | | | | | return. Rename read_hash to read_list, which is slightly more accurate. Use croak() instead of calling die directly in most spots.
* Some minor simplifications for installation logic.lloyd2006-09-081-60/+35
| | | | Inline print_unix_makefile and print_nmake_makefile into generate_makefile
* Various small things, nothing of real import.lloyd2006-09-081-24/+20
|
* The dir_list() function hardcoded '.' and '..' intead of using File::Speclloyd2006-09-081-6/+11
|
* Hoist some shared code up to generate_makefile()lloyd2006-09-081-71/+51
|
* Store the list of docs to install in a list rather than a hash.lloyd2006-09-081-49/+31
| | | | Simplify calls to file_list() a bit.
* Fix handling for systems that need to run ranlib on static libraries.lloyd2006-09-081-8/+4
|
* Fix minor spacing issues after the build listlloyd2006-09-081-3/+2
|
* Fix several embedded pathnames that might cause problems on non-Unixlloyd2006-09-081-56/+32
| | | | | | | | | | machines. Change clean_out_dir() to use dir_list() instead of list_dir(), as it was not making any use of the extra features of list_dir. Also, as there was one remaining use of list_dir(), which was the checks directory (which had some special cases burned in), delete list_dir and replace it by a special purpose function for that case.
* Integrated conflict detection into the module loader, which catches manylloyd2006-09-081-40/+28
| | | | cases that the old check_for_conflicts() function would not.
* Finally get rid of the last set of globalslloyd2006-09-081-50/+48
| | | | | Fix copy_files, it was hardcoding the directory to look for the files, rather than simply looking at the hash contents.
* Speed up process_template() by running the regular expressions over thelloyd2006-09-081-90/+106
| | | | entire file at once, instead of a line at a time.
* Pass the config hash to load_module instead of a list of argumentslloyd2006-09-081-66/+66
|
* Get rid of a few more global variableslloyd2006-09-081-35/+34
| | | | Pass the name of the makefile template to use in the config hash
* Use %CONFIG to hold much more of the build information.lloyd2006-09-081-160/+136
|
* Chop out various globals and unused parameterslloyd2006-09-081-94/+127
|
* Rearrange to place related pieces of code near each other.lloyd2006-09-081-271/+343
| | | | | | | Add some block comments so it's easier to navigate. Merge the two functions that generated the makefile build commands, as they basically performed the same function with slightly different parameters.
* Remove support for building with .s files, which aren't used (versus .Slloyd2006-09-081-5/+4
| | | | files, which are).
* Remove some unused parameters to the makefile printerslloyd2006-09-081-27/+26
| | | | Reformat file_list()
* Move some of the shared code up to generate_makefilelloyd2006-09-081-172/+109
|
* Remove the makefile file handle parameter to the generation functions, aslloyd2006-09-081-32/+24
| | | | they weren't using it.
* Fix a failure that occured if the user specified the OS as generic.lloyd2006-09-081-28/+33
| | | | | | Fix the code that took the user-specified or autodetected CPU name and turned it into the canonical arch/submodel pair. It did not handle arch aliases (such as 'x86' or 'axp') correctly.
* Remove print_header(), no longer usedlloyd2006-09-081-7/+0
|
* Generate the NMAKE version of the makefile with file templateslloyd2006-09-081-123/+52
|
* Generate the Unix makefiles by processing templates and replacinglloyd2006-09-081-178/+49
| | | | variables, rather than hardcoding the entire Makefile into the script.
* Make some code a bit more concise/Perlishlloyd2006-09-081-16/+14
|
* Get ride of some variables that were just cluttering up the code.lloyd2006-09-081-14/+5
|
* Generate the botan-config script through a simple template-based system.lloyd2006-09-081-66/+41
|
* Just moving things aroundlloyd2006-09-071-569/+570
|
* Remove extraneous parenthesislloyd2006-09-061-3/+3
|
* Move the call to main() up towards the top of the script so it's easierlloyd2006-09-051-8/+6
| | | | to find.
* Remove the last users of %MODULES_OLDlloyd2006-09-051-95/+63
|
* Add helper functions for warning and error messages.lloyd2006-09-051-54/+74
| | | | Add a helper function in load_module
* Change computation of the preprocessor macros to define to use the newlloyd2006-09-051-20/+22
| | | | | | | modules hash. If two modules request inconsistent sizes for the MP words, report what modules they were.
* Cause two different versions of the modules hash to exist; the previouslloyd2006-09-051-17/+30
| | | | format (renamed MODULES_OLD) and the new format (MODULES).
* Start changing the module reader code to match the configuration infolloyd2006-09-051-33/+41
| | | | readers; in particular, being somewhat consistent about data structures.
* Remove support for modules to define macros that don't have an _EXT_ inlloyd2006-09-051-23/+3
| | | | them; it wasn't being used, and I'm not sure if it's even a good idea.
* Move the autoconfiguration code to the bottom; it's the messiest and probablylloyd2006-09-051-214/+213
| | | | the thing I'm going to work on last.
* Remove the last of the (old) global hasheslloyd2006-09-051-56/+100
|
* Inline set_arch_defines for easier editinglloyd2006-09-051-28/+22
|
* Change set_arch_defines to also use read_info_files, then interate overlloyd2006-09-051-10/+5
| | | | the %CPU hash and extract the extra information that's currently needed.