summaryrefslogtreecommitdiff
path: root/uconfig.sh
Commit message (Collapse)AuthorAgeFilesLines
* Where available, use _NSGetExecutablePath() to make $^X absolute.Nicholas Clark2011-09-271-0/+1
| | | | | | | | | In Configure, check whether _NSGetExecutablePath() can be used to find the absolute pathname of the executable. If so, set usensgetexecutablepath in config.sh and USE_NSGETEXECUTABLEPATH in config.h. If this is set, then use this approach in S_set_caret_X() to canonicalise $^X as an absolute path. This approach works on OS X, and possible on other platforms that use dyld.
* Where available, use sysctl() with KERN_PROC_PATHNAME to make $^X absolute.Nicholas Clark2011-09-271-0/+1
| | | | | | | | | | In Configure, check whether sysctl() and KERN_PROC_PATHNAME can be used to find the absolute pathname of the executable. If so, set usekernprocpathname in config.sh and USE_KERN_PROC_PATHNAME in config.h. If this is set, then use this approach in S_set_caret_X() to canonicalise $^X as an absolute path. This approach works on (at least) FreeBSD, and doesn't rely on the /proc filesystem existing, or /proc/curproc/file being present.
* Add a --regen option to checkcfgvar.pl to regenerate config files.Nicholas Clark2011-09-211-34/+34
| | | | | | | | | | 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.
* Add empty Author and zip entries to symbian/config.sh and uconfig{,64}.shNicholas Clark2011-09-211-0/+2
| | | | | | | | | This brackets the probed values sections consistently across all config.sh type files, between Author and zip inclusive. Move PERL_CONFIG_SH to the end of NetWare/config.wc and symbian/config.sh, and PERL_CONFIG_SH CONFIGDOTSH to the end of win32/config.ce, to be consistent with the other config.sh files.
* Probe for <stdbool.h>, and if found use it in handy.hNicholas Clark2011-09-161-0/+1
| | | | | | | | | This means that the core uses the compiler's bool type if one exists. This avoids potential problems of clashes between perl's own implementation of bool and the compiler's bool type, which otherwise occur when one attempts to include headers which in turn include <stdbool.h>. Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
* Add st_ino size/sign probesH.Merijn Brand2011-07-311-0/+2
| | | | Work initiated by Tony Cook
* Bump the perl version in various places for 5.15.0David Mitchell2011-05-181-8/+8
|
* First provisional bump to 5.14.0-RC0Jesse Vincent2011-04-021-8/+8
|
* microperl: Define need_va_copyDavid Leadbeater2011-03-281-1/+1
| | | | | This is needed on some platforms and shouldn't hurt on others, so define it.
* microperl should use *signed* char for i8, as (plain) char might be unsigned.Nicholas Clark2011-03-281-1/+1
|
* Default microperl to no optimisation.Nicholas Clark2011-03-281-1/+1
| | | | | | | Previously it was -O2, which is potentially a gcc-ism. -Os also has the potential to be "portability challenged". Whilst -O should work everywhere, as microperl is intended as a least-assumptions bootstrapping approach, it seems best to make no assumptions about the compiler's optimiser.
* Define memset() for microperlDavid Leadbeater2011-03-281-1/+1
|
* microperl: Up versions in uconfig.sh to 5.13David Leadbeater2011-03-281-8/+8
|
* microperl: On (at least) OS X and Linux stddef.h is needed for ptrdiff_tDavid Leadbeater2011-03-281-1/+1
| | | | This shouldn't hurt on other system either.
* Add sin6_scope_id probe (LeoNerd)H.Merijn Brand2010-12-201-0/+1
|
* Add probe for sa_len availability in sockaddr structH.Merijn Brand2010-12-101-1/+2
| | | | Sorry for the huge config_h.SH re-order. Don't know (yet) what caused that
* Global executable bit cleanupDavid Golden2010-07-241-0/+0
| | | | | | | | | | | | | | | | | | | | When porting/makerel runs, all files copied into the directory for the tarball have the executable bit stripped and then only a specific set of files have the executable bit restored. There are many files in the repo that have the executable bit set in the repo that will be stripped. So that the state of files in the repo is as close as possible to the state of files in the release tarball, the executable bit has been stripped from such files. In one recent case, a file added from a dual-life module needed the executable bit set. Because it had the bit in the repo but was not listed in makerel to get an executable bit, tests using it passed in the repo and failed in the tarball. This commit refactors the list into a new file, Porting/exec-bit.txt and add tests to detect a mismatch between files listed there and actual executable bits in the repo.
* Update "canned" config.sh files for static inline.Andy Dougherty2010-07-221-0/+2
| | | | | | Unless the file explicitly lists a gcc version I know to work, I picked safe default values for the new d_static_inline and perl_static_inline variables.
* Add d_prctl* for all other OS'sH.Merijn Brand2010-04-131-0/+2
| | | | This was missing from c796e3db23c597b99f07485542338844e61a6a69
* Bump to 5.12.0Jesse Vincent2010-03-141-8/+8
|
* vaproto for the other OS'sH.Merijn Brand2010-01-061-0/+1
| | | | Follow-up to d03b3b00ac22f32af87a752669a46d9d06ae1561
* Detection (and warning) of char size in bitsH.Merijn Brand2009-11-061-0/+1
|
* IPv6 config variables for the other OS'sH.Merijn Brand2009-03-251-0/+4
| | | | Needs checking
* Configure detection of __attribute__((deprecated))Rafael Garcia-Suarez2008-12-031-0/+1
| | | | | | From: "Rafael Garcia-Suarez" <rgarciasuarez@gmail.com> Message-ID: <b77c1dce0812030351j33d7b75ci3e2640b33f36acd9@mail.gmail.com> p4raw-id: //depot/perl@34994
* could we add usedevel to config.h?H.Merijn Brand2008-11-281-0/+1
| | | | | | | | | | | | From: Nicholas Clark <nick@ccl4.org> Date: Thu, 27 Nov 2008 20:28:08 +0000 Message-ID: <20081127202807.GG49335@plum.flirble.org> Subject: Avoid duplicate vendorlib [PATCH] From: Gisle Aas <gisle@activestate.com> Date: Wed, 12 Nov 2008 13:50:34 +0100 Message-Id: <71B06786-4C55-4A76-BE24-C01F89015D45@activestate.com> p4raw-id: //depot/perl@34950
* Re: [PATCH: Configure/NDBM_File] Add prototype detection for NDBM header filesMarcus Holland-Moritz2008-11-081-0/+3
| | | | | Message-ID: <20081108094522.5174608b@r2d2> p4raw-id: //depot/perl@34777
* Add probes for *time64 () functionsH.Merijn Brand2008-10-031-31/+37
| | | | | Add missing config vars p4raw-id: //depot/perl@34456
* Add probes for LOCALTIME_max and LOCALTIME_min (y2038 project)H.Merijn Brand2008-09-151-4/+8
| | | p4raw-id: //depot/perl@34363
* Add d_timegm to uconfig.sh to fix the generated uconfig.h.Marcus Holland-Moritz2008-07-311-0/+1
| | | p4raw-id: //depot/perl@34168
* Propagate new i_gdbm*ndbm variablesAndy Dougherty2008-05-291-0/+2
| | | | | Message-ID: <Pine.LNX.4.64.0805291241070.365@fractal.phys.lafayette.edu> p4raw-id: //depot/perl@33949
* Re: Smoke [5.11.0] 33456 PASS darwin 9.2.0 (macppcG5/1 cpu)Dominic Dunlop2008-03-291-0/+1
| | | | | | | | Message-Id: <3B7752C8-D5A2-452C-B3E0-C453FFCBCAFA@mac.com> [but rename ******* to i_mallocmalloc.U, and then fix up all the files that Porting/checkcfgvar.pl says need i_mallocmalloc declared] p4raw-id: //depot/perl@33598
* Add i_syspoll to all the pre-canned configs.Nicholas Clark2008-03-291-0/+1
| | | p4raw-id: //depot/perl@33597
* Fix the misplaced warnings and failing tests caused by the precisionNicholas Clark2008-01-231-0/+1
| | | | | | | | loss warning on ++ and -- by moving the check to Configure time, creating a new config.sh variable nv_overflows_integers_at which contains an constant expression for the value of the NV which can't be incremented by 1.0 p4raw-id: //depot/perl@33049
* Thanks to Sébstien Aperghis-Tramoni's suggestion, updated versionSteve Peters2008-01-151-8/+8
| | | | | numbers in a few extra files and regenerated uconfig.h. p4raw-id: //depot/perl@32981
* Add dtrace supportAndy Armstrong2008-01-111-0/+2
| | | | | | | | | Message-Id: <F4AC553F-7C7F-49C3-98C2-E04681E1004F@hexten.net> with fixups as discussed on list, plus adding usedtrace to Glossary, plus propagating all the new config variables everywhere. (Was there an automatic way to do that? I did it with emacs macros) p4raw-id: //depot/perl@32953
* Add a Configure probe for <assert.h>Nicholas Clark2007-12-221-0/+1
| | | p4raw-id: //depot/perl@32705
* Re: [PATCH] various RC1 nitsJarkko Hietaniemi2007-11-201-8/+8
| | | | | Message-ID: <4743029A.3010002@iki.fi> p4raw-id: //depot/perl@32425
* bye bye charsizeH.Merijn Brand2007-08-211-1/+0
| | | | | it is^Wwas always 1 p4raw-id: //depot/perl@31745
* microperl plus missing config varsJarkko Hietaniemi2007-04-011-2/+5
| | | | | Message-ID: <460ED79A.5030809@iki.fi> p4raw-id: //depot/perl@30823
* Introduction of d_pseudoforkH.Merijn Brand2006-12-051-0/+1
| | | p4raw-id: //depot/perl@29467
* Extended uconfig.sh based on Porting/checkcfgvar.pl findingsH.Merijn Brand2006-11-161-0/+31
| | | p4raw-id: //depot/perl@29291
* Configure patch to add detection for DIR.dd_fd member variableSteve Peters2006-11-081-0/+1
| | | | | | From: "Steve Peters" <steve.peters@gmail.com> Message-ID: <fd7a59d30611042340p5543442ctad306aeb748b6bfe@mail.gmail.com> p4raw-id: //depot/perl@29238
* The non-unix parts for localtime_r_needs_tzsetH.Merijn Brand2006-11-061-0/+1
| | | | | Plus forced Glossary entry. That is a TODO for automation p4raw-id: //depot/perl@29213
* g++ stage 1 reachedJarkko Hietaniemi2006-08-081-0/+1
| | | | | Message-ID: <44D7AA6B.4040802@iki.fi> p4raw-id: //depot/perl@28674
* A Configure probe for C99 variadic macros, based on code from Jarkko.Nicholas Clark2006-05-131-0/+1
| | | p4raw-id: //depot/perl@28189
* microperl updateJarkko Hietaniemi2006-05-031-3/+5
| | | | | Message-ID: <44583D9F.8060401@gmail.com> p4raw-id: //depot/perl@28074
* Add a Configure question for mad (Misc Attribute Decoration - Larry'sNicholas Clark2006-03-071-0/+1
| | | | | perl5 to perl[56] convertor), which if set defines PERL_MAD in config.h p4raw-id: //depot/perl@27407
* It's the Barbie bus patchAndy Lester2006-01-101-0/+2
| | | | | Message-ID: <20060110054243.GA26165@petdance.com> p4raw-id: //depot/perl@26764
* Updates to various configurations courtesy of Jarkko.Steve Peters2006-01-041-0/+5
| | | p4raw-id: //depot/perl@26639
* Add a probe for whether sprintf returns the length of the buffer.Nicholas Clark2005-10-241-0/+1
| | | | | | | Update all the canned config.sh files. Assume that symbian and Win32 are all ANSI conformant, note that ARM Linux (ie glibc) will be, don't assume that any other platform is. p4raw-id: //depot/perl@25831