summaryrefslogtreecommitdiff
path: root/Porting/checkcfgvar.pl
Commit message (Collapse)AuthorAgeFilesLines
* Add t/porting/checkcfgvar.t to run Porting/checkcfgvar.pl as a test.Nicholas Clark2011-09-241-4/+20
| | | | | | | | Add TAP generation and a --tap option to Porting/checkcfgvar.pl. In checkcfgvar.t, document its purpose, and the likely way to fix the problems that it has flagged up. This is a prototype before adding similar instructions to the other t/porting tests.
* A small refactor of checkcfgvar.plNicholas Clark2011-09-241-29/+34
| | | | | | | For --list, only print the name out in one place. Remove a now-redundant sort for --regen. Alert the user if default values are not being added because --default was not specified.
* Add an option to checkcfgvar.pl to add defaults for missing variables.Nicholas Clark2011-09-211-2/+8
| | | | | This eases the updates of the config.sh-format files when a new Configure variable is added.
* Add a --regen option to checkcfgvar.pl to regenerate config files.Nicholas Clark2011-09-211-1/+37
| | | | | | | | | | Verify that the section of config file containing probed files is sorted lexically. If --regen is used, updated the file on disk with a correctly sorted version. (Except for configure.com, which has a different structure not amenable to automatic analysis and update, hence still has to be updated manually.) Ensure all config files are correctly sorted.
* Change checkcfgvar.pl to permit trailing comments on config lines.Nicholas Clark2011-09-211-1/+2
| | | | Convert the comment for _a in config.ce to a trailing comment.
* Tighten the checking regex in checkcfgvar.pl.Nicholas Clark2011-09-211-1/+1
| | | | Fix the dubious line in symbian/config.sh which this exposes.
* In checkcfgvar.pl, split the configure.com code out.Nicholas Clark2011-09-211-20/+17
| | | | | | | The configure.com handling is actually sufficiently different that it's simpler to do it in its own loop. The two regexs for config.sh-style parsing can be merged. Use non-capturing parens for the parts of regexs that don't need to be captured.
* The Borland Chainsaw MassacreSteve Hay2011-09-101-1/+0
| | | | | Remove support for the Borland C++ compiler on Win32, as agreed here: http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2011-09/msg00034.html
* In checkcfgvar.pl, eliminate the file-scope lexical %lst.Nicholas Clark2011-08-091-5/+4
|
* In checkcfgvar.pl, eliminate the file-scope lexical %MASTER_CFG.Nicholas Clark2011-08-091-4/+4
|
* In checkcfgvar.pl, inline and eliminate read_file() and config_h_SH_reader().Nicholas Clark2011-08-091-44/+37
| | | | | | | | config_h_SH_reader() was called once in one place, to generate a closure passed to read_file(). In turn, read_file()'s use of a callback to process lines of the file that it opened concealed the near-linear flow of control. use autodie; to simplify the error handling.
* In checkcfgvar.pl, inline check_cfg() into its only caller.Nicholas Clark2011-08-091-14/+10
|
* Remove 5.8.x VOS specific code from Porting/checkcfgvar.pl.Nicholas Clark2011-08-091-7/+2
| | | | | | | Commit 3fd80bd61943d0f8 in 2002 removed vos/config.{alpha,gf}.def from blead, but they were still present in maint-5.8, so the logic to process them was retained, to minimise the differences in the Porting/* scripts. maint-5.8 is EOL now, so these can be removed.
* Add uconfig64.sh to the list of files that Porting/checkcfgvar.pl checks.Nicholas Clark2011-08-091-0/+1
|
* Add --list to checkcfgvar.plH.Merijn Brand2011-07-311-3/+26
|
* Enlighten Porting/checkcfgvar.pl about win32/config.gc64(nox)? filesCurtis Jewell2010-08-221-0/+2
| | | | Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
* Make everything exec-bit.txt lists executableFlorian Ragwitz2010-08-191-0/+0
| | | | | | | All these files used to be executable in the release tarballs. Apparently things also work without that in the repository, but I'd rather add this possibly unecessary change to blead instead of breaking the upcoming release. This should probably be looked into again afterwards.
* Errors to STDERR pleaseH.Merijn Brand2008-11-281-1/+1
| | | p4raw-id: //depot/perl@34949
* Teach checkcfgvar.pl that : is also a comment character in shell scriptsNicholas Clark2008-01-231-1/+1
| | | p4raw-id: //depot/perl@33048
* checkcfgvar.pl should also check Porting/config.sh "just in case".Nicholas Clark2008-01-231-0/+1
| | | p4raw-id: //depot/perl@33046
* Remove wince/ from checkcfgvar.pl, now that it is gone in 5.8.x too.Nicholas Clark2007-04-151-1/+2
| | | p4raw-id: //depot/perl@30958
* Re: [PATCH] microperl plus missing config varsJarkko Hietaniemi2007-04-041-0/+3
| | | | | Message-ID: <4612D50E.5010105@iki.fi> p4raw-id: //depot/perl@30839
* microperl plus missing config varsJarkko Hietaniemi2007-04-011-2/+1
| | | | | Message-ID: <460ED79A.5030809@iki.fi> p4raw-id: //depot/perl@30823
* Even better configure.com handling for checkcfgvar.plCraig A. Berry2006-11-241-1/+1
| | | p4raw-id: //depot/perl@29370
* Tune configure.com checking to ignore trailing comments.Craig A. Berry2006-11-231-2/+4
| | | p4raw-id: //depot/perl@29362
* Update checkcfgvars.pl: config.ce is in win32/ in 5.9.xSteve Hay2006-11-161-0/+1
| | | | | | Leave wince/config.ce in the list as well, though, because that still exists in 5.8.x p4raw-id: //depot/perl@29292
* Re: [PATCH] include configure.com in Porting/checkcfgvar.plAbe Timmerman2006-03-041-2/+2
| | | | | Message-Id: <200603032256.47170.abe@ztreet.demon.nl> p4raw-id: //depot/perl@27374
* include configure.com in Porting/checkcfgvar.plAbe Timmerman2006-03-031-1/+8
| | | | | Message-Id: <200603031843.24250.abe@ztreet.demon.nl> p4raw-id: //depot/perl@27371
* Extend 25579 to cover vc64 tooSteve Hay2005-09-231-0/+1
| | | p4raw-id: //depot/perl@25581
* Add Porting/checkcfgvar.pl by JarkkoRafael Garcia-Suarez2005-09-231-0/+100
p4raw-id: //depot/perl@25579