summaryrefslogtreecommitdiff
path: root/configure.com
Commit message (Collapse)AuthorAgeFilesLines
* Don't try to use <values.h>Aaron Crane2017-10-211-1/+0
| | | | | All the information it contains can be gleaned more readily from C89 <limits.h> and <float.h>.
* Rely on C89 <float.h>Aaron Crane2017-10-211-1/+0
| | | | This requires newer metaconfig units that also rely on C89 <float.h>.
* Rely on C89 <limits.h>Aaron Crane2017-10-211-1/+0
| | | | This requires newer metaconfig units that also rely on C89 <limits.h>.
* Rely on C89 sprintf() return value semanticsAaron Crane2017-10-211-1/+0
|
* Rely on C89 <stddef.h>Aaron Crane2017-10-211-1/+0
|
* Rely on C89 <stdarg.h>Aaron Crane2017-10-211-3/+0
|
* Rely on C89 variadic prototypesAaron Crane2017-10-211-1/+0
| | | | | | | The Configure changes here were generated using a version of metaconfig that copies U/modified/vaproto.U from dist/U/vaproto.U, and changes it to refrain from promising to define a _V symbol (which would otherwise cause the relevant probe to included in Configure).
* Rely on C89 vprintf()Aaron Crane2017-10-211-2/+0
|
* Rely on C89 snprintf()Aaron Crane2017-10-211-4/+0
|
* Assume C89 "volatile" keywordAaron Crane2017-10-211-1/+0
| | | | | | | The Configure changes here were generated using a version of metaconfig that makes U/perl/perlxv.U assume that the keyword exists, and prevents U/modified/d_volatile.U from promising to define a "volatile" keyword; otherwise, those units would bring in the relevant Configure probe anyway.
* Assume we have C89 memchr()Aaron Crane2017-10-211-2/+0
|
* Assume we have sane C89 memcmp()Aaron Crane2017-10-211-4/+0
| | | | | | | "Sane" means that it works correctly on bytes with their high bit set, as C89 also requires. We therefore no longer need to probe for and/or use BSD bcmp().
* Assume we have C89 memcpy() and memmove()Aaron Crane2017-10-211-5/+0
| | | | We can therefore also avoid probing for and/or using BSD bcopy().
* Don't look for a "safe" memcpy()Aaron Crane2017-10-211-1/+0
| | | | | | | | | | | | | C89 says that, if you want to copy overlapping memory blocks, you must use memmove(), and that attempt to copy overlapping memory blocks using memcpy() yields undefined behaviour. So we should never even attempt to probe for a system memcpy() implementation that just happens to handle overlapping memory blocks. In particular, the compiler might compile the probe program in such a way that Configure thinks overlapping memcpy() works even when it doesn't. This has the additional advantage of removing a Configure probe that needs to execute a target-platform program on the build host.
* Assume we have C89 memset()Aaron Crane2017-10-211-3/+0
| | | | This means we also never need to consider using BSD bzero().
* Remove USE_STRUCT_COPY in favour of C89 struct assignmentAaron Crane2017-10-211-1/+0
| | | | | At least for now, we retain the StructCopy() macro, but its definition always just uses struct assignment.
* Add new Configure probesH.Merijn Brand2017-10-211-0/+10
| | | | | | | This is a merge off several new probes in metaconfig done in the new shared developing environment by several authors Thanks to all that contributed!
* Actually test for memrchr in VMSH.Merijn Brand2017-10-131-1/+19
|
* Finish adding memrchr Configure probeDagfinn Ilmari Mannsåker2017-10-131-0/+1
| | | | | Commit 1e436e33 accidentally added the probe to Configure, this finishes the job by regenerating Glossary, config_h.SH and friends.
* add probes for openat, unlinkat, renameat, linkat and fchmodatTony Cook2017-09-111-0/+5
|
* configure.com: default_inc_excludes_dot catch-upCraig A. Berry2017-03-141-2/+23
| | | | | | | This makes it configurable rather than hard-wired, and switches the default to "define" following 458ea8f78a2917, which did so on Windows, and 4634f4819b15eb18, which did so for platforms using Configure.
* Remove utils/c2ph and utils/pstructAbigail2017-01-161-2/+0
| | | | | | | | | | These programs are the same, just behave differently depending on under which name you call it. This is a very old script, originally dating from the perl3 era. It has been deprecated in favour of h2xs for a long time. In Perl 5.26, these utilities will no longer be available.
* Remove directory depth check from configure.com.Craig A. Berry2016-12-091-24/+0
| | | | | The limit of 8 levels deep was lifted well over a decade ago and thus does not apply to any currently-supported VMS systems.
* Fix i64size and u64size on VMS.Craig A. Berry2016-12-091-5/+2
| | | | | These are always 8 bytes and, since VAX is no longer supported, always defined, so don't make them conditional on -Duse64bitint.
* Escape extended characters in configure.com's manifest check.Craig A. Berry2016-12-081-0/+24
| | | | | | | | | | | | Math::BigInt now has a file with '#' in the name. This broke the build on VMS because the manifest checker couldn't find that file. While the current file system can have files with a hash character or other top-row-of-the-keyboard characters, most of them need escaping with a caret when used in a filename in native syntax. So add a more-or-less general purpose escaping routine and run it on each filename in the manifest before converting from Unix to VMS syntax.
* No default breaks win32 and VMSH.Merijn Brand2016-11-121-1/+1
|
* Remove "." from default @INC when default_inc_excludes_dot is setH.Merijn Brand2016-11-111-0/+1
| | | | | | | | | | | | | | | | Perl now provides a way to build perl without . in @INC by default. If you want this feature, you can build with -Ddefault_inc_excludes_dot Because the testing / make process for perl modules do not function well with . missing from @INC, Perl now supports the environment variable PERL_USE_UNSAFE_INC=1 which makes Perl behave as it previously did, returning . to @INC in all child processes. WARNING: PERL_USE_UNSAFE_INC has been provided during the perl 5.25 development cycle and is not guaranteed to function in perl 5.26. Update unit tests and default value files to work with the new %Config variable "default_inc_excludes_dot"
* configure.com: missing ELSE in usethreads logicCraig A. Berry2016-11-031-0/+2
| | | | | | This would only bite if an unknown compiler had been selected, but there is a port of clang in progress, so try to be ready for anything.
* Compiler choice clean-up in configure.com.Craig A. Berry2016-11-031-28/+5
| | | | | | | VAXC has not been a possibility for a good long while, and the versions of the DEC/Compaq/HP/VSI C compiler that report themselves as "DEC" in a listing file are 15 years or more out-of-date and can be safely desupported.
* Treat VSI C the same as DEC/Compaq/HP C.Craig A. Berry2016-11-011-3/+6
|
* Configure: add defs summarizing doublekind/longdblkindJarkko Hietaniemi2016-10-281-0/+42
| | | | | | | | | | For windows/netware It seems that many of the recent fp definitions have not been yet copied over there [1] [2], so went mostly by dead reckoning [3]. [1] Note that many of them are not absolutely necessary for building. [2] The proper updating involves doing stuff in win32, which I do not have. [3] As far as I can tell, Windows CE does not really not have long double.
* Make the "where install" directories Unix-format on VMS.Craig A. Berry2016-09-051-32/+31
| | | | | | | | | These paths will get converted to Unix format for loading into @INC anyway, but since 483efd0abe3 they really need to start out that way. Otherwise, when running under a Unix shell, the path delimiter will be ':' and the absolute VMS specs will get split in half in S_incpush_use_sep(), which kicks in before the conversion to Unix format.
* Add probe for gai_strerrorH.Merijn Brand2016-08-111-0/+1
|
* Correct 3 bad email addresses for 'perlbug'.James E Keenan2016-08-011-1/+1
| | | | For: RT #128808
* forgot the cfgvarH.Merijn Brand2016-07-281-0/+1
|
* Add Configure probe for strerror_l()Aaron Crane2016-06-021-0/+1
| | | | | | | | | As requested by khw++ Until the relevant symbol is used, HAS_STRERROR_L must be mentioned explicitly in metaconfig.h. This corresponds to metaconfig d0838744f03cfe7642950ea91dd48f575d0bfd15.
* Add Configure probe for querylocale()Aaron Crane2016-06-021-0/+1
| | | | | | | | | As requested by khw++ Until the relevant symbol is used, HAS_QUERYLOCALE must be mentioned explicitly in metaconfig.h. This corresponds to metaconfig 541f0dd272df4f9326996727898393ac8f6626f7.
* Revert "configure.com update for newlocale, freelocale, and uselocale."Craig A. Berry2016-03-261-3/+0
| | | | | | | This reverts commit f0e3aef8abfe33645e0b9682e5f5ec7090de749f. The changes had actually already been done by a regen at 0f2b45c74307980ff2, so these were duplicates.
* Add probe for memmemH.Merijn Brand2016-03-251-0/+1
|
* configure.com update for newlocale, freelocale, and uselocale.Craig A. Berry2016-03-191-0/+3
| | | | Follow-up to ecb44b8e4ad52.
* regenH.Merijn Brand2016-03-191-0/+3
|
* VMS does have the siginfo_si_* fields.Craig A. Berry2016-01-301-7/+7
| | | | | | | At least they are in the siginfo struct, though oddly, SA_SIGINFO doesn't exist so they won't do much good. However, adding them now means that if SA_SIGINFO shows up in the future they will be tested immediately and not overlooked.
* Update utils commands in configure.com.Craig A. Berry2016-01-301-1/+2
| | | | We don't have psed any more but we do have json_pp and perlthanks.
* Probe for and expose more fields for SA_SIGINFODagfinn Ilmari Mannsåker2016-01-261-0/+14
| | | | | | | | These are all specified by POSIX/SUSv3, but not all platforms have them, as mentioned in POSIX.pm. We can only test the pid, uid and code fields, since they are the only ones that are defined for a user-sent signal.
* Add Configure support for fdclose() for [perl #126847].Andy Dougherty2016-01-041-0/+1
| | | | | This patch also adjusts the generated files suggested by Porting/checkcfgvar.pl.
* Remove redundant code in configure.comCraig A. Berry2015-10-301-5/+0
| | | | | These lines were made redundant by 054a3baf7ca16fe02 so are just taking up space.
* Revert "Remove unused filesystem stat symbols."Jarkko Hietaniemi2015-10-301-0/+32
| | | | | | | | | | | This reverts commit 821805a244cacd9869331999cd53407f3323206a. What's out, is out. perl #107904 Filesys-Df perl #108189 Filesys-DfPortable perl #108191 Filesys-Statvfs perl #126368 Filesys-DfPortable
* Remove unused filesystem stat symbols.Jarkko Hietaniemi2015-10-021-32/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | d_fs_data_s HAS_STRUCT_FS_DATA d_fstatfs HAS_FSTATFS d_fstatvfs HAS_FSTATVFS d_getfsstat HAS_GETFSSTAT d_getmnt HAS_GETMNT d_getmntent HAS_GETMNTENT d_hasmntopt HAS_HASMNTOPT d_statfs_f_flags HAS_STRUCT_STATFS_F_FLAGS d_statfs_s HAS_STRUCT_STATFS d_ustat HAS_USTAT i_mntent I_MNTENT i_sysmount I_SYS_MOUNT i_sysstatfs I_SYS_STATFS i_sysstatvfs I_SYS_STATVFS i_sysvfs I_SYS_VFS i_ustat I_USTAT Unused by the Perl core. As far as I can remember I added these scans long ago, for some purpose (df(1) kind of APIs?) but whatever it was, it obviously hasn't exactly caught fire in the last 15 years. Some rare uses of these APIs (not these defines, but e.g. statfs) in CPAN (like the Quota module), but those seem to do their own configuration.
* killpg for VMS.Craig A. Berry2015-09-261-1/+1
| | | | | | | | | | | | Implement our own killpg by scanning for processes in the specified process group, which may not mean exactly the same thing as a Unix process group, but at least we can now send a signal to a parent (or master) process and all of its sub-processes. In Perl-land, this means we can now send a negative pid like so: kill SIGKILL, -$pid; to signal all processes in the same group as $pid.
* Skip Amiga extensions on VMS.Craig A. Berry2015-09-071-0/+1
| | | | We can't build them so don't try.