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 | ac0670087f239f093059012f11f736d751a567fc (patch) | |
tree | 87ab419a23f3eff113dba1c5f0f07a5d07ca9d6c /config | |
parent | b0d2ffcbe39b36c5023a3980c3d39d5d53403b08 (diff) | |
download | mariadb-git-ac0670087f239f093059012f11f736d751a567fc.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) |