com php-src: Remove unused PHP_SOLARIS_PIC_WEIRDNESS m 4 macro: acinclude.m4

From: Date: Wed, 20 Feb 2019 19:02:59 +0000
Subject: com php-src: Remove unused PHP_SOLARIS_PIC_WEIRDNESS m 4 macro: acinclude.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-104791@lists.php.net to get a copy of this message
Commit: 44b874ac759bbcab4c54e07a0f582e351928b1f1 Author: Peter Kokot <peterkokot@gmail.com> Tue, 19 Feb 2019 23:34:24 +0100 Parents: d936b2c4fd808fe5de53301a22ab9b071b50a2d7 Branches: PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=44b874ac759bbcab4c54e07a0f582e351928b1f1 Log: Remove unused PHP_SOLARIS_PIC_WEIRDNESS m4 macro This has been once used for Solaris systems and has been removed via 827ad656cb2585d2b9a9cc2d3bb021e8edf34365 Changed paths: M acinclude.m4 Diff: diff --git a/acinclude.m4 b/acinclude.m4 index a8a3a17..4eb4823 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1506,36 +1506,6 @@ main() { ]) dnl -dnl PHP_SOLARIS_PIC_WEIRDNESS -dnl -dnl Solaris requires main code to be position independent in order -dnl to let shared objects find symbols. Weird. Ugly. -dnl -dnl Must be run after all --with-NN options that let the user -dnl choose dynamic extensions, and after the gcc test. -dnl -AC_DEFUN([PHP_SOLARIS_PIC_WEIRDNESS],[ - AC_MSG_CHECKING([whether -fPIC is required]) - if test -n "$EXT_SHARED"; then - os=uname -sr 2>/dev/null - case $os in - "SunOS 5.6"|"SunOS 5.7"[)] - case $CC in - gcc*|egcs*) - CFLAGS="$CFLAGS -fPIC";; - *[)] - CFLAGS="$CFLAGS -fpic";; - esac - AC_MSG_RESULT([yes]);; - *[)] - AC_MSG_RESULT([no]);; - esac - else - AC_MSG_RESULT([no]) - fi -]) - -dnl dnl PHP_SYS_LFS dnl dnl The problem is that the default compilation flags in Solaris 2.6 won't

« previous php.cvs (#104791) next »