aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Remove set_os_defines and set_cc_defines, replace them with a call tolloyd2006-09-051-26/+14
| | | | | read_info_files which encapsulates the loop over the directory, calling a function reference for each file and collating the results.
* Remove the %OS_ALIAS hashlloyd2006-09-051-8/+16
|
* Remove the last of the hashes that held the compiler flags, everything haslloyd2006-09-051-27/+13
| | | | been merged into %COMPILERS
* In set_*_defines, rather than assigning to the %OPERATING_SYSTEM, %CPU,lloyd2006-09-051-3/+9
| | | | | | and %COMPILER hashes each time through the loop, accumulate into a temporary hash and set them at the end (eventually they will just return the hashes, and their caller will assign the globals).
* Remove %OS_SUPPORTS_SHAREDlloyd2006-09-051-7/+9
|
* Remove the global machine optimization flag hasheslloyd2006-09-051-21/+21
|
* Remove %INSTALL_INFOlloyd2006-09-051-15/+7
|
* Rename the keys used in the %INSTALL_INFO hash to make it easier to swaplloyd2006-09-051-21/+21
| | | | out for the information kept in %OPERATING_SYSTEM.
* Add some helper functions to cut down on clutter in generate_makefilelloyd2006-09-041-24/+28
|
* Remove several hashes related to file naminglloyd2006-09-041-30/+24
|
* Remove the compiler debug flags hash and the makefile style hashlloyd2006-09-041-11/+8
|
* Remove the hashes that listed what operating systems and CPUs a particularlloyd2006-09-041-18/+16
| | | | compiler ran on (again, that information is pulled out of %COMPILERS now)
* Remove the global hashes that used to hold the optimization and warninglloyd2006-09-041-10/+14
| | | | options for the compiler; that information is pulled out of %COMPILERS now
* Avoid undefined warnings in Makefile generation if the compiler does notlloyd2006-09-041-2/+9
| | | | define any optimization options.
* Remove CC_AR_COMMANDlloyd2006-09-041-3/+10
| | | | Prevent some undefined variable warnings in Makefile generation
* Remove CC_BINARY_NAMElloyd2006-09-041-5/+4
|
* Remove OS_SUPPORTS_ARCHlloyd2006-09-041-3/+2
|
* Swap the arguments to in_array()lloyd2006-09-041-11/+11
|
* Remove the REALNAME hashlloyd2006-09-041-17/+24
|
* Start the first steps towards removing some of the global hasheslloyd2006-09-041-24/+44
|
* Make ar_needs_ranlib less of a special caselloyd2006-09-041-8/+7
|
* Rename some internally-used variables so I can use set_if_any for somelloyd2006-09-041-33/+26
| | | | of the module info variables.
* Remove set_undef, replace with an explicit loop in the one place wherelloyd2006-09-041-11/+4
| | | | it was used.
* Move some subroutines that were only used in one place inside thelloyd2006-09-041-88/+92
| | | | | | | | function in question. Rename some variables Add a helper function in get_module_info
* Rename %modinfo to %info in get_module_infolloyd2006-09-041-22/+22
|
* Finish get_cc_info()lloyd2006-09-041-21/+29
|
* Use get_cc_info to get the single-variable values from the compilerlloyd2006-09-041-17/+14
| | | | descriptions; lists are still processed in set_cc_defines()
* First pass at get_cc_info()lloyd2006-09-041-1/+20
|
* Implement get_arch_info, which handles reading a single architecturelloyd2006-09-041-19/+42
| | | | | file and getting the results, which is called by set_arch_defines as needed.
* Finish get_os_info; set_os_defines now uses it for gathering all informationlloyd2006-09-041-51/+33
| | | | from the file.
* Begin to make a distinction between reading the file and setting the valueslloyd2006-09-041-12/+56
| | | | | | | in hashes; split the reading portion of the OS config info into a new function, get_os_info, with set_os_defines iterating over each file in misc/config/os, calling get_os_info, and then pulling values out of the results, setting the values where the rest of the script expects.
* Add helpers for reading single-line settings in the config descriptionlloyd2006-09-041-56/+55
| | | | | | | and module info files. Get set_undef working for get_module_info, so we don't have to create as many (explicit) anonymous subroutines.
* Change the function that reads modinfo.txt files to use read_hash as welllloyd2006-09-041-118/+84
|
* Change read_hash to take a function reference, which it calls for eachlloyd2006-09-041-73/+43
| | | | | matching line. This makes handling the variations much simpler. Convert more of the applicable code to use read_hash.
* Add some helper functions for reading information from the config info fileslloyd2006-09-041-59/+59
|
* Clean up how machine-specific compiler options are setlloyd2006-09-041-16/+27
|
* Remove use of the DirHandle modulelloyd2006-09-041-42/+17
|
* Define a new function, make_reader, which returns an closure over thelloyd2006-09-041-69/+54
| | | | | | file being read that strips comments and whitespace and then skips over blank lines. This was previously something done in every single loop that called process() directly.
* Make a passphrase optional for the DSA and RSA key generation exampleslloyd2006-09-042-12/+17
|
* Use formatted I/O to make the output a little easier to readlloyd2006-09-041-3/+3
|
* Document --build-dir and --local-config in the help output.lloyd2006-09-031-52/+47
|
* Move the (commented out) gzip.cpp/gzip.h entries into the add file blocklloyd2006-09-031-4/+3
|
* Make some of the code a bit more Perl-ishlloyd2006-09-031-153/+133
|
* Remove some dead codelloyd2006-09-031-60/+45
|
* Place the add_file/replace_file/ignore_file markers in the module infolloyd2006-09-0327-114/+163
| | | | | | files into blocks; makes a bit more sense, since there are potentially many arguments to each, and the current system was making it difficult to write a generic reader for the files.
* More small cleanupslloyd2006-09-031-136/+48
|
* Small cleanups, remove some obsolete code, etclloyd2006-09-021-33/+29
|
* Move some variables that did not need to be global into main() itselflloyd2006-09-021-8/+9
|
* Simplify how the hashes that specify bits of information about thelloyd2006-09-021-112/+36
| | | | system are passed around.