summaryrefslogtreecommitdiff
path: root/configpm
Commit message (Collapse)AuthorAgeFilesLines
* In Config::import, avoid assigning to $pkg, which is never read.Nicholas Clark2010-06-231-4/+7
| | | | | | | | | Avoid the use of sprintf - __PACKAGE__ is a constant, so can be inlined within the message string. Don't store '%Config' in %Export_Cache, as that's only used to deal with exported functions. The variable %Config is special-cased. On this platform, cachegrind shows a 1% reduction in instruction count and L1 cache references as a result.
* Convert Config::fetch_string to use a regexp, rather than index and substr.Nicholas Clark2010-06-231-40/+18
| | | | | | For this platform, cachegrind reckons a 0.5% reduction in L1 cache refs and 0.5% reduction in instructions executed, which whilst small, is a step in the right direction.
* $^O is initalised to OSNAME, so no need to return the latter from Internals::V.Nicholas Clark2009-10-051-2/+2
| | | | Saves having object code to build one SV that Config::_V can find out by itself.
* Move the implementation of ./perl -V to Internals::V and Config::_VNicholas Clark2009-09-291-0/+39
| | | | | | Previously it was a Perl program generated by code embedded in perl.c, with conditional compilation logic, hence a combination of C pre-processor, C and Perl.
* Add a --chdir option to configpm, and use this in the Win32 Makfiles.Nicholas Clark2009-09-231-0/+6
| | | | | A slight Makefile simplification, and another move towards Win32 standardising on running miniperl as $(MINIPERL), which currently is ..\miniperl.exe
* document Git_DataRicardo SIGNES2009-05-141-0/+15
|
* Make references to the Glossary in Config.pm and Config.podH.Merijn Brand2009-03-301-0/+8
|
* add better pod and headers, and clean up some whitespace issues in the ↵Yves Orton2009-01-041-2/+3
| | | | previous patches
* this seems to work, still not using the perl version, but this works the way ↵Yves Orton2009-01-041-2/+5
| | | | it would
* much better git related version numbering in our (*nix for now) build processYves Orton2008-12-311-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The net result of this patch is to make available via Config.pm and -v/-V the details about the git version info we have available for the build. When built within a git repository git is queried directly. When built from a snapshot or bundle it is assumed that the source is unchanged, and that the required details are avaialble in a file called .patch, whose format current is a four field string in the following format: "$branchname $date.$time $sha1 $describe". The generator of these files currently resides on camel.booking.com. * git-describe is now used more directly with -v. When the prefix of git-describe matches the version number as determined by the defines in patchlevel.h then we use ONLY the git-describe output, otherwise we include the git describe in parenthesis after the version number. Either way the describe text is optionally followed by a star should there be uncommitted changes. eg: This is perl, v5.11.0 (GitLive-blead-136-g58ca560) built for i686-linux or: This is perl, v5.11.0-1-g58ca560 built for i686-linux or: This is perl, v5.11.0 built for i686-linux * include the SHA1 in perl -V summary, and automatically include unpushed commits in the registered patches list * include various git/version/.patch details in %Config, as follows: git_commit_id # sha1 of HEAD git_ancestor # ancestor in $remote/$branch (presumably canonical) git_describe # git describe git_branch # current branch git_uncommitted_changes # "true" if there are any, empty otherwise git_unpushed_commits # List of sha1's of unpushed commits git_commit_id_title # Used to make the perl -V summary output Additionally one more value is added depending on build process used: when building from an rsynced snapshot (or any dist including a file called .patch) then the second field will be used to populate the "git_snapshot_date" field. Otherwise if built in a git directory (as is hopefully recommended these day) then the field will be "git_commit_date" which will be the commit date of HEAD. This patch introduces two new files (on top of .patchnum) that will be generated by make_patchnum.sh: "lib/Config_git.pl" and "unpushed.h", the former is used to make git data available to Config.pm/%Config without rebuilding everything else, and the second is used to expose unpushed commits (if any) via the registered patch facility of patchlevel.h
* Add a few =cuts (so configpm is displayed mostly correctlyRafael Garcia-Suarez2008-01-091-0/+6
| | | | | by perldoc or by search.cpan.org) p4raw-id: //depot/perl@32916
* Re: [PATCH-at-31365] (was - configpm frustrations)Vadim Konovalov2007-06-121-16/+7
| | | | | Message-ID: <466D6803.1020808@vkonovalov.ru> p4raw-id: //depot/perl@31366
* linux arm cross-compilationVadim Konovalov2007-05-281-6/+13
| | | | | | | Message-ID: <4659F6E2.3090805@vkonovalov.ru> with adjustments to the MANIFEST p4raw-id: //depot/perl@31287
* Revert change 27513Nicholas Clark2006-05-161-3/+1
| | | | | | | [Make the original versions of relocated paths available from %Config::Config with the prefix "raw_". Not sure if "raw_" is the best choice.] p4raw-id: //depot/perl@28210
* make configpm only update Config.pm, Config_heavy.pl if changed.Dave Mitchell2006-03-251-36/+95
| | | | | | Should stop spurious rebuilding of extensions. Also add documentation and copyright to top of file. p4raw-id: //depot/perl@27603
* Make the original versions of relocated paths available fromNicholas Clark2006-03-151-1/+3
| | | | | | %Config::Config with the prefix "raw_". Not sure if "raw_" is the best choice. p4raw-id: //depot/perl@27513
* Somewhat less shaky relocatable @INC support. You can install thingsNicholas Clark2006-03-131-1/+28
| | | | | | | to the current location of the perl tree, move it, install more things, move it again, lather rinse repeat. Configure with -Duserelocatableinc p4raw-id: //depot/perl@27491
* First stab at rather shaky Configure support for relocatable @INC.Nicholas Clark2006-03-131-2/+23
| | | | | Seems to be installing rather more that it's supposed to be. p4raw-id: //depot/perl@27490
* Really apply change #26071.Rafael Garcia-Suarez2005-11-101-0/+1
| | | | | p4raw-link: @26071 on //depot/perl: 8861ecc69a87dc6907b3e9c79689edb5df16413e p4raw-id: //depot/perl@26072
* Remove :unique attribute from Config.pm,Rafael Garcia-Suarez2005-07-201-6/+2
| | | | | | until we find a better implementation of it (or remove it). See [perl #36375]. p4raw-id: //depot/perl@25195
* Add a sanity check to Config::AUTOLOAD to prevent infinte loops ifNicholas Clark2005-06-251-1/+3
| | | | | Configure_heavy.pl gets truncated. p4raw-id: //depot/perl@24982
* Bring bleadperl up to version.pmJohn Peacock2005-06-131-1/+1
| | | | | Message-ID: <42A414DD.8090504@rowman.com> p4raw-id: //depot/perl@24823
* If we're building config_heavy.pl somewhere else, then we need toNicholas Clark2005-06-011-0/+1
| | | | | require it, not something (or maybe nothing) in the correct place. p4raw-id: //depot/perl@24659
* Symbian port of PerlJarkko Hietaniemi2005-04-211-2/+7
| | | | | Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D653@esebe105.NOE.Nokia.com> p4raw-id: //depot/perl@24271
* Shave off the explict 1; from the end of lib/Config.pmNicholas Clark2005-01-051-2/+1
| | | p4raw-id: //depot/perl@23752
* Don't do the ... expansion on archlib, sitelib etc, given thatNicholas Clark2004-12-241-12/+26
| | | | | | everyone should already be using archlibext etc Add the extra special case code for otherlibdirs p4raw-id: //depot/perl@23679
* Relocatable @INC entries for Unix.Nicholas Clark2004-12-231-0/+72
| | | | | | | | (With appropriate fixups in Config.pm to complete the illusion) Currently can only be enabled with hackery to config.sh TODO - proper Configure support, and support for otherlibdirs in Config.pm p4raw-id: //depot/perl@23674
* Skip generating all the code to deal with "" strings in config.shNicholas Clark2004-11-281-49/+94
| | | | | if there aren't any. '' only code is much simpler. p4raw-id: //depot/perl@23564
* Given that there is a pre-built cache, no need for @v_fastNicholas Clark2004-11-281-9/+3
| | | p4raw-id: //depot/perl@23563
* The byteorder code doesn't need to be in Config.pm if byteorderNicholas Clark2004-11-281-5/+15
| | | | | isn't actually a frequently looked up value. p4raw-id: //depot/perl@23562
* Need to stub the public functions to keep some existing codeNicholas Clark2004-11-281-2/+11
| | | | | | | working. No need to keep $Config_SH around in memory when we can easily re-create it. p4raw-id: //depot/perl@23561
* Generate the precached %Config entries based on some empiricalNicholas Clark2004-11-271-13/+130
| | | | | data, rather than just guesswork. p4raw-id: //depot/perl@23558
* Hateful cAsE iNsEnSiTiVe file systemsNicholas Clark2004-11-271-1/+1
| | | p4raw-id: //depot/perl@23555
* Put Config.pm on a diet. 3K rather than 32KNicholas Clark2004-11-271-22/+58
| | | | | | | | | configpm now generates 2 files, a small Config.pm containing the commonly used functions and values, which AUTOLOADs a Config_heavy.pl containing anything else needed. The "common" values in the small Config.pm may need some tweaking, based on real world data. p4raw-id: //depot/perl@23554
* The change to the internal representation introduced a bug wherebyNicholas Clark2004-11-261-6/+3
| | | | | | the key returned by FIRSTKEY had an erroneous leading newline. EXISTS was also buggy. p4raw-id: //depot/perl@23545
* Make configpm and the generated Config.pm strict and warningsNicholas Clark2004-11-261-10/+22
| | | | | clean. p4raw-id: //depot/perl@23544
* Generate the virtual entries at Config.pm build time, as theyNicholas Clark2004-11-251-42/+32
| | | | | | | don't change. This lets us get rid of the entire "fetch_virtual" baggage, and makes the config_re lookup work for the virtual entries. p4raw-id: //depot/perl@23542
* Cheat. (Add a leading newline, and so remove all the specialNicholas Clark2004-11-251-28/+27
| | | | | casing for "if we're at the start of $Config_SH") p4raw-id: //depot/perl@23541
* Make $Config{libs_nolargefiles} andNicholas Clark2004-11-251-2/+2
| | | | | $Config{libswanted_nolargefiles} work. (For the first time) p4raw-id: //depot/perl@23536
* additional -V:foo testsJim Cromie2004-08-031-2/+6
| | | | | Message-ID: <410E5A8B.9030307@divsol.com> p4raw-id: //depot/perl@23185
* Config::config_re and config_sh would report the byteorder as 'ffff'Nicholas Clark2004-07-221-36/+40
| | | p4raw-id: //depot/perl@23147
* Re: [perl #24081] invalid regexp in perl -VRobin Barker2004-06-091-1/+1
| | | | | | Message-ID: <533D273D4014D411AB1D00062938C4D9040468F1@hotel.npl.co.uk> with further adjustements for bleadperl p4raw-id: //depot/perl@22921
* various -V: searches [PATCH]Jim Cromie2004-05-111-5/+10
| | | | | Message-ID: <40A06F92.1070607@divsol.com> p4raw-id: //depot/perl@22810
* It seems daft to me that we have a synopis example that will fail ifNicholas Clark2004-05-021-2/+2
| | | | | | | gcc happened to be invoked via the name cc, and completely ignores the far more reliable 'gccversion' variable So here's one using 'usethreads' that ought to work everywhere. p4raw-id: //depot/perl@22768
* configpm, our $summary : uniqueElizabeth Mattijsen2003-11-161-5/+8
| | | | | | Message-Id: <p05111b03bbdc478d10cb@[192.168.56.3]> (plus comments) p4raw-id: //depot/perl@21732
* Urk. unique, not shared.Jarkko Hietaniemi2003-09-081-1/+1
| | | p4raw-id: //depot/perl@21110
* configpm: about 1.5K less per threadElizabeth Mattijsen2003-09-081-1/+1
| | | | | Message-Id: <p05111b21bb829c68b496@[192.168.56.4]> p4raw-id: //depot/perl@21109
* A naked values() caused shuffling of lib/Config.pm,Jarkko Hietaniemi2003-07-011-1/+1
| | | | | which in turn caused unnecessary rebuilds. p4raw-id: //depot/perl@19914
* Two typos found by Philip Newton <pnewton@gmx.de>Hugo van der Sanden2003-02-261-1/+1
| | | p4raw-id: //depot/perl@18780
* Typo configpmH.Merijn Brand2002-11-041-1/+1
| | | | | Mon, 4 Nov 2002; Rafael Garcia-Suarez <rgarciasuarez@free.fr> p4raw-id: //depot/perl@18083