summaryrefslogtreecommitdiff
path: root/configure.com
Commit message (Collapse)AuthorAgeFilesLines
* Improve setlocale() detection in Configure-ish filesKarl Williamson2019-03-041-0/+2
| | | | This also now notes some behavior of setlocale
* Add towupper() and towlower() to Configure-ish filesKarl Williamson2019-03-041-0/+2
|
* Add wctype.h to Configure-ish filesKarl Williamson2019-03-041-0/+1
|
* Rely on C89 "const"Aaron Crane2018-11-271-1/+0
| | | | | | | | | | The metaconfig probe for <db.h> previously relied on the d_const symbol set by the "const" probe, so generating Configure here has been done against metaconfig commit 1204d4627a06b11f16620188f3fa83159ed35fd9 which changes that. Thanks to khw++ for pointing out this oversight in my attempt last year to make the codebase rely on C89.
* Add HAS_STRTOD_L to metaconfig.h and rebuild ConfigureAaron Crane2018-04-191-0/+1
|
* d_strchr is C89 and has been removed from ConfigureH.Merijn Brand2018-03-271-1/+0
|
* VMS does have wchar.h.Craig A. Berry2018-02-131-1/+1
| | | | | And we now need it for prototypes of functions that locale.c is using.
* Additional fix-ups for configure.com.Craig A. Berry2018-01-181-0/+5
| | | | | Some things VMS doesn't have and one that it does. All were missing from the config.sh we generate.
* VMS does have sendmsg and recvmsg.Craig A. Berry2018-01-171-2/+2
|
* VMS does have readv and writev.Craig A. Berry2018-01-171-2/+2
|
* VMS does have mbrlen and mbrtowc.Craig A. Berry2018-01-171-2/+2
|
* VMS does have fchmod and fchown.Craig A. Berry2018-01-151-2/+7
| | | | | | | | | The test for fchmod in t/io/fs.t does, however, reveal a wrinkle that is also true of chmod on VMS: a mode argument of zero does not mean turn off all permisions but rather set permissions to the user's default. This is probably an ancient behavior from pre-standard days. For now, just skip the affected test and document what's different.
* VMS does have gai_strerror.Craig A. Berry2018-01-111-1/+1
| | | | | And we need to say we have it for the latest version of Socket to build successfully.
* configure probe for mkostemp()Zefram2017-12-221-0/+1
| | | | | This is another file descriptor creating function that's needed as an O_CLOEXEC-handling variant of an existing function.
* configure probes for accept4(), dup3(), pipe2()Zefram2017-12-221-0/+3
| | | | | These will shortly be used to implement I/O operations that create file descriptors with the FD_CLOEXEC flag set atomically.
* Specify afs entries in configure.com.Craig A. Berry2017-12-011-0/+2
| | | | | This prevents op/stat.t from failing due to an undefined variable warning when $Config{'afsroot'} is checked.
* Restore ability to build on platforms without snprintf()Aaron Crane2017-11-181-0/+4
| | | | | | | | | | | | | C89 does not in fact define snprintf() or vsnprintf(), and we must therefore probe for the existence of those functions before trying to use them. khw++ for pointing out my earlier error. This reverts part or all of each of the following commits: 13d66b05c6163c3514774d3d11da5f3950e97e98 Rely on C89 vsnprintf() e791399041815a1a45cea3c7f277c7045b96e51b Rely on C89 snprintf() adf7d503e55721c500f0bf66560b8f5df7966fe7 pod/perlhacktips.pod: remove some outdated portability notes
* Remove unused probes in configure.com.Craig A. Berry2017-10-251-53/+0
| | | | | | Recent commits for the C89 work had us stop using the result of these probes, so there is no point in continuing to build and run them.
* Probe for strnlen on VMSDagfinn Ilmari Mannsåker2017-10-211-1/+19
|
* Rely on C89 <string.h>Aaron Crane2017-10-211-1/+0
| | | | This requires a corresponding change in the metaconfig units.
* Don't attempt to use non-standard <memory.h>Aaron Crane2017-10-211-1/+0
| | | | It's only needed on systems without C89 <string.h>, which we rely on anyway.
* Rely on C89 <assert.h>Aaron Crane2017-10-211-1/+0
|
* Rely on C89 <math.h>Aaron Crane2017-10-211-1/+0
| | | | This requires a corresponding change in the metaconfig units.
* Rely on C89 strerror()Aaron Crane2017-10-211-2/+0
| | | | This requires a corresponding change to the metaconfig units.
* 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
|