Build: Make configure print if symbol versioning is enabled or not.

This commit is contained in:
Lasse Collin 2011-05-28 19:24:56 +03:00
parent fc4d443696
commit 492c863455
1 changed files with 2 additions and 0 deletions

View File

@ -407,6 +407,7 @@ AM_CONDITIONAL([COND_SCRIPTS], [test x$enable_scripts != xno])
# Symbol versioning # # Symbol versioning #
##################### #####################
AC_MSG_CHECKING([if library symbol versioning should be used])
AC_ARG_ENABLE([symbol-versions], [AC_HELP_STRING([--enable-symbol-versions], AC_ARG_ENABLE([symbol-versions], [AC_HELP_STRING([--enable-symbol-versions],
[Use symbol versioning for liblzma. Enabled by default on [Use symbol versioning for liblzma. Enabled by default on
GNU/Linux, other GNU-based systems, and FreeBSD.])], GNU/Linux, other GNU-based systems, and FreeBSD.])],
@ -421,6 +422,7 @@ if test "x$enable_symbol_versions" = xauto; then
;; ;;
esac esac
fi fi
AC_MSG_RESULT([$enable_symbol_versions])
AM_CONDITIONAL([COND_SYMVERS], [test "x$enable_symbol_versions" = xyes]) AM_CONDITIONAL([COND_SYMVERS], [test "x$enable_symbol_versions" = xyes])