diff options
author | unknown <mtaylor@qualinost.(none)> | 2007-01-19 17:02:46 -0800 |
---|---|---|
committer | unknown <mtaylor@qualinost.(none)> | 2007-01-19 17:02:46 -0800 |
commit | 6cd576ca8b0ff293d323cabefa39b991597940cb (patch) | |
tree | 87ab419a23f3eff113dba1c5f0f07a5d07ca9d6c /config | |
parent | a90ad3b1199e001f6ba23c801504b0dd1cf95c94 (diff) | |
download | mariadb-git-6cd576ca8b0ff293d323cabefa39b991597940cb.tar.gz |
We only want to do these things if we are building Ndb.
configure.in:
Moving these to ha_ndbcluster.m4
Diffstat (limited to 'config')
-rw-r--r-- | config/ac-macros/ha_ndbcluster.m4 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/config/ac-macros/ha_ndbcluster.m4 b/config/ac-macros/ha_ndbcluster.m4 index 86bd16487eb..5d0bc6898e8 100644 --- a/config/ac-macros/ha_ndbcluster.m4 +++ b/config/ac-macros/ha_ndbcluster.m4 @@ -278,6 +278,17 @@ AC_DEFUN([MYSQL_SETUP_NDBCLUSTER], [ ndb_bin_am_ldflags="" fi + # libndbclient versioning when linked with GNU ld. + if $LD --version 2>/dev/null|grep -q GNU; then + NDB_LD_VERSION_SCRIPT="-Wl,--version-script=\$(top_builddir)/ndb/src/libndb.ver" + AC_CONFIG_FILES(ndb/src/libndb.ver) + fi + AC_SUBST(NDB_LD_VERSION_SCRIPT) + + AC_SUBST(NDB_SHARED_LIB_MAJOR_VERSION) + AC_SUBST(NDB_SHARED_LIB_VERSION) + + AC_SUBST(NDB_VERSION_MAJOR) AC_SUBST(NDB_VERSION_MINOR) AC_SUBST(NDB_VERSION_BUILD) |