summaryrefslogtreecommitdiff
path: root/config_h.SH
Commit message (Collapse)AuthorAgeFilesLines
* Regen Configure and friendsH.Merijn Brand2011-10-011-14/+14
| | | | After backporting Nicholas' work and slimming down metaconfig.h
* Where available, use _NSGetExecutablePath() to make $^X absolute.Nicholas Clark2011-09-271-0/+7
| | | | | | | | | 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/+7
| | | | | | | | | | 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.
* Regenerate. Sorry for the massive re-orderH.Merijn Brand2011-09-161-1124/+1126
|
* Probe for <stdbool.h>, and if found use it in handy.hNicholas Clark2011-09-161-0/+6
| | | | | | | | | 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>
* Remove unwanted space in commentsH.Merijn Brand2011-08-261-3/+3
|
* Add st_ino size/sign probesH.Merijn Brand2011-07-311-0/+10
| | | | Work initiated by Tony Cook
* Re-generated Configure after the spell-check fixes from Peter J. AcklamH.Merijn Brand2011-01-071-8/+7
| | | | | | | 1. re-generate Configure and config_h.SH 2. update Porting/config_H, which was very outdated Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
* No reference to $Id: in generated filesH.Merijn Brand2010-12-211-4/+1
| | | | | | They might have served a purpose in the original files, but Nicholas and Zefram expressed their concern that in the generated files, these tags are misleading and unneeded.
* Add sin6_scope_id probe (LeoNerd)H.Merijn Brand2010-12-201-0/+5
|
* Add probe for sa_len availability in sockaddr structH.Merijn Brand2010-12-101-1278/+1284
| | | | Sorry for the huge config_h.SH re-order. Don't know (yet) what caused that
* 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.
* 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.
* Add a Configure probe for static inline.Andy Dougherty2010-07-221-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | This patch enables Configure to probe for C99-style 'static inline'. (That is, functions may be inlined, but will not be externally visible.) The initial idea is that some common code in messy macros inside headers might be simplified using inline functions. If the compiler does not support 'static inline', then a plain 'static' is used instead, along with the consequent implications of a function call (though the compiler may optimize away the function call and inline the function anyway). In either case, you simply use PERL_STATIC_INLINE. This patch does not *use* this facility at all yet. It is merely a Configure patch to make the facility availble for others to experiment with. VMS and Windows files will still need to be manually updated. Finally, before actually converting anything to inline functions, please try to carefully evaluate the performance implications of any proposed changes. Compilers vary in what they will and will not convert to inline functions, so it's worth proceeding slowly and carefully. This patch results from a single new metaconfig unit, d_static_inline.U, which I will separately upload to the metaconfig repository.
* Probe for prctl () and check id PR_SET_NAME is supportedH.Merijn Brand2010-04-131-20/+31
|
* FD 4 is not (yet) open at this stage.H.Merijn Brand2010-01-051-0/+22
| | | | | | Regenerated after backporting 88a6f4fc380d30c40 Please *do* remember to notify the metaconfig folk when directly patching Configure Bring back Missing parts
* Detection (and warning) of char size in bitsH.Merijn Brand2009-11-061-0/+6
|
* Detection of IPv6 clueful functions by Configure (part 1)H.Merijn Brand2009-03-251-0/+24
| | | | | | | | Other OS parts will follow From: Steve Peters <steve@fisharerojo.org> Date: Wed, 25 Mar 2009 10:54:51 -0500 Message-ID: <fd7a59d30903250854q53311f48o6744df7cbfa1d03d@mail.gmail.com>
* Restore old behavior for perl builds with (still) unflattened ext/.H.Merijn Brand2009-02-101-20/+20
| | | | Backported assorted changes and regenerated Configure
* Configure detection of __attribute__((deprecated))Rafael Garcia-Suarez2008-12-031-0/+4
| | | | | | 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/+7
| | | | | | | | | | | | 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
* Add prototype detection for NDBM header filesMarcus Holland-Moritz2008-11-061-0/+21
| | | | | Message-ID: <20081103224011.26c223b3@r2d2> p4raw-id: //depot/perl@34756
* Add probes for *time64 () functionsH.Merijn Brand2008-10-031-0/+31
| | | | | Add missing config vars p4raw-id: //depot/perl@34456
* Add probes for LOCALTIME_max and LOCALTIME_min (y2038 project)H.Merijn Brand2008-09-151-8/+18
| | | p4raw-id: //depot/perl@34363
* Probe for timegmH.Merijn Brand2008-07-071-0/+6
| | | p4raw-id: //depot/perl@34107
* Part one of y2038 changes for SchwernH.Merijn Brand2008-07-071-0/+11
| | | p4raw-id: //depot/perl@34105
* Warnings-free for metalint-3.5-27. Woot!H.Merijn Brand2008-06-161-59/+71
| | | | | Removed all files that are now identical to dist-3.5 p4raw-id: //depot/perl@34064
* Re: [perl #50180] NDBM_File fails to build Andy Dougherty2008-05-171-6/+6
| | | | | Message-ID: <Pine.LNX.4.64.0805131224130.9728@fractal.phys.lafayette.edu> p4raw-id: //depot/perl@33845
* Re: Smoke [5.11.0] 33456 PASS darwin 9.2.0 (macppcG5/1 cpu)Dominic Dunlop2008-03-291-0/+6
| | | | | | | | 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
* Final move from meta-3.0 to meta-3.5H.Merijn Brand2008-03-211-0/+7
| | | p4raw-id: //depot/perl@33547
* Resync with metaconfig. Escape the last ~.H.Merijn Brand2008-02-151-5/+4
| | | p4raw-id: //depot/perl@33321
* Fix the misplaced warnings and failing tests caused by the precisionNicholas Clark2008-01-231-0/+7
| | | | | | | | 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
* The return of USE_DTRACEH.Merijn Brand2008-01-231-0/+6
| | | p4raw-id: //depot/perl@33045
* Regen. Lots of under-the-hood changes accumulated.H.Merijn Brand2008-01-221-5/+5
| | | p4raw-id: //depot/perl@33038
* Intermediate update/regen in cleanup process, dtrace supportH.Merijn Brand2008-01-141-8/+3
| | | | | is now backported p4raw-id: //depot/perl@32974
* Add dtrace supportAndy Armstrong2008-01-111-0/+6
| | | | | | | | | 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
* Sync after metaconfig backports. Some reorders were doneH.Merijn Brand2007-12-291-25/+25
| | | p4raw-id: //depot/perl@32773
* Add a Configure probe for <assert.h>Nicholas Clark2007-12-221-0/+6
| | | p4raw-id: //depot/perl@32705
* Escape $ENV in comments in config_h.SHJerry D. Hedden2007-12-111-1/+1
| | | | | | From: "Jerry D. Hedden" <jdhedden@cpan.org> Message-ID: <1ff86f510712110612o7bc5fa2ax9e575c0396cb2a64@mail.gmail.com> p4raw-id: //depot/perl@32607
* 1. Move #30327 to the generation locationH.Merijn Brand2007-04-181-39/+44
| | | | | | 2. Regen after backports 3. Include Jarkko's $run and \n patch p4raw-id: //depot/perl@30977
* Avoid to run config_h.SH twice during configuration.Rafael Garcia-Suarez2007-02-161-2/+7
| | | p4raw-id: //depot/perl@30327
* signbit detection (was [perl #39875] -0.0 loses signedness upon numeric ↵Andy Dougherty2007-02-101-1626/+1624
| | | | | | | comparison) Message-ID: <Pine.LNX.4.62.0702091121400.10202@fractal.phys.lafayette.edu> p4raw-id: //depot/perl@30192
* Introduction of d_pseudoforkH.Merijn Brand2006-12-051-0/+6
| | | p4raw-id: //depot/perl@29467
* OS/2 compilation fixes by IlyaIlya Zakharevich2006-11-281-0/+12
| | | | | | Subject: [PATCH 5.8.8] Build on OS/2 Message-ID: <20061128113629.GA18108@powdermilk.math.berkeley.edu> p4raw-id: //depot/perl@29407
* No more 5005thread messages from Configure for 5.9.x and upH.Merijn Brand2006-11-211-6/+7
| | | p4raw-id: //depot/perl@29338
* 1. Less Whoa there, based on a suggestion by Andy DoughertyH.Merijn Brand2006-11-151-0/+4
| | | | | 2. d_printf_format_null, based on a patch by Robin Barker p4raw-id: //depot/perl@29288
* Configure patch to add detection for DIR.dd_fd member variableSteve Peters2006-11-081-0/+6
| | | | | | 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/+6
| | | | | Plus forced Glossary entry. That is a TODO for automation p4raw-id: //depot/perl@29213
* RE: [perl #26136] localtime(3) calls tzset(3), but localtime_r(3) may not.Benjamin Holzman2006-11-061-0/+7
| | | | | | From: "Benjamin Holzman" <bholzman@longitude.com> Message-ID: <010801c6ab24$09b9ed30$ce0515ac@office.iseoptions.com> p4raw-id: //depot/perl@29209
* Fix for RT#38169 & RT#38945H.Merijn Brand2006-10-231-0/+12
| | | | | Configure won't handle versions 5.10.0 or 5.8.10. p4raw-id: //depot/perl@29096