This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
metaconfig.git
10 years agogcc 4.9 by default does some optimizations that break perl (#121505)
H.Merijn Brand - Tux [Wed, 9 Apr 2014 08:57:21 +0000 (10:57 +0200)]
gcc 4.9 by default does some optimizations that break perl (#121505)

Patch by Tony Cook

10 years agoConfigure misdetects strlcpy et al. with gcc -flto (RT#113022)
H.Merijn Brand - Tux [Sun, 16 Mar 2014 08:53:24 +0000 (09:53 +0100)]
Configure misdetects strlcpy et al. with gcc -flto (RT#113022)

10 years agoFinish backporting hugmeir's work
H.Merijn Brand - Tux [Wed, 12 Mar 2014 09:46:57 +0000 (10:46 +0100)]
Finish backporting hugmeir's work

The tryp<space>" change is to work around a bug in metalint/metaconfig

10 years agoackport Cross changes from hugmeir and castaway
H.Merijn Brand - Tux [Sat, 8 Feb 2014 15:27:05 +0000 (16:27 +0100)]
ackport Cross changes from hugmeir and castaway

There is still two warnings left to fix from metalint
Still commited, as hugmeir can now pull the backport work as explained

10 years agoadded missing semicolon
H.Merijn Brand - Tux [Thu, 23 Jan 2014 17:48:05 +0000 (18:48 +0100)]
added missing semicolon

10 years agorestore missed change
H.Merijn Brand - Tux [Wed, 22 Jan 2014 12:47:26 +0000 (13:47 +0100)]
restore missed change

10 years agobackport incpth
H.Merijn Brand [Wed, 22 Jan 2014 11:04:43 +0000 (12:04 +0100)]
backport incpth

10 years agoDo not expose _sysroot
H.Merijn Brand [Wed, 22 Jan 2014 10:53:38 +0000 (11:53 +0100)]
Do not expose _sysroot

Use the echo line to use $sysroot instead and force the correct dependency

10 years agoStep 2 in backporting crosscompile/sysroot changes
H.Merijn Brand [Mon, 20 Jan 2014 08:16:00 +0000 (09:16 +0100)]
Step 2 in backporting crosscompile/sysroot changes

10 years agoNo mode sfio - backport from Nicholas' work
H.Merijn Brand [Sun, 19 Jan 2014 19:54:30 +0000 (20:54 +0100)]
No mode sfio - backport from Nicholas' work

10 years agoBackport crosscompile changes (sysroot + target*)
H.Merijn Brand [Sun, 19 Jan 2014 19:53:05 +0000 (20:53 +0100)]
Backport crosscompile changes (sysroot + target*)

Also reindented some large chuncks to get consistency withing the unit(s)

10 years agono need to declare setting less twice
H.Merijn Brand [Sun, 19 Jan 2014 19:45:46 +0000 (20:45 +0100)]
no need to declare setting less twice

10 years agoremove old warning. No need to declare what is in ?RCS
H.Merijn Brand [Sun, 19 Jan 2014 19:44:31 +0000 (20:44 +0100)]
remove old warning. No need to declare what is in ?RCS

10 years agosome try cleanup
H.Merijn Brand [Thu, 16 Jan 2014 09:24:06 +0000 (10:24 +0100)]
some try cleanup

10 years agoupdate README_U with info from metalint itself
H.Merijn Brand [Thu, 16 Jan 2014 09:10:38 +0000 (10:10 +0100)]
update README_U with info from metalint itself

10 years agoBackport 4ae6f81b38ab10f8a43c09b6efd34ae18e93ce42
H.Merijn Brand - Tux [Mon, 2 Dec 2013 10:41:03 +0000 (11:41 +0100)]
Backport 4ae6f81b38ab10f8a43c09b6efd34ae18e93ce42

Merge branch 'dirnames' into blead

Fixed whitespace to match surrounding style

10 years agoAtari FreeMiNT: MiNT does not have .exe for _exe
H.Merijn Brand - Tux [Tue, 17 Sep 2013 08:34:19 +0000 (10:34 +0200)]
Atari FreeMiNT: MiNT does not have .exe for _exe

This is the only part remaining from

Subject: Re: [perl #89502] perlbug AutoReply: Add support for Atari FreeMiNT platform
From: Alan Hourihane <alanh@fairlite.co.uk>
Date: Thu, 28 Apr 2011 20:37:05 +0100
Message-ID: <4DB9C1E1.1020003@fairlite.co.uk>

10 years agoMore specific comment based on findings in RT#7586
H.Merijn Brand - Tux [Mon, 16 Sep 2013 12:37:55 +0000 (14:37 +0200)]
More specific comment based on findings in RT#7586

Suggested by Nicholas Clark, somewhat tidied to Glossary standards

[perl #7586] STDOUT is not flushed before exec().

Nicholas comment in the original fix:

It turns out* that $Config{fflushNULL} on HP-UX is *STILL* undef, because
fflush(NULL) wrongly closes STDIN if STDIN is a pipe (which is what the
Configure test probes for).

I wonder if HP are even aware that their platform is still not quite 100%
C89 conformant? Of if they'll fix it in time for the 25th anniversary of
the first ANSI C standard?

(Also, given that that this bug had been present on Solaris, and on early
FreeBSDs, I wonder if it's a bug in common code they inherit from, or just
convergent mistake making)

Nicholas Clark

* At least on the system Merijn provides for us.

10 years agoMerge changes which eliminate VOIDFLAGS and VOIDUSED from active code.
H.Merijn Brand - Tux [Mon, 16 Sep 2013 12:11:26 +0000 (14:11 +0200)]
Merge changes which eliminate VOIDFLAGS and VOIDUSED from active code.

The remaining uses are in Configure and its related generated files, along
with canned config.sh files and configure.com. The next regeneration of
Configure from metaconfg should eliminate nearly all of these, at which point
the remainder can be removed by hand.

?W: had to be removed from voidflags.U in order to not have it included in
Configure, where it is not needed anymore.

Backport of db433f450608e784356bfeb17ba135fbfb2f3af1 by Nicholas Clark

10 years ago[perl #115928] Configure now selects our internal drand48()
H.Merijn Brand - Tux [Mon, 16 Sep 2013 11:28:04 +0000 (13:28 +0200)]
[perl #115928] Configure now selects our internal drand48()

Backport of 890c2948b68476f972f9648473ed11faf48e159f by Tony Cook

10 years agoexclude .git in dist (private tool)
H.Merijn Brand - Tux [Mon, 16 Sep 2013 11:15:27 +0000 (13:15 +0200)]
exclude .git in dist (private tool)

10 years agoRemove references to GNU DLD from Configure and config.sh scripts.
H.Merijn Brand - Tux [Mon, 16 Sep 2013 11:14:47 +0000 (13:14 +0200)]
Remove references to GNU DLD from Configure and config.sh scripts.

Specifically eliminated i_dld, a variable indicating that <dld.h> should be
included, and remove dld from the list of wanted libraries.

Backport of 665ff1e94e3997c05f0fa23160fbd8fe871a8f96 by Nicholas Clark and Brian Fraser

10 years agoAdd support for Bitrig BSD
H.Merijn Brand - Tux [Thu, 29 Aug 2013 07:38:12 +0000 (09:38 +0200)]
Add support for Bitrig BSD

Backport of a0a23c6b5c756a6834d

10 years agoMove the thrice-repeated "64bitint is buggy?" test from hints to Configure.
H.Merijn Brand - Tux [Thu, 29 Aug 2013 07:32:21 +0000 (09:32 +0200)]
Move the thrice-repeated "64bitint is buggy?" test from hints to Configure.

Backport 16e6698bf53cbe5099ca8f3

OpenBSD and its two* forks each have the same "is 64 bit int support buggy?"
test code as a callback unit duplicated in their hints files. As the code is
portable C, there seems to be no harm in moving it to Configure, and running
the test on all platforms. This reduces code duplication, and will reduce it
further if another OpenBSD fork appears.

* This week.

10 years ago[perl #119271] Faulty test for INT16 in Configure
H.Merijn Brand - Tux [Fri, 16 Aug 2013 12:17:31 +0000 (14:17 +0200)]
[perl #119271] Faulty test for INT16 in Configure

Subject: [perl #119271] Faulty test for INT16 in Configure
From: Brian Fraser (via RT) <perlbug-followup@perl.org>
Date: Tue, 13 Aug 2013 12:47:09 -0700
Message-ID: <rt-3.6.HEAD-2552-1376423228-455.119271-75-0@perl.org>

Howdy all. Configure has this:

#ifdef INT16
   int16_t i =  INT16_MAX;
  uint16_t i = UINT16_MAX;
  printf("int16_t\n");
#endif

Declaring i twice is a typo; The second variable should be a 'u'.

10 years agoThreading 5.005 style is no longer supported
H.Merijn Brand - Tux [Mon, 15 Jul 2013 13:54:29 +0000 (15:54 +0200)]
Threading 5.005 style is no longer supported

Modernize the explain message

10 years agoBackport Nicholas' changes to Configure for xs_extensions
H.Merijn Brand - Tux [Tue, 2 Jul 2013 14:20:08 +0000 (16:20 +0200)]
Backport Nicholas' changes to Configure for xs_extensions

2d11a7e9678a8894622d2af2943f9976d913f4c9
08b889303304849ba3ce08a3a08d913862c17156
f7b3892b9e45c6994685c9a625d3ea2b52642167
98962cf902fbf8857644cacbd32ddc075b71d5ab

10 years ago[perl #64126] ./Configure -de -Dusevendorprefix didn't default
H.Merijn Brand - Tux [Mon, 27 May 2013 07:45:32 +0000 (09:45 +0200)]
[perl #64126] ./Configure -de -Dusevendorprefix didn't default

10 years ago[perl #66604] 64bit compilation Problem on Solaris x86_64
H.Merijn Brand - Tux [Fri, 10 May 2013 12:20:36 +0000 (14:20 +0200)]
[perl #66604] 64bit compilation Problem on Solaris x86_64

10 years agoMore spellcheck
H.Merijn Brand - Tux [Wed, 8 May 2013 15:24:50 +0000 (17:24 +0200)]
More spellcheck

I enabled the ?C: sections too

10 years agoSpelling - megapatch
H.Merijn Brand - Tux [Wed, 8 May 2013 13:31:27 +0000 (15:31 +0200)]
Spelling - megapatch

Most content generated by Licence => License
Also removed trailing blanks from changed files

10 years agoSome Pod::Spell::CommonMistakes on .U
H.Merijn Brand - Tux [Wed, 8 May 2013 10:08:47 +0000 (12:08 +0200)]
Some Pod::Spell::CommonMistakes on .U

I know .U ain't pod, and finding text against finding code might be
brittle, but it is a start

10 years agoThe URL for the dist source repo changed
H.Merijn Brand - Tux [Tue, 7 May 2013 21:44:15 +0000 (23:44 +0200)]
The URL for the dist source repo changed

10 years agoTypo's found by Shlomi
H.Merijn Brand - Tux [Tue, 7 May 2013 21:42:05 +0000 (23:42 +0200)]
Typo's found by Shlomi

11 years agoBackport b95f969b03c79d
H.Merijn Brand - Tux [Sat, 9 Mar 2013 19:34:43 +0000 (20:34 +0100)]
Backport b95f969b03c79d

Configure: bail out when neither stdarg.h nor varargs.h

Perl uses variadic functions, so we need at least one of the relevant
mechanisms available; for this reason, the CompCert C compiler is unsuitable
for our purposes.

If the person building Perl wants to carry on regardless, they can use the
"-K" option.

This partly addresses RT#112494.

11 years agoAdd bootstrap_charset/BOOTSTRAP_CHARSET for non-ASCII architectures
H.Merijn Brand - Tux [Sat, 9 Mar 2013 17:52:33 +0000 (18:52 +0100)]
Add bootstrap_charset/BOOTSTRAP_CHARSET for non-ASCII architectures

11 years agoGenerate a valid config.h even if stdarg.h and varargs.h are both missing.
Nicholas Clark [Tue, 5 Feb 2013 19:26:42 +0000 (14:26 -0500)]
Generate a valid config.h even if stdarg.h and varargs.h are both missing.

Whilst we can't build perl on such a crippled system, there's no excuse for
logical errors in config.sh resulting in an invalid config.h
This is extracted from
    [perl #112494] invalid config.h if stdarg.h and varargs.h both missing
    https://rt.perl.org/rt3//Ticket/Display.html?id=112494

11 years agoFix [perl #116523] Configure is confused by '=' in output from uname -a
Andy Dougherty [Tue, 19 Feb 2013 14:23:11 +0000 (09:23 -0500)]
Fix [perl #116523] Configure is confused by '=' in output from uname -a

Previously, Configure used to try to post-process the output of uname -a.
This was to support Xenix, which gave output like this:

     sysname=XENIX
     nodename=whatever
     release=2.3.2 .. etc...

Configure attempted to parse that output and build up a $myuname variable
that resembled those generated on traditional Unix systems.

More recently, a user reported uname -a output on a CVS checkout of
NetBSD that also included information such as

    root=username@hostname:/dirname module=src branch=HEAD

The Configure code misparsed that and ended up throwing most of it away.

This patch takes the simplest approach and just skips the attempt to
process the Xenix output.

11 years agouse_versioned_archname => versionedarchname
H.Merijn Brand - Tux [Fri, 15 Feb 2013 14:15:06 +0000 (15:15 +0100)]
use_versioned_archname => versionedarchname

backport of ba95ddbf39c3f4434439

This patch adds 'use_versioned_archname' as a Configure option.
When set, it includes 'api_versionstring' in 'archname'. E.g.
x86_64-linux-5.13.6-thread-multi.  It is unset by default.

This feature was requested by Tim Bunce, who observed that
INSTALL_BASE creates a library structure that does not
differentiate by perl version.  Instead, it places architecture
specific files in "$install_base/lib/perl5/$archname".  This makes
it difficult to use a common INSTALL_BASE library path with
multiple versions of perl.

By setting -Duse_versioned_archname, the $archname will be
distinct for architecture *and* API version, allowing mixed use of
INSTALL_BASE.

This patch demonstrates the desired effect for discussion.  Actual
changes would need to be made upstream in metaconfig and
integrated back into blead.

11 years agoThe dist svn repo source url changed
H.Merijn Brand - Tux [Mon, 28 Jan 2013 08:08:56 +0000 (09:08 +0100)]
The dist svn repo source url changed

11 years agoBackport 7eb35c035978bf0530591a57244b6922682a3344
H.Merijn Brand - Tux [Wed, 23 Jan 2013 13:51:26 +0000 (14:51 +0100)]
Backport 7eb35c035978bf0530591a57244b6922682a3344

Remove the Rhapsody port.

Rhapsody was an Apple OS that later evolved into Darwin and Mac OS X. It was
initially only released to developers, but later became Mac OS X Server, with
releases in 1999 and 2000. It was obsoleted by Mac OS X 10.0, released in
March 2001.

11 years agoBackport 232083c091a7dd8f390a1735f72256cf82491726
H.Merijn Brand - Tux [Mon, 24 Dec 2012 15:07:12 +0000 (16:07 +0100)]
Backport 232083c091a7dd8f390a1735f72256cf82491726

11 years agoRemove register keywork from randfunc tests
H.Merijn Brand - Tux [Mon, 24 Dec 2012 09:08:18 +0000 (10:08 +0100)]
Remove register keywork from randfunc tests

11 years agoFix [perl #114812] Configure not finding isblank().
Andy Dougherty [Mon, 10 Sep 2012 13:24:23 +0000 (09:24 -0400)]
Fix [perl #114812] Configure not finding isblank().

Configure would not find isblank() when run with g++ because the probe
used exit() without including <stdlib.h>.  The simplest fix is to have
the probe use return instead.

11 years agoFix alignment for darwin with -Dusemorebits.
Andy Dougherty [Mon, 10 Sep 2012 11:45:26 +0000 (07:45 -0400)]
Fix alignment for darwin with -Dusemorebits.

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 the bits that
end up in config_h.SH so that it uses the value determined by Configure
instead of the previous hardwired value.

11 years agoAdd probes for ip_mreq_source and ipv6_mreq_source
H.Merijn Brand [Sun, 26 Aug 2012 12:39:08 +0000 (14:39 +0200)]
Add probes for ip_mreq_source and ipv6_mreq_source

11 years agoFix RT [perl #72156] Re: Perl 5.12.0 RC 0 - Pager detection
Andy Dougherty [Thu, 2 Aug 2012 18:16:47 +0000 (14:16 -0400)]
Fix RT [perl #72156] Re: Perl 5.12.0 RC 0 - Pager detection

Instruct ./getfile to trust the default pager value.  It might not begin
with a slash, or it might include some options, such as
"/usr/bin/less -R".  This patch copies the pager.U file from the
dist-3.5 directory, and then changes the 'fn=' line to trust the
default.

11 years agoAdd IP probe for ip_mreq
H.Merijn Brand [Wed, 11 Jul 2012 15:20:22 +0000 (17:20 +0200)]
Add IP probe for ip_mreq

Backport 2f1eb816b5cba6977b1a8159

11 years agoEnsure Cppsym.true list is sorted (for later input to comm).
Andy Dougherty [Wed, 6 Jun 2012 15:11:34 +0000 (11:11 -0400)]
Ensure Cppsym.true list is sorted (for later input to comm).

11 years agoAvoid Cppsym warnings for extra tokens [perl #113024]
Andy Dougherty [Wed, 6 Jun 2012 13:35:31 +0000 (09:35 -0400)]
Avoid Cppsym warnings for extra tokens [perl #113024]

The cppsymbols can include macros such as __INT16_C(c), which can't
best tested with a simple #ifdef.  This patch strips off the opening
parenthesis and everything following it.  These macros were generated
by cpp -dM.

11 years agoReplace $compile_ok by $compile since it's ok for this probe to fail.
Andy Dougherty [Wed, 6 Jun 2012 12:58:29 +0000 (08:58 -0400)]
Replace $compile_ok by $compile since it's ok for this probe to fail.

On systems where KERN_PROC_PATHNAME is not available, this probe
is expected to fail, so use $compile to throw away the error message.

11 years agoReplace $compile_ok by $compile since it's ok for this probe to fail.
Andy Dougherty [Wed, 6 Jun 2012 12:55:12 +0000 (08:55 -0400)]
Replace $compile_ok by $compile since it's ok for this probe to fail.

On systems where _NSGetExecutablePath is not available, this probe
is expected to fail, so use $compile to throw away the error message.

12 years agoDetermine if ELF even if ld is not ''
H.Merijn Brand [Sun, 1 Apr 2012 10:00:19 +0000 (12:00 +0200)]
Determine if ELF even if ld is not ''

12 years agoAdd ld_can_script probe
H.Merijn Brand [Sat, 31 Mar 2012 14:09:38 +0000 (16:09 +0200)]
Add ld_can_script probe

12 years agoAdd new probes for IPv6 (LeoNerd)
H.Merijn Brand [Thu, 16 Feb 2012 16:18:59 +0000 (17:18 +0100)]
Add new probes for IPv6 (LeoNerd)

12 years agoConfigure now aborts with a diagnostic if it detects a duplicate extension.
H.Merijn Brand [Mon, 13 Feb 2012 15:46:47 +0000 (16:46 +0100)]
Configure now aborts with a diagnostic if it detects a duplicate extension.

Backport of 864293481e6a8b8 + 01db32e2e6d17e

12 years agoAdd probe for strptime
H.Merijn Brand [Sun, 12 Feb 2012 13:39:16 +0000 (14:39 +0100)]
Add probe for strptime

12 years agomymalloc isn't threadsafe (rurban)
H.Merijn Brand [Fri, 27 Jan 2012 15:10:11 +0000 (16:10 +0100)]
mymalloc isn't threadsafe (rurban)

12 years agoA is not blank
H.Merijn Brand [Mon, 9 Jan 2012 17:18:18 +0000 (18:18 +0100)]
A is not blank

12 years agoAdd probe for isblank() (requested by khw)
H.Merijn Brand [Mon, 9 Jan 2012 17:11:16 +0000 (18:11 +0100)]
Add probe for isblank() (requested by khw)

12 years agoFix spelling error in config_argN, RT [perl #82788].
Andy Dougherty [Fri, 9 Dec 2011 02:29:09 +0000 (21:29 -0500)]
Fix spelling error in config_argN, RT [perl #82788].

12 years agoMerge branch 'master' of perl5.git.perl.org:/metaconfig
Andy Dougherty [Fri, 9 Dec 2011 02:28:12 +0000 (21:28 -0500)]
Merge branch 'master' of perl5.git.perl.org:/metaconfig

12 years agoImproved $^X absolute pathname conversion.
H.Merijn Brand [Sat, 1 Oct 2011 10:37:08 +0000 (12:37 +0200)]
Improved $^X absolute pathname conversion.

Backport of 6f31bef90fda3b9a8027adfb123055bc0eefc81c

Signed-off-by: H.Merijn Brand <merijn@lx09.procura.nl>
12 years agoUse a real compile to test for stdbool.h.
Andy Dougherty [Wed, 21 Sep 2011 16:02:18 +0000 (12:02 -0400)]
Use a real compile to test for stdbool.h.

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 <merijn@lx09.procura.nl>
12 years agoUse a real compile to test for stdbool.h.
Andy Dougherty [Wed, 21 Sep 2011 16:02:18 +0000 (12:02 -0400)]
Use a real compile to test for  stdbool.h.

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.

12 years agodocument the steps for uconfig.sh (and more)
H.Merijn Brand [Fri, 16 Sep 2011 12:23:57 +0000 (14:23 +0200)]
document the steps for uconfig.sh (and more)

12 years agoAdd probe for stdbool.h
H.Merijn Brand [Fri, 16 Sep 2011 11:26:44 +0000 (13:26 +0200)]
Add probe for stdbool.h

Backport from Nicholas' aec14df292f1ec7cd254f5a5a7fb4827bab2b5cd:

    Probe for <stdbool.h>, and if found use it in handy.h

    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>.

12 years agoAdd 5th QUAD type for win32
H.Merijn Brand [Thu, 1 Sep 2011 13:54:55 +0000 (15:54 +0200)]
Add 5th QUAD type for win32

Backported from 83ff24d4e9

12 years agoMore mlint/mconfig updates
H.Merijn Brand [Fri, 26 Aug 2011 10:59:41 +0000 (12:59 +0200)]
More mlint/mconfig updates

12 years agoRevert "Fix Configure's csym test for gcc's link time optimisation"
H.Merijn Brand [Fri, 26 Aug 2011 10:11:20 +0000 (12:11 +0200)]
Revert "Fix Configure's csym test for gcc's link time optimisation"

There are too many related problems arising from this change

This reverts commit 2a57a95b5cdd39b6d6c1f074c5ed9b9908eb7009.

12 years agoDocument the mconfig and mlint scripts
H.Merijn Brand [Fri, 26 Aug 2011 10:04:21 +0000 (12:04 +0200)]
Document the mconfig and mlint scripts

mconfig and mlint are the non-autoloading versions of metaconfig
and metalint that *are* easy to modify. I will use these from now
on!

12 years agofix from dist-svn
H.Merijn Brand [Fri, 26 Aug 2011 08:07:57 +0000 (10:07 +0200)]
fix from dist-svn

12 years agoRemove unwanted whitespace in comments
H.Merijn Brand [Fri, 26 Aug 2011 08:07:27 +0000 (10:07 +0200)]
Remove unwanted whitespace in comments

12 years agoFix Configure's csym test for gcc's link time optimisation
H.Merijn Brand [Mon, 22 Aug 2011 13:41:46 +0000 (15:41 +0200)]
Fix Configure's csym test for gcc's link time optimisation

This introduces a volatile into the test program so gcc cannot optimise
out the symbol itself as being unused.

12 years agoAdd st_ino size/sign probes
H.Merijn Brand [Sun, 31 Jul 2011 18:42:39 +0000 (20:42 +0200)]
Add st_ino size/sign probes

12 years agodist-3.0 is dead and gone. Mention actual state of affairs
H.Merijn Brand [Fri, 29 Apr 2011 10:37:45 +0000 (12:37 +0200)]
dist-3.0 is dead and gone. Mention actual state of affairs

Now that README shows how to get the actual dist package, there
is no need whatsoever to also have these files in our metaconfig
repository

13 years agoChainsaw out the possibility to disable useperlio
H.Merijn Brand [Wed, 16 Feb 2011 14:10:16 +0000 (15:10 +0100)]
Chainsaw out the possibility to disable useperlio

13 years agoSubject: optimize matching -g still enables -DDEBUGING
H.Merijn Brand [Mon, 14 Feb 2011 21:59:08 +0000 (22:59 +0100)]
Subject: optimize matching -g still enables -DDEBUGING
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.

13 years agoFrom: Benny Siegert <bsiegert@gmail.com>
H.Merijn Brand [Sun, 23 Jan 2011 09:15:59 +0000 (10:15 +0100)]
From: Benny Siegert <bsiegert@gmail.com>
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 <merijn@tux09.procura.nl>
13 years agoexplicitely => explicitly
H.Merijn Brand [Fri, 7 Jan 2011 13:15:45 +0000 (14:15 +0100)]
explicitely => explicitly

Signed-off-by: H.Merijn Brand <merijn@tux09.procura.nl>
13 years ago[perl #81910] [PATCH] Fix typos (spelling errors) in Porting/*.
H.Merijn Brand [Fri, 7 Jan 2011 12:57:24 +0000 (13:57 +0100)]
[perl #81910] [PATCH] Fix typos (spelling errors) in Porting/*.

From: (Peter J. Acklam) (via RT) <perlbug-followup@perl.org>
Date: Thu, 06 Jan 2011 23:14:14 -0800
Message-ID: <rt-3.6.HEAD-5425-1294384454-1893.81910-75-0@perl.org>

http://rt.perl.org/rt3/Ticket/Display.html?id=81910

Signed-off-by: H.Merijn Brand <merijn@tux09.procura.nl>
13 years ago[perl #81774] [PATCH] Fix typos (spelling errors) in configure files.
H.Merijn Brand [Fri, 7 Jan 2011 12:14:22 +0000 (13:14 +0100)]
[perl #81774] [PATCH] Fix typos (spelling errors) in configure files.

From: (Peter J. Acklam) (via RT) <perlbug-followup@perl.org>
Date: Thu, 06 Jan 2011 23:05:42 -0800
Message-ID: <rt-3.6.HEAD-5425-1294383942-1527.81774-75-0@perl.org>

http://rt.perl.org/rt3/Ticket/Display.html?id=81774

Signed-off-by: H.Merijn Brand <merijn@tux09.procura.nl>
13 years agoNo reference to $Id: in generated files
H.Merijn Brand [Tue, 21 Dec 2010 13:33:43 +0000 (14:33 +0100)]
No reference to $Id: in generated files

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.

13 years agoAdd sin6_scope_id probe (LeoNerd)
H.Merijn Brand [Mon, 20 Dec 2010 16:04:36 +0000 (17:04 +0100)]
Add sin6_scope_id probe (LeoNerd)

13 years agoBackport 83f8bb564961ee8fba35156e720bef403d8fa9a7
H.Merijn Brand [Fri, 10 Dec 2010 11:03:03 +0000 (12:03 +0100)]
Backport 83f8bb564961ee8fba35156e720bef403d8fa9a7

merge XS-APItest-KeywordRPN into XS-APItest

13 years agoBackport d9a4b459f94297889956ac3adc42707365f274c2
H.Merijn Brand [Fri, 10 Dec 2010 10:57:10 +0000 (11:57 +0100)]
Backport d9a4b459f94297889956ac3adc42707365f274c2

Restore building Encode's subextensions for a static build.

The special-casing in Configure still referred to ext/Encode, so likely this
was broken when Encode moved to cpan/

13 years agoAdd probe for sa_len availability in sockaddr struct
H.Merijn Brand [Fri, 10 Dec 2010 10:27:49 +0000 (11:27 +0100)]
Add probe for sa_len availability in sockaddr struct

13 years agoBackport 1034e4c80e068f8cc1c701d7936bdb84c7d74735
H.Merijn Brand [Tue, 21 Sep 2010 12:30:23 +0000 (14:30 +0200)]
Backport 1034e4c80e068f8cc1c701d7936bdb84c7d74735

13 years agoAccount for GNU "i" extension when checking 'nm' output.
George Greer [Mon, 19 Jul 2010 02:16:21 +0000 (22:16 -0400)]
Account for GNU "i" extension when checking 'nm' output.

Signed-off-by: H.Merijn Brand <merijn@nb09.procura.nl>
13 years agoAdd probe for C99-style static inline.
Andy Dougherty [Fri, 9 Jul 2010 18:56:45 +0000 (14:56 -0400)]
Add probe for C99-style static inline.
Since perl's cflags.SH script tries to add in -ansi for gcc, but gcc
will only accept '__inline__', and not 'inline' in -ansi mode, try
__inline__ first if we're using gcc.  Also, might as well document the
MSVC versions that will end up getting used in Windows, even if they
never run Configure.

13 years agoFirst pass at d_static_inline.U. Needs to be revised
Andy Dougherty [Thu, 8 Jul 2010 16:51:58 +0000 (12:51 -0400)]
First pass at d_static_inline.U.  Needs to be revised
to address different flavors:  inline, __inline__, and __inline.

13 years ago[PATCH] Fix d_u32align probe on ARM
H.Merijn Brand [Wed, 23 Jun 2010 14:30:29 +0000 (16:30 +0200)]
[PATCH] Fix d_u32align probe on ARM

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 <merijn@nb09.procura.nl>
13 years agoThe size of a character in C is per definition 1
H.Merijn Brand [Fri, 21 May 2010 06:01:02 +0000 (08:01 +0200)]
The size of a character in C is per definition 1

14 years agoBackport of bd2aeadfa5cb8ea8dbfc9c3060728594d8452bc6
H.Merijn Brand [Wed, 14 Apr 2010 14:04:32 +0000 (16:04 +0200)]
Backport of bd2aeadfa5cb8ea8dbfc9c3060728594d8452bc6

14 years agoAdd probes for prctl () and prctl (PR_SET_NAME, ...)
H.Merijn Brand [Mon, 29 Mar 2010 07:13:13 +0000 (09:13 +0200)]
Add probes for prctl () and prctl (PR_SET_NAME, ...)

14 years ago[PATCH] Support for SystemTap's dtrace compatibility layer and issues linking miniperl
H.Merijn Brand [Sat, 13 Feb 2010 18:05:29 +0000 (19:05 +0100)]
[PATCH] Support for SystemTap's dtrace compatibility layer and issues linking miniperl

14 years agobackport 2c0c170a5682dcc9df1a873339af96740b1b0e52
H.Merijn Brand [Tue, 9 Feb 2010 15:43:40 +0000 (16:43 +0100)]
backport 2c0c170a5682dcc9df1a873339af96740b1b0e52

14 years ago[PATCH] Add gcc predefined macros to $Config{cppsymbols} on GNU/Hurd.
H.Merijn Brand [Mon, 1 Feb 2010 11:57:47 +0000 (12:57 +0100)]
[PATCH] Add gcc predefined macros to $Config{cppsymbols} on GNU/Hurd.

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>.

14 years agoBackport 88a6f4fc380d30c405f82eb0f2962237fd771fea
H.Merijn Brand [Tue, 5 Jan 2010 08:33:53 +0000 (09:33 +0100)]
Backport 88a6f4fc380d30c405f82eb0f2962237fd771fea

14 years agoFD 4 is not (yet) open in Head
H.Merijn Brand [Tue, 5 Jan 2010 08:14:16 +0000 (09:14 +0100)]
FD 4 is not (yet) open in Head