aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2012-07-04 17:11:31 +0300
committerLasse Collin <lasse.collin@tukaani.org>2012-07-04 17:11:31 +0300
commitdf11317985a4165731dde12bb0f0028da0e7b77f (patch)
tree2240b6e4224954debccd1878b6a110a297e1411e /configure.ac
parentUpdate TODO. (diff)
downloadxz-df11317985a4165731dde12bb0f0028da0e7b77f.tar.xz
Build: Add a comment to configure.ac about symbol versioning.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 25eb838f..0941e8e3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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
;;