From 0f3825b0c40ca379e6b5d2e3e862130c8ccb65f5 Mon Sep 17 00:00:00 2001 From: Daniel Macks Date: Wed, 13 Aug 2008 11:32:41 -0400 Subject: Non-portable linker flag -version-script is an ELF/GNU-ld feature, not available with other linkers & platforms. Libtool already knows when to use it, so attached path just piggy-backs on their main test for this feature. I think they also exclude some other platforms, but this appears to work on linux (passes the flag, tested with libtool-1.5.22) with and OS X (doesn't pass it, tested with libtool-2.2.4). dan -- Daniel Macks dmacks@netspace.org http://www.netspace.org/~dmacks Signed-off-by: Lennart Poettering --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 6bdf009..decd2c2 100644 --- a/configure.ac +++ b/configure.ac @@ -106,6 +106,8 @@ esac AM_CONDITIONAL(OS_IS_WIN32, test "x$os_is_win32" = "x1") +AM_CONDITIONAL(USE_VERSION_SCRIPT, test "x$supports_anon_versioning" = "xyes" ) + ################################### # Basic environment checks # ################################### -- cgit