[devel] Add SunOS support to configure and Makefile.am

This commit is contained in:
Glenn Randers-Pehrson
2011-09-01 19:38:08 -05:00
parent 83bd94f1f4
commit ad8b7b71b4
4 changed files with 2 additions and 7 deletions

View File

@@ -116,14 +116,12 @@ else
fi
AM_CONDITIONAL(HAVE_SOLARIS_LD, test "$have_solaris_ld" = "yes")
AC_MSG_CHECKING([if libraries can be versioned])
if test "$have_solaris_ld" = "yes"; then
GLD=`$LD --help < /dev/null 2>&1 | grep 'M mapfile'`
else
GLD=`$LD --help < /dev/null 2>/dev/null | grep version-script`
fi
if test "$GLD"; then
if test "$GLD"; then
have_ld_version_script=yes
AC_MSG_RESULT(yes)