summaryrefslogtreecommitdiff
path: root/Configure
Commit message (Collapse)AuthorAgeFilesLines
* 'A' is not blankH.Merijn Brand2012-01-091-2/+2
|
* Add probe for isblank() (requested by khw)H.Merijn Brand2012-01-091-1/+27
|
* Regen Configure and friendsH.Merijn Brand2011-10-011-217/+217
| | | | After backporting Nicholas' work and slimming down metaconfig.h
* Teach Configure about "procselfexe" on Solaris and NetBSDNicholas Clark2011-09-281-1/+3
| | | | | | | | | | | | Configure would already find /proc/self/exe on NetBSD, where /proc/self is a symlink to /proc/curproc. However, the revised probe avoids the extra symlink traversal. Configure did not previously probe for the relevant path on Solaris, /proc/self/path/a.out Rename the description of /proc/curproc/file from BSD to FreeBSD, as it seems that of the "big 3" BSDs, only FreeBSD uses this path. Based on a patch from Johann 'Myrkraverk' Oskarsson.
* In Configure, refactor the test for procselfexe into a loop.Nicholas Clark2011-09-271-15/+14
| | | | | This removes code duplication, and makes it easy to add more variants. Based on a patch from Johann 'Myrkraverk' Oskarsson.
* Where available, use _NSGetExecutablePath() to make $^X absolute.Nicholas Clark2011-09-271-0/+102
| | | | | | | | | 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/+117
| | | | | | | | | | 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.
* Use a real compile to test for stdbool.hH.Merijn Brand2011-09-221-3/+28
| | | | | | | | | On some Solaris systems, <stdbool.h> is present, but will give an error if used by a compiler that is not sufficiently c99-compliant. Check for this by including <stdbool.h> and trying to compile a short program that uses bool. Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
* Regenerate. Sorry for the massive re-orderH.Merijn Brand2011-09-161-6/+6
|
* 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>
* Revert "Fix Configure's csym test for gcc's link time optimisation"H.Merijn Brand2011-08-261-8/+8
| | | | | | There are too many related problems arising from this change This reverts commit e820c6d6a6d0a8828aa68a6895696b659c471f2f.
* Fix Configure's csym test for gcc's link time optimisationH.Merijn Brand2011-08-221-8/+8
| | | | | This introduces a volatile into the test program so gcc cannot optimise out the symbol itself as being unused.
* Add st_ino size/sign probesH.Merijn Brand2011-07-311-1/+73
| | | | Work initiated by Tony Cook
* Chainsaw out the possibility to disable useperlioH.Merijn Brand2011-07-311-115/+32
| | | | This work was actually committed to metaconfig on 16 Feb 2011
* Subject: optimize matching -g still enables -DDEBUGINGH.Merijn Brand2011-02-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | From: Nicholas Clark <nick@ccl4.org> Date: Mon, 14 Feb 2011 16:01:49 +0000 Message-ID: <20110214160149.GU24189@plum.flirble.org> INSTALL says this: =item -DEBUGGING=-g =item -Doptimize=-g Adds -g to optimize, but does not set -DDEBUGGING. (Note: Your system may actually require something like cc -g2. Check your man pages for cc(1) and also any hint file for your system.) However, we *aren't* compliant with our documentation, as currently -Doptimize=-g (or anything containing -g) still causes -DDEBUGGING to be added to the C flags. Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
* From: Benny Siegert <bsiegert@gmail.com>H.Merijn Brand2011-01-231-2/+2
| | | | | | | | | | | | Date: Thu, 20 Jan 2011 19:27:04 +0100 Subject: [PATCH] MirBSD: fix rpath for shared libperl If you build perl with a shared libperl.so on MirBSD (the default config), it will work up to the installation; however, once installed, it will be unable to find libperl. Treat rpath handling like in the other BSD dialects. Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
* Re-generated Configure after the spell-check fixes from Peter J. AcklamH.Merijn Brand2011-01-071-6/+6
| | | | | | | 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-3/+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.
* Restore a reference to $perlpath. Installation needs itH.Merijn Brand2010-12-211-70/+103
| | | | cbeaa1895 removed the reference to $perlpath
* Add sin6_scope_id probe (LeoNerd)H.Merijn Brand2010-12-201-103/+90
|
* Add probe for sa_len availability in sockaddr structH.Merijn Brand2010-12-101-16/+36
| | | | Sorry for the huge config_h.SH re-order. Don't know (yet) what caused that
* Restore building Encode's subextensions for a static build.Nicholas Clark2010-11-301-1/+1
| | | | | | | The special-casing in Configure still referred to ext/Encode, so likely this was broken when Encode moved to cpan/ Fixes #79494, reported by Marc Lehmann.
* merge XS-APItest-KeywordRPN into XS-APItestZefram2010-09-261-7/+0
| | | | | XS-APItest-KeywordRPN has turned out to be less useful as an independent module than expected, and less strictly about RPN than it originally was.
* Don't process .patch in ConfigureJerry D. Hedden2010-09-201-5/+0
| | | | | | | The format of the .patch file is no longer an integer change number, and generates an error when processed by Configure. As .patch is now handled by make_patchnum.pl, the attached patch removes processing of .patch from Configure.
* Account for GNU "i" extension when checking 'nm' output.H.Merijn Brand2010-08-121-2/+2
| | | | | Add the new static_inline stuff to the "other" config files too Add the missing Glossary parts
* Add a Configure probe for static inline.Andy Dougherty2010-07-221-0/+110
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* [PATCH] Fix d_u32align probe on ARMH.Merijn Brand2010-06-231-3/+3
| | | | | | | | | | | | | | | | | | | | From: Marc Pignat <marc@pignat.org> Date: Wed, 23 Jun 2010 15:38:37 +0200 My proposed solution is to use the 'volatile' keyword to make sure the compiler will really do the job. Please note that it does not work with -O3, but the configure script compile with -O2, so this should be fine. At this time I've only tested the Configure scripts, which now detects the align problem on ARM. I'm compiling the whole thing to check if the md5 bug goes away! I hope this will fix this *5 years* old bug, and the upstream bug as well! Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
* The size of a character in C is per definition 1H.Merijn Brand2010-05-211-34/+4
|
* Probe for prctl () and check id PR_SET_NAME is supportedH.Merijn Brand2010-04-131-1/+30
|
* [PATCH] Support for SystemTap's dtrace compatibility layer and issues ↵H.Merijn Brand2010-02-131-1/+3
| | | | | | | | | | | | | linking miniperl SystemTaps' dtrace binary lives in /usr/bin, so add a check to Configure for that. Additionally link the dtrace .o file into miniperl, which is an issue with SystemTap and also reported on p5p to affect OpenSolaris in Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
* regenerated Configure after backport cat ../perl/Configure >ConfigureH.Merijn Brand2010-02-091-10/+10
| | | | Please keep them sorted
* [perl #72156]: substitute `less -R' for `less' for groff's new usageJosh ben Jore2010-02-071-0/+9
| | | | | of ANSI escape codes by setting $Config{less} (and thereby $Config{pager}).
* [PATCH] Add gcc predefined macros to $Config{cppsymbols} on GNU/Hurd.H.Merijn Brand2010-02-011-2/+2
| | | | | | | | | This is needed at least by h2ph, otherwise the generated .ph files choke on missing __LONG_MAX__ and similar definitions. Patch by Samuel Thibault <sthibault@debian.org>. Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
* FD 4 is not (yet) open at this stage.H.Merijn Brand2010-01-051-3/+20
| | | | | | Regenerated after backporting 88a6f4fc380d30c40 Please *do* remember to notify the metaconfig folk when directly patching Configure Bring back Missing parts
* Revert core fixes for IO-Compress following IO-Compress updateSteve Hay2009-11-141-5/+1
| | | | | | | | | | | | With commit 1725f55ba78fb58489ea39e2bc0cc1faffd32275 IO-Compress now puts its .pm files in lib rather than archlib for perls later than 5.11.1, so the core can now do likewise given that blead will next be released as 5.11.2, i.e. revert the Configure part of 4cc80fc4cbbd82e20f7b14b68abb53d552076022 and revert f4a6a713802da1b781d7108503156fa3a0fe219e. This change should not be merged into 5.10.x because IO-Compress will continue to put its .pm files into archlib for the sake of anyone upgrading a 5.10.x installation in-place.
* Addded a pointer to the documentation on how Configure is maintainedJesse Vincent2009-11-061-0/+2
|
* Detection (and warning) of char size in bitsH.Merijn Brand2009-11-061-1/+85
|
* Mention git resources in headerH.Merijn Brand2009-11-051-5/+8
| | | | Use $cpp instead of cpp
* Implement facility to plug in syntax triggered by keywordsJesse Vincent2009-11-051-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Date: Tue, 27 Oct 2009 01:29:40 +0000 From: Zefram <zefram@fysh.org> To: perl5-porters@perl.org Subject: bareword sub lookups Attached is a patch that changes how the tokeniser looks up subroutines, when they're referenced by a bareword, for prototype and const-sub purposes. Formerly, it has looked up bareword subs directly in the package, which is contrary to the way the generated op tree looks up the sub, via an rv2cv op. The patch makes the tokeniser generate the rv2cv op earlier, and dig around in that. The motivation for this is to allow modules to hook the rv2cv op creation, to affect the name->subroutine lookup process. Currently, such hooking affects op execution as intended, but everything goes wrong with a bareword ref where the tokeniser looks at some unrelated CV, or a blank space, in the package. With the patch in place, an rv2cv hook correctly affects the tokeniser and therefore the prototype-based aspects of parsing. The patch also changes ck_subr (which applies the argument context and checking parts of prototype behaviour) to handle subs referenced by an RV const op inside the rv2cv, where formerly it would only handle a gv op inside the rv2cv. This is to support the most likely kind of modified rv2cv op. [This commit includes the Makefile.PL for XS-APITest-KeywordRPN missing from the original patch, as well as updates to perldiag.pod and a MANIFEST sort]
* Consistent spelling of HP-UXH.Merijn Brand2009-10-191-3/+3
|
* Support building extensions in dist/ as well as cpan/ and ext/Nicholas Clark2009-09-261-0/+4
|
* Explicitly sort the extensions, now that they come from multiple directories.Nicholas Clark2009-09-251-2/+2
| | | | | We used to have extensions automatically sorted because they came from a single glob, that was itself sorted.
* Search for extensions in cpan/ as well as ext/Nicholas Clark2009-09-241-13/+17
| | | | | This required inverting the logic of test for "are we flattened or not". Currently we can only build XS extensions on Unix from cpan/
* Correctly detect NDBM_File availabilityH.Merijn Brand2009-08-181-2/+2
|
* Install arch-dependent files into $archlib.Andy Dougherty2009-08-131-0/+6
| | | | | | | | After the great ext/ renaming, installperl stopped properly parsing the new directory names, and hence did not properly deduce which files are architecture-dependent. This was compounded by Configure's failure to detect ext/IO-Compress as an architecture-dependent module. These two patches fix both of those errors.
* Remove duplicate entry (from config_heavy.pl)H.Merijn Brand2009-08-121-6/+5
|
* Configure should sort inc_version_listAndy Dougherty2009-07-181-0/+1
| | | | | | | | | | | | | | | | In searching for previous versions of perl, Configure forgets to sort the directories according to version number, so 5.10 sorts later than 5.8. Specifically, without this patch, you'd get something like: inc_version_list='5.8.9 5.8.8 5.10.0/i686-linux 5.10.0' i.e. 5.10.0 would be searched *after* 5.8.8. With this patch, you get something like: inc_version_list='5.10.0/i686-linux 5.10.0 5.8.9 5.8.8'
* [Configure]: avoid leaking Win32CORE.c into output of extension probing.Andy Dougherty2009-07-011-1/+1
|
* Subject: Re: dual-life: IO 1.25 and Scalar-List-Utils-1.21H.Merijn Brand2009-06-301-3/+7
| | | | | | From: Andy Dougherty <doughera@lafayette.edu> Date: Mon, 29 Jun 2009 15:11:30 -0400 (EDT) Message-ID: <alpine.DEB.2.00.0906291510110.28368@fractal.phys.lafayette.edu>
* Add gcc predefined macros to $Config{cppsymbols} on GNU/kFreeBSD.Niko Tyni2009-06-181-2/+2
| | | | | This is needed at least by h2ph, otherwise the generated .ph files choke on missing __LONG_MAX__ and similar definitions.