diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-05-22 09:04:22 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-05-22 09:04:22 (GMT) |
commit | c571887777c0fea5679125daa68dc66e94e3f834 (patch) | |
tree | 86c5103ceace52f634986b36eebc97c6038a95d1 | |
parent | f100bae7463dd1f68be8be40745c526342bd5e9d (diff) | |
download | tcl-c571887777c0fea5679125daa68dc66e94e3f834.zip tcl-c571887777c0fea5679125daa68dc66e94e3f834.tar.gz tcl-c571887777c0fea5679125daa68dc66e94e3f834.tar.bz2 |
autoconf
-rwxr-xr-x | unix/configure | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/unix/configure b/unix/configure index 1ebe843..3e3b4c4 100755 --- a/unix/configure +++ b/unix/configure @@ -6650,8 +6650,10 @@ fi PLAT_OBJS="" PLAT_SRCS="" LDAIX_SRC="" - if test x"${SHLIB_VERSION}" = x; then - SHLIB_VERSION="1.0" + if test "x${SHLIB_VERSION}" = x; then + SHLIB_VERSION=".1.0" +else + SHLIB_VERSION=".${SHLIB_VERSION}" fi case $system in @@ -7533,7 +7535,7 @@ fi fi LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} - SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}' + SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so${SHLIB_VERSION}' LDFLAGS="-Wl,-export-dynamic" CFLAGS_OPTIMIZE="-O2" if test "${TCL_THREADS}" = "1"; then @@ -8274,7 +8276,7 @@ fi # requires an extra version number at the end of .so file names. # So, the library has to have a name like libtcl75.so.1.0 - SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}' + SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so${SHLIB_VERSION}' UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' TCL_LIB_VERSIONS_OK=nodots ;; |