summaryrefslogtreecommitdiff
path: root/config_h.SH
Commit message (Collapse)AuthorAgeFilesLines
* Add a #! line to config_h.SHFather Chrysostomos2012-09-221-0/+2
| | | | | It will get one automatically the next time config_h.pl is run, but that time hasn’t come yet. :-)
* Fix alignment for darwin with -Dusemorebits.Andy Dougherty2012-09-071-5/+2
| | | | | | | | | | | | | | | | | By default, the darwin build assumes a "multiarchitecture" build. Configure has a hardwired default of '8' for alignbytes (and then proceeds to ignore it with another hard-wired '8' in config.h). That '8' was supposed to be a safe value, in case perl was built on one architecture but run on another with a stricter constraint. With darwin and -Dusemorebits, however, the alignment should be on 16-byte boundaries. We don't want to penalize all darwin builds for this unlikely configuration, but we do want to allow it. This patch causes Configure to compute alignbytes even for multiarch builds, but if the result is less than 8, it sets it to 8 (which preserves the previous behavior). If, however, alignbytes is 16, Configure won't decrease it. Then, this patch also fixes config_h.SH so that it uses the value determined by Configure instead of the previous hardwired value.
* Add Configure probe for ip_mreq_sourceH.Merijn Brand2012-08-261-0/+10
| | | | Needed to upgrade Socket from CPAN
* Add IP probe for ip_mreqH.Merijn Brand2012-07-111-1/+6
| | | | Backport 2f1eb816b5cba6977b1a8159
* fix -UuserelocatableincReini Urban2012-02-171-1/+1
| | | | -Uuserelocatableinc resulted in PERL_RELOCATABLE_INC defined as "undef" which is defined
* Add new probes for IPv6 (LeoNerd)H.Merijn Brand2012-02-161-0/+10
|
* Revert "Add strptime probe"Ævar Arnfjörð Bjarmason2012-02-151-6/+0
| | | | This reverts commit 8852e312c3c616ab731ccbe7da54fb04eb8c3d30.
* Add strptime probeH.Merijn Brand2012-02-121-0/+6
|
* Add probe for isblank() (requested by khw)H.Merijn Brand2012-01-091-0/+6
|
* 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