This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
metaconfig.git
8 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

8 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

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

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

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

8 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

8 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

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

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

8 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

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

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

8 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

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

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

9 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

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

9 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

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

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

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

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

9 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 ''

9 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

9 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)

9 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

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

9 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)

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

9 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)

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

9 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

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

10 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)

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

10 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

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

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

10 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!

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

10 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

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

10 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

10 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

10 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

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

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

10 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)

10 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

10 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/

10 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

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

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

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

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

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

11 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, ...)

11 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

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

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

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

11 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

11 years agoDocument config_args limitations reported in [perl #70912]
Andy Dougherty [Tue, 8 Dec 2009 19:32:52 +0000 (14:32 -0500)]
Document config_args limitations reported in [perl #70912]

11 years agobackport 4471067f9aaa4b26f882988887ab76cb145e0a5f:
H.Merijn Brand [Fri, 6 Nov 2009 20:21:54 +0000 (21:21 +0100)]
backport 4471067f9aaa4b26f882988887ab76cb145e0a5f:
Addded a pointer to the documentation on how Configure is maintained

11 years agoCheck for the size of characters in bits
H.Merijn Brand [Thu, 5 Nov 2009 21:34:45 +0000 (22:34 +0100)]
Check for the size of characters in bits

11 years agoBackport 88e1f1a2657a3a28cf3a7811
H.Merijn Brand [Thu, 5 Nov 2009 20:20:34 +0000 (21:20 +0100)]
Backport 88e1f1a2657a3a28cf3a7811

11 years agoMention git repo in Configure's header
H.Merijn Brand [Thu, 5 Nov 2009 14:32:11 +0000 (15:32 +0100)]
Mention git repo in Configure's header

11 years agoFrom 66387e83db8e74f73611c9a4b74872eb8fd77f97 Mon Sep 17 00:00:00 2001
H.Merijn Brand [Tue, 3 Nov 2009 21:23:20 +0000 (22:23 +0100)]
From 66387e83db8e74f73611c9a4b74872eb8fd77f97 Mon Sep 17 00:00:00 2001
From: Daniel Mierswa <impulze@impulze.org>
Date: Tue, 3 Nov 2009 20:09:58 +0100
Subject: [PATCH] Use supplied C preprocessor instead of hardcoded cpp.

Signed-off-by: Daniel Mierswa <impulze@impulze.org>
11 years agoConsistent use of HP-UX
H.Merijn Brand [Mon, 19 Oct 2009 14:22:43 +0000 (16:22 +0200)]
Consistent use of HP-UX

12 years agoBackport a193a2dbe32848820392de0a7fd340ca82c2efd9
H.Merijn Brand [Sun, 27 Sep 2009 08:32:06 +0000 (10:32 +0200)]
Backport a193a2dbe32848820392de0a7fd340ca82c2efd9

Support building extensions in dist/ as well as cpan/ and ext/

12 years agoBackport of a32b3e139d3c4089c63b2af5abf995d1c2dec954
H.Merijn Brand [Fri, 25 Sep 2009 11:32:30 +0000 (13:32 +0200)]
Backport of a32b3e139d3c4089c63b2af5abf995d1c2dec954

Explicitly sort the extensions, now that they come from multiple directories.

We used to have extensions automatically sorted because they came from a
single glob, that was itself sorted.

12 years agoBackport of dd6c21bebf897e04754ff0d50210c6e54cc753c7
H.Merijn Brand [Thu, 24 Sep 2009 10:26:00 +0000 (12:26 +0200)]
Backport of dd6c21bebf897e04754ff0d50210c6e54cc753c7

Search for extensions in cpan/ as well as ext/

This required inverting the logic of test for "are we flattened or not".
Currently we can only build XS extensions on Unix from cpan/

12 years agoCorrectly detect NDBM_File availability
H.Merijn Brand [Tue, 18 Aug 2009 17:37:47 +0000 (19:37 +0200)]
Correctly detect NDBM_File availability

12 years agoInstall arch-dependent files into $archlib.
H.Merijn Brand [Fri, 14 Aug 2009 06:03:32 +0000 (08:03 +0200)]
Install arch-dependent files into $archlib.
backport 8a240526d678f296ecb86c2b6b7a7bf0cfbaa7e9

12 years agoRemove duplicate entry (from config_heavy.pl)
H.Merijn Brand [Wed, 12 Aug 2009 07:32:23 +0000 (09:32 +0200)]
Remove duplicate entry (from config_heavy.pl)

12 years agobackport a71f1801ba6371e2eebdcb98a2263de5d6b9a8fd
H.Merijn Brand [Wed, 12 Aug 2009 07:31:34 +0000 (09:31 +0200)]
backport a71f1801ba6371e2eebdcb98a2263de5d6b9a8fd

12 years agobackport of 9cf72a4efbbd7d24d3d9d7f5c9d5be6e4ef4297a
H.Merijn Brand [Thu, 2 Jul 2009 11:34:05 +0000 (13:34 +0200)]
backport of 9cf72a4efbbd7d24d3d9d7f5c9d5be6e4ef4297a

12 years agoSubject: Re: dual-life: IO 1.25 and Scalar-List-Utils-1.21
H.Merijn Brand [Mon, 29 Jun 2009 22:50:46 +0000 (00:50 +0200)]
Subject: Re: dual-life: IO 1.25 and Scalar-List-Utils-1.21
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>

12 years agoSilence metalint
H.Merijn Brand [Thu, 18 Jun 2009 19:40:31 +0000 (21:40 +0200)]
Silence metalint

12 years agoSubject: [PATCH] Add gcc predefined macros to $Config{cppsymbols} on GNU/kFreeBSD.
H.Merijn Brand [Thu, 18 Jun 2009 14:35:44 +0000 (16:35 +0200)]
Subject: [PATCH] Add gcc predefined macros to $Config{cppsymbols} on GNU/kFreeBSD.
From: Niko Tyni <ntyni@debian.org>
Date: Mon, 15 Jun 2009 12:00:41 +0300
Message-Id: <1245056441-6481-1-git-send-email-ntyni@debian.org>

12 years agoremember if binaries are ELF format
H.Merijn Brand [Thu, 4 Jun 2009 07:35:18 +0000 (09:35 +0200)]
remember if binaries are ELF format

12 years agoUpdate README (perforce => git)
H.Merijn Brand [Tue, 26 May 2009 16:45:57 +0000 (18:45 +0200)]
Update README (perforce => git)

12 years ago-Duserelocatableinc and -Duseshrplib don't work together
H.Merijn Brand [Wed, 6 May 2009 12:00:39 +0000 (14:00 +0200)]
-Duserelocatableinc and -Duseshrplib don't work together