diff options
author | Daniel Macks <dmacks@netspace.org> | 2008-08-13 11:32:41 -0400 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-08-13 19:11:30 +0200 |
commit | 0f3825b0c40ca379e6b5d2e3e862130c8ccb65f5 (patch) | |
tree | 1de296ab8d4cf8d5ce9c51f3c8cfaa9d3a7121ec /configure.ac | |
parent | 72466d3b81203e4b87870943dcd84f7736db4cc0 (diff) |
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 <lennart@poettering.net>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
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 # ################################### |