summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2019-02-19 23:34:24 +0100
committerPeter Kokot <peterkokot@gmail.com>2019-02-20 20:02:59 +0100
commit44b874ac759bbcab4c54e07a0f582e351928b1f1 (patch)
tree10880d19fa7ef7c2d06e7658bf88e3990536d5a5 /acinclude.m4
parentd936b2c4fd808fe5de53301a22ab9b071b50a2d7 (diff)
downloadphp-git-44b874ac759bbcab4c54e07a0f582e351928b1f1.tar.gz
Remove unused PHP_SOLARIS_PIC_WEIRDNESS m4 macro
This has been once used for Solaris systems and has been removed via 827ad656cb2585d2b9a9cc2d3bb021e8edf34365
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m430
1 files changed, 0 insertions, 30 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index a8a3a17491..4eb482308d 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