summaryrefslogtreecommitdiff
path: root/configure.com
Commit message (Collapse)AuthorAgeFilesLines
* targetsh in configure.com againCraig A. Berry2014-01-261-1/+1
| | | | | | In 9056626be4b0df I had set it to empty string, but thanks to a heads up from Brian Fraser I've realized it should be the same thing as sh as it is now used to set up SH_PATH.
* Fix targetsh in configure.com.Craig A. Berry2014-01-251-1/+1
| | | | | | | | | | Specifically, there is no 'sh' variable, so if we try to reference it we get: %DCL-W-UNDSYM, undefined symbol - check validity and spelling \SH\ So enter an empty string for targetsh.
* Added targetsh to all the canned config filesBrian Fraser2014-01-231-0/+1
|
* Fix $Config{src} on VMS.Craig A. Berry2013-12-281-1/+1
| | | | | | | It may not matter much as it's been broken since dab31494e8bab and doesn't seem to have caused any trouble, but to be pedantically correct the location of the source is not the same as the install location.
* Make perl_setup.com infer perl_root from its own location.Craig A. Berry2013-12-281-19/+16
| | | | | | | | | | | | | | | | | | | | | | | The perl_setup.com command procedure initializes the root logical name, the shareable image logical name pointing to the main Perl dynamic library, and either command symbols or command table entries that reference those logical names. It's always by default hard-coded the prefix chosen at configuration time as the basis for where Perl should be located. The original rationale for that was that it gets run right before installperl and sets things up correctly for installation. But that optimizes for a single use case that is easily handled by specifying the correct install location as a parameter and pessimizes for every other use case, notably relocating an installed Perl directory tree. So make it infer the correct root from its own location and specify the install location only at installation time. Among other benefits, this allows the install location to be chosen at installation time by overriding the default prefix like so: MMK/MACRO=(PREFIX="DSA0:[homedir.MyPerl2.]") install
* Purge sfio support from configure.com, Configure and related files.Nicholas Clark2013-12-271-34/+0
| | | | | | | Most of these are actually generated, so the maintenance complexity reduction is not as impressive as the diffstat suggests. (Incorporating a fix from Merijn)
* i_arpainet and i_sysun for configure.com.Craig A. Berry2013-11-051-2/+25
| | | | | VMS does have arpa/inet.h and is supposed to be getting sys/un.h in the near future.
* getnameinfo, getaddrinfo, and inet_xxx fix-ups for configure.com.Craig A. Berry2013-10-271-5/+15
| | | | | | This is mostly a very belated follow-up to d7fba2bf7c68c, but in the case of inet_aton, is a stupendously belated follow-up to 570bb66edbdc8.
* Teach configure.com about Perl_drand48 and friends.Craig A. Berry2013-09-191-52/+9
| | | | Follow-up to 890c2948b6847.
* Regenerate Configure and chainsaw voidflagsH.Merijn Brand2013-09-161-4/+0
|
* Remove references to GNU DLD from Configure and config.sh scripts.Nicholas Clark2013-09-051-2/+1
| | | | | Specifically eliminated i_dld, a variable indicating that <dld.h> should be included, and remove dld from the list of wanted libraries.
* Another reason for home-grown kill() on VMS.Craig A. Berry2013-09-021-3/+5
| | | | | | | | | | | | | | | | | | | | | | | For some time now Perl has provided its own kill() function on VMS due to various problems with the system-supplied one, notably that when called from within a signal handler, the second signal never got delivered. This has at long last been corrected in the OS as of the VMS84I_SYS V3.0 ECO. But this exposes another problem with the CRTL's kill(), which is that when called with a signal value of 0 it actually kills the running program instead of restricting itself to error checking as the standard requires. This turns out to be documented behavior and the documented workaround is to define the _POSIX_EXIT macro. However, universally changing the behavior of the exit() function in order to prevent kill(getpid(),0); from bringing down the program that calls it doesn't seem like the right trade-off. So just add one more condition to the list of conditions under which we'll use our own kill().
* Fix include-related missing variables in configure.com.Craig A. Berry2013-08-161-0/+8
|
* Fix remaining missing d_xxx variables in configure.com.Craig A. Berry2013-08-151-0/+12
|
* Fix miscellaneous missing d_xxx variables in configure.com.Craig A. Berry2013-08-131-4/+17
| | | | | | There are still 200+ variables in Porting/Glossary that are not written by configure.com, but these jumped out as the initial set that might be of actual use.
* Forgot d_semctl in a429ddf7a2c14d.Craig A. Berry2013-08-111-0/+2
|
* Probe for shm* routines in configure.com.Craig A. Berry2013-08-111-3/+46
| | | | | | | | | | They became available in ACRTL ECO V0100 on VMS v8.4, but aren't quite ready for prime time yet. Specifically, shmget fails unless IPC_CREAT is set in the third argument, but Perl has tests that explicitly check that this is not necessary. So construct the probe such that we won't enable these routines until the CRTL bug has been fixed.
* Add two "ld" variables missing from configure.com.Craig A. Berry2013-08-101-0/+2
| | | | This should close [perl #119197].
* Remove 5.005 thread support from configure.com.Craig A. Berry2013-07-181-40/+13
| | | | Follow-up to 5ff367e3adebb49.
* Add non-XS extensions to known_extensions in configure.com.Craig A. Berry2013-07-041-10/+11
| | | | | | | | | | | | | | | | Follow-up to f7b3892b9e45c6994. For now we're not re-sorting known_extensions after combining the XS and non-XS extensions into one list. It would be pretty arduous to do that in DCL and probably doesn't matter. We special-case VMS::Filespec because (at least on VMS) it's an XS extension so clearly doesn't belong in nonxs_ext. Technically it's static because it's XS bits live in vms/vms.c, but it's not clear that it belongs in static_ext as those would normally be things that require an extra link step (if such static linking even works, which we don't know as it hasn't been tested in a long time.)
* Eliminate macro for OpenVMS debugger [perl #118447].Craig A. Berry2013-06-131-1/+7
| | | | | | | | | | | We need to do whatever the configuration says we are doing via $Config{dbgprefix} and/or $Config{usevmsdebug} for extension building to work, so it makes sense for the top-level build to also base what it is doing on the configuration choice rather than on the special invocation of MMK with /MACRO=__DEBUG__=1. So this patch makes the top-level build do what we've configured to do and eliminates the instruction to use the macro.
* Remove cpan/Pod-LaTeX and pod2latex utilityChris 'BinGOs' Williams2013-05-181-1/+0
|
* Remove cpan/CPANPLUS and associated utilitiesChris 'BinGOs' Williams2013-05-181-4/+0
|
* Add bootstrap_charset/BOOTSTRAP_CHARSET for non-ASCII architecturesH.Merijn Brand2013-03-091-0/+1
|
* Enable sem* functions in configure.com for 8.4+.Craig A. Berry2013-03-021-3/+14
| | | | They became available in VMS v8.4 in 2010.
* Implement useversionedarchname in configure.com.Craig A. Berry2013-02-161-1/+23
| | | | | | | | If this ever becomes the default, we should really remove the versioned subdirectory from archlib that we've always had. As of now, using this feature on VMS gives us redundancies such as: archlib='perl_root:[lib.VMS_IA64-5_17_9.5_17_9]'
* Fix erroneous USE_LONG_DOUBLE in configure.com.Craig A. Berry2012-12-221-0/+3
| | | | | | | | | | | | | Once upon a time there was a "use64bit" option [1] that only later became separated into use64bitint, uselongdouble, and use64bitall, but we didn't properly separate out everything. So if you chose 64-bit integers but not long doubles, you would get the macro USE_LONG_DOUBLE defined but without other supporting defines and with incompatible branches followed in various parts of the #ifdef jungle. So separate them out. Thanks to Thomas Pfau for trying what's apparently a rare configuration. [1] See fafa4fee6354847ae7fda.
* Fix d_nv_preserves_uv on VMS with 64-bit int but no long double.Craig A. Berry2012-12-221-1/+1
| | | | | | | There was a typo in a5bd55ee8902ea3fcb that left a spurious double quote in config.h and caused compile failures when compiling with -Duse64bitint but not also selecting -Duselongdouble. Problem reported by Thomas Pfau.
* Add Configure probe for ip_mreq_sourceH.Merijn Brand2012-08-261-0/+2
| | | | Needed to upgrade Socket from CPAN
* Add IP probe for ip_mreqH.Merijn Brand2012-07-111-0/+1
| | | | Backport 2f1eb816b5cba6977b1a8159
* Correct the dlsrc entry in configure.com.Craig A. Berry2012-06-061-1/+1
| | | | | | It's not the .c, it's the .xs from which we generate the .c. Spotted by Nicholas.
* Make configure.com ready for C++.Craig A. Berry2012-05-241-96/+74
| | | | | | | | | | Building on Peter Prymmer's work from some years ago, this gets the configuration process on VMS up to speed on the native C++ compiler. Quite a bit of it involves tweaking the configuration probes to work under C++, plus a variety of other nits. TODO: This should probably be made to work as -Dcc=cxx rather than -Dusecxx as it does now, but it's still pretty experimental.
* VMS does have sockaddr_in6 and ipv6_mreq.Craig A. Berry2012-02-171-4/+2
| | | | | | | | Or at least has had for 10 years or more. If someone shows up wanting to build on an older system, we can add real probes. Plus we can't write to config.sh before it's been opened, as 18126d98dd7 had us doing.
* Add new probes for IPv6 (LeoNerd)H.Merijn Brand2012-02-161-0/+3
|
* Revert "Add strptime probe"Ævar Arnfjörð Bjarmason2012-02-151-1/+0
| | | | This reverts commit 8852e312c3c616ab731ccbe7da54fb04eb8c3d30.
* Revert "VMS does have strptime."Ævar Arnfjörð Bjarmason2012-02-151-1/+1
| | | | This reverts commit 310f9c6e1d10c69ebae8d0356b22e58f451fdc76.
* VMS does have strptime.Craig A. Berry2012-02-121-1/+1
| | | | And has had since version 6.2 in 1995.
* Add strptime probeH.Merijn Brand2012-02-121-0/+1
|
* Add probe for isblank() (requested by khw)H.Merijn Brand2012-01-091-0/+1
|
* Remove explicit support for pre-7.0 VMS and pre-6.0 DEC C.Craig A. Berry2011-12-101-42/+5
| | | | | | | | | | | | | | | | | | | OpenVMS v7.0 was released in 1995. There have been no reports of recent releases of Perl building on versions that far back, yet we still have quite a bit of code that explicitly supports versions *prior* to v7.0. There is a similar story for DEC C v6.0. It was released in 1998, and has been superceded by numerous subsequent versions. Yet the VMS-specific code in the core is littered with workarounds and hacks that defend against deficiencies in very old compiler versions. This code is for all practical purposes no longer maintained or maintainable, so the best path forward seems to be to remove it. Anyone able and willing to commit to long-term support of it could argue for its restoration, assuming Perl 5.14.x is not adequate.
* Update IO-Compress to CPAN version 2.044Chris 'BinGOs' Williams2011-12-041-0/+1
| | | | | | | | | | | | | | | | | [DELTA] 2.044 2 December 2011 * Moved FAQ.pod under the lib directory so it can get installed * Added bin/zipdetails * IO::Compress::Zip - In one-shot mode enable Zip64 mode if the input file/buffer >= 0xFFFFFFFF bytes. * IO::Compress::FAQ - Updates
* Where available, use _NSGetExecutablePath() to make $^X absolute.Nicholas Clark2011-09-271-0/+1
| | | | | | | | | 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/+1
| | | | | | | | | | 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.
* i_stdbool for configure.com.Craig A. Berry2011-09-161-0/+6
| | | | | The comments in the header itself say that it needs DEC C 6.4 or later.
* Remove sockadapt layer from the VMS build.Craig A. Berry2011-09-031-133/+47
| | | | | | | | | | | | | | SOCKETSHR is/was an interface to abstract out TCP/IP calls for the various vendors' networking implementations, including the freeware CMU-IP stack. Neither SOCKETSHR nor CMU-IP has seen any maintenance for over a decade and are likely not even C89-compliant. The CRTL socket routines have been supported by the different vendors' stacks for many years so there is no reason to maintain an alternative, and there probably hasn't been a real working alternative for some years anyway. The code is still there in maint-5.14 and earlier branches if anyone has need of it.
* Forgot one in d677d0fca41325ba7203de00652fdeb43659754a.Craig A. Berry2011-08-141-0/+1
|
* Write some missing version strings in configure.comCraig A. Berry2011-08-141-0/+4
|
* Correct some format strings in configure.com.Craig A. Berry2011-08-141-8/+19
| | | | | Some bits were missing and others were incompletely renamed back in 6b356c8efb963846940ef92952cf77e5b86bd65e.
* Better st_ino_size probe in configure.com.Craig A. Berry2011-08-121-6/+28
| | | | | | | | | | Follow-up to adf2bd2837. This is being used for compile-time comparisons; sizeof may be compile-time, but is apparently not available before macro substitution, leading to problems like: ....^ %CC-I-IGNOREEXTRA, Spurious token(s) ignored on preprocessor directive line. at line number 2837 in file MDA0:[SMOKE.blead]pp_sys.c;1
* Weld switch in on position for useperlio in configure.com.Craig A. Berry2011-07-311-40/+3
| | | | Follow-up to dd35fa16610ef2fa0d46f5129e626b99cf350d77.