Skip to content

Commit 44b874a

Browse files
committed
Remove unused PHP_SOLARIS_PIC_WEIRDNESS m4 macro
This has been once used for Solaris systems and has been removed via 827ad65
1 parent d936b2c commit 44b874a

File tree

1 file changed

+0
-30
lines changed

1 file changed

+0
-30
lines changed

acinclude.m4

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1505,36 +1505,6 @@ main() {
15051505
fi
15061506
])
15071507

1508-
dnl
1509-
dnl PHP_SOLARIS_PIC_WEIRDNESS
1510-
dnl
1511-
dnl Solaris requires main code to be position independent in order
1512-
dnl to let shared objects find symbols. Weird. Ugly.
1513-
dnl
1514-
dnl Must be run after all --with-NN options that let the user
1515-
dnl choose dynamic extensions, and after the gcc test.
1516-
dnl
1517-
AC_DEFUN([PHP_SOLARIS_PIC_WEIRDNESS],[
1518-
AC_MSG_CHECKING([whether -fPIC is required])
1519-
if test -n "$EXT_SHARED"; then
1520-
os=`uname -sr 2>/dev/null`
1521-
case $os in
1522-
"SunOS 5.6"|"SunOS 5.7"[)]
1523-
case $CC in
1524-
gcc*|egcs*)
1525-
CFLAGS="$CFLAGS -fPIC";;
1526-
*[)]
1527-
CFLAGS="$CFLAGS -fpic";;
1528-
esac
1529-
AC_MSG_RESULT([yes]);;
1530-
*[)]
1531-
AC_MSG_RESULT([no]);;
1532-
esac
1533-
else
1534-
AC_MSG_RESULT([no])
1535-
fi
1536-
])
1537-
15381508
dnl
15391509
dnl PHP_SYS_LFS
15401510
dnl

0 commit comments

Comments
 (0)