summaryrefslogtreecommitdiff
path: root/hints
Commit message (Collapse)AuthorAgeFilesLines
* Android hints: Always append /system/lib and /vendor/lib in libpthBrian Fraser2014-08-221-0/+1
| | | | | | | | | These are the canonical directories for libraries on Android. This is only mildly important for native builds, since whatever toolchain was installed will likely provide their own /lib, but is quite important for cross builds. (cherry picked from commit 42b5146c146a72ef7462ac4ca82888f5ab3cbcfe)
* Remove compiler warning spam on dos-djgppChris 'BinGOs' Williams2014-08-211-3/+3
| | | | (cherry picked from commit 1d8d63dcc3ec46dd8a437dab18cca3fb42880079)
* Fix hint typo: No leading underscore in PERL_USE_SAFE_PUTENVAndy Dougherty2014-08-141-1/+1
| | | | | | | | | hints/solaris_2.sh generates a config.over script intended to add PERL_USE_SAFE_PUTENV to ccflags, if it is not already present. An extra leading underscore in the check meant that the test always failed and PERL_USE_SAFE_PUTENV always got added. (cherry picked from commit dd25c352db6f2a0adb8324232f6ccfd456d603e9)
* Sun c99 needs -Xa for many system interfaces.Jarkko Hietaniemi2014-08-141-2/+8
| | | | (cherry picked from commit 0b6032931d47da84e83a642fede2c6ebb0bcedeb)
* Sun c99 doesn't like bare -O.Jarkko Hietaniemi2014-08-141-0/+7
| | | | (cherry picked from commit a5a0b9b91da0e2ae65a3eaaed49632081d8eb2de)
* Sun c99 ccversion.Jarkko Hietaniemi2014-08-141-1/+1
| | | | (cherry picked from commit 8f6660ae44158df9b0d94fc5d1c7deb9c85ea1ad)
* Newer Sun C compilers are not 'SUNwspro', but 'solstudio'.Jarkko Hietaniemi2014-08-141-4/+8
| | | | (cherry picked from commit 78ab3d1a1e24336ae295c6766f0aa90bff964c53)
* Correct architectures and versions for hintsAndrew Fresh2014-07-151-7/+7
| | | | | | | | | Over time, OpenBSD has kept this up-to-date locally without enough patches going upstream. This should bring perl in sync with reality. (cherry picked from commit 2b5735951688747a8a87926ebed2ae97609b0142)
* bump version to v5.20.1Ricardo Signes2014-05-271-2/+2
|
* bump version to 5.20.0, install 5.20 perldeltaRicardo Signes2014-05-121-2/+2
|
* Bump version for 5.19.12 (not that it's expected to exist...)Steve Hay2014-04-201-2/+2
|
* Bump to Perl version 5.19.11Aaron Crane2014-03-201-2/+2
|
* The linux hints file should only look for -lgdbm_compat if -lgdbm is wanted.Nicholas Clark2014-03-201-1/+5
| | | | | | | | | Previously they would unconditionally add gdbm_compat to the list of wanted libraries. This is unhelpful if the user has passed Configure arguments to constrain the library search to avoid libgdbm.so, because Configure would still end up finding libgdbm_compat.so, which at best is not useful without libgdbm.so, and at worse could have the same problems that caused the user to avoid libgdbm.so (eg not compatible with the current compiler flags)
* On OS X, allow Configure to override $ld with -Dld=...Nicholas Clark2014-03-161-1/+5
| | | | | | | | | | Since it was added, hints/darwin.sh had been ignoring any user configuration options and unconditionally setting ld='cc'. Instead, it should take a user supplied value if one is given, otherwise defaulting to 'cc'. The strange thing is that this was never noticed when commits cb3fc4263509f28c and 69625aa92a91bf4c (May 2003) which added code which was intended offer alternative behaviour if ld contained MACOSX_DEVELOPMENT_TARGET.
* bump to version 5.19.10 and fix the version number reference in op.cTony Cook2014-02-201-2/+2
|
* QNX hints: Add LC_ALL=C to targetenvBrian Fraser2014-01-301-0/+1
|
* Configure, Solaris hints: Allow cross-compiling to Solaris.Brian Fraser2014-01-301-25/+34
| | | | | | This only required some minor changes to the Solaris hints, and adding a few lines for Solaris in the part of Configure that handles setting osname and osvers when cross-compiling.
* Configure, qnx hints: Improve the cross-compilation support for QNXBrian Fraser2014-01-301-8/+46
| | | | | Now, like with Android and plain Linux, cross-compiling to QNX (which includes newer Blackberry devices) will load hints/qnx.sh.
* Android hints: run-adb-shell was mishandling '\0'Brian Fraser2014-01-261-12/+9
| | | | | | That's literally '\0', all four characters, not a null. Previously, due to mistakenly passing things through the shell twice, it turned '\0' into an actual null, and that screwed up the test for fflush(NULL)
* Android hints: Set d_csh to undef in cross buildsBrian Fraser2014-01-261-0/+10
|
* Android hints: load the linux hints to get those defaultsBrian Fraser2014-01-261-0/+3
|
* Android hints: Clean up some files if cross-compiling with adbBrian Fraser2014-01-261-0/+2
|
* Android hints: In native builds, add -L/system/lib to ldflagsBrian Fraser2014-01-261-0/+3
| | | | This is just a safety net against the linker being weird.
* Configure, Android hints: Changes to allow native buildsBrian Fraser2014-01-261-0/+10
|
* Android hints: When Configure finishes, turn $^O into 'android'Brian Fraser2014-01-261-0/+13
| | | | | During Configure, we want it to be linux-android, so that it'll also go through all of the linux checks.
* Android hints: Add m to libswantedBrian Fraser2014-01-261-0/+3
|
* Android hints: Set osvers to getprop ro.build.version.releaseBrian Fraser2014-01-261-0/+2
|
* Android hints: Only use adb if $targetrun is set to adbBrian Fraser2014-01-261-1/+5
| | | | | | This loses us some DWIMnery, but allows cross-compiling to android using ssh, which is much easier to set up than getting the SDK.
* Android hints: Only set userelocatableinc if it doesn't have a valueBrian Fraser2014-01-261-1/+3
| | | | | Without this, Configure would've bailed out if trying to build a -Duseshrplib perl.
* hints/linux-androideabi.sh: If the host OS is darwin, set firstmakefile to ↵Brian Fraser2014-01-261-0/+3
| | | | GNUmakefile
* hints/linux-androideabi.sh: use $chmod instead of plain chmodBrian Fraser2014-01-261-4/+4
|
* hints/linux-androideabi.sh: use $cat instead of plain catBrian Fraser2014-01-261-15/+15
|
* hints/linux-androideabi.sh: adb takes care of creating the target dir on the ↵Brian Fraser2014-01-261-2/+0
| | | | target
* hints/linux-androideabi.sh: sed might not understand "\r", use $tr insteadBrian Fraser2014-01-261-3/+3
|
* hints/linux-androideabi.sh: Rather than relaying on adb, save the exit ↵Brian Fraser2014-01-261-7/+20
| | | | status in a file and then copy it over
* hints/linux-androideabi.sh: getservent_r() is a partial stub, mark it as ↵Brian Fraser2014-01-261-0/+3
| | | | undefined to avoid issues with threads
* android hints: Always define d_libname_uniqueBrian Fraser2014-01-261-0/+14
|
* Android hints: Detect stub functions and mark them as undefined.Brian Fraser2014-01-261-0/+92
| | | | | | | | | | | | | | | | | | | Bionic implements several functions as stumps that simply warn and return null, which leads to situations like this: FIX ME! implement getprotobyname() bionic/libc/bionic/stubs.c:378 This commit introduces some probes for functions (getnetbyname, getnetbyaddr, getmntent, getprotobyname, getprotobynumber, endpwent, ttyname) that we use and are actually stubs in at least some versions of Android. If we find a stub, we pretend that the function is undefined, so the above example becomes this: Unsupported socket function "getprotobyname" called at -e line 1. Note that this commit does not fix the modules that assume that these functions are always available, so 'make test' still fails.
* Correctly quote result from adb, otherwise multiline responses breal (eg ↵Jess Robinson2014-01-261-1/+1
| | | | signal_cmd)
* Android hints, run-ssh: Make sure that the stdout of commands run from ↵Jess Robinson2014-01-261-4/+5
| | | | Configure and Makefile on remote hosts is transfered back correctly
* No locales in Android, just set the lot to undefJess Robinson2014-01-261-0/+7
|
* Android hints, run-adb-shell: Handle the -env switchJess Robinson2014-01-261-7/+15
| | | | Currently, this is used during 'make test' to specify LD_LIBRARY_PATH
* Android hints: set targetsh to /system/bin/shJess Robinson2014-01-261-3/+2
| | | | | | | | | Android, for reasons best known to itself, doesn't have a "/bin/sh" it has a "/system/bin/sh". We need to run "/bin/sh" as $sh inside ./Configure on the host, but store a different path for use on the actual Android system (eg by backticks, system etc, in SH_PATH). The new variable is "targetsh" and defaults to "sh" unless changed by the hints file/Configure params.
* Create a Perl with relocatable inc when building for Android.Jess Robinson2014-01-261-0/+2
|
* Hints file for android cross-compiling.Jess Robinson2014-01-261-0/+100
| | | | The hints file names for cross-compiling (currently) need to match the prefix of the cross-compiler used.
* Linux hints: Improve the code that looks for libc.soBrian Fraser2014-01-261-11/+26
|
* Linux hints: Improve the portability of the -lndbm checkBrian Fraser2014-01-261-10/+21
|
* Linux hints: add some missing $ccflagsBrian Fraser2014-01-261-2/+2
|
* Linux hints: Handle `uname -m` in cross-compilation buildsBrian Fraser2014-01-261-3/+6
|
* Linux hints: try using user-provided binaries before going for the defaultsBrian Fraser2014-01-261-3/+3
| | | | | This means that if the user called Configure with -Dnm=/foo/bar/nm, the hints will try using that before going for plain 'nm'