Build: Add a comment to configure.ac about symbol versioning.

This commit is contained in:
Lasse Collin 2012-07-04 17:11:31 +03:00
parent bd9cc179e8
commit df11317985
1 changed files with 4 additions and 0 deletions

View File

@ -414,6 +414,10 @@ AC_ARG_ENABLE([symbol-versions], [AC_HELP_STRING([--enable-symbol-versions],
[], [enable_symbol_versions=auto])
if test "x$enable_symbol_versions" = xauto; then
case $host_os in
# NOTE: Even if one omits -gnu on GNU/Linux (e.g.
# i486-slackware-linux), configure will (via config.sub)
# append -gnu (e.g. i486-slackware-linux-gnu), and this
# test will work correctly.
gnu* | *-gnu* | freebsd*)
enable_symbol_versions=yes
;;