@@ -242,8 +242,15 @@ DC_SYNC_RPATH([no]) else DC_SYNC_RPATH([yes]) fi fi + +dnl Enable a stable ABI +DC_SETUP_STABLE_API([${srcdir}/tcltls.vers], tcltls.syms) +if test "$tcltls_debug" = 'true'; then + WEAKENSYMS=':' + REMOVESYMS=':' +fi dnl Produce output -AC_OUTPUT(Makefile pkgIndex.tcl) +AC_OUTPUT(Makefile pkgIndex.tcl tcltls.syms)