diff options
author | hobbs <hobbs> | 2001-10-15 21:16:31 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2001-10-15 21:16:31 (GMT) |
commit | 6215f547b7bcf09febfe15c8c23a3742d407a25b (patch) | |
tree | 50b41138f82bef47533dca3aed4f68828449dd58 /unix/configure.in | |
parent | cf2f280c08cae3a18c4d328877f8fbf638de36bf (diff) | |
download | tcl-6215f547b7bcf09febfe15c8c23a3742d407a25b.zip tcl-6215f547b7bcf09febfe15c8c23a3742d407a25b.tar.gz tcl-6215f547b7bcf09febfe15c8c23a3742d407a25b.tar.bz2 |
* unix/configure:
* unix/configure.in:
* win/configure:
* win/configure.in:
* win/tcl.m4: reworked to be a little cleaner in comparison to
each other, and to AC_SUBST even empty vars for win/tclConfig.sh
Diffstat (limited to 'unix/configure.in')
-rw-r--r-- | unix/configure.in | 61 |
1 files changed, 33 insertions, 28 deletions
diff --git a/unix/configure.in b/unix/configure.in index d3312f4..aa02918 100644 --- a/unix/configure.in +++ b/unix/configure.in @@ -2,8 +2,10 @@ dnl This file is an input file used by the GNU "autoconf" program to dnl generate the file "configure", which is run during Tcl installation dnl to configure the system for the local environment. +# +# RCS: @(#) $Id: configure.in,v 1.73 2001/10/15 21:16:31 hobbs Exp $ + AC_INIT(../generic/tcl.h) -# RCS: @(#) $Id: configure.in,v 1.72 2001/08/12 21:17:43 mdejong Exp $ TCL_VERSION=8.4 TCL_MAJOR_VERSION=8 @@ -377,9 +379,9 @@ TCL_SHARED_LIB_SUFFIX=${SHARED_LIB_SUFFIX} SC_ENABLE_SHARED +TCL_LD_SEARCH_FLAGS="${LD_SEARCH_FLAGS}" if test "${SHARED_BUILD}" = "1" -a "${SHLIB_SUFFIX}" != "" ; then TCL_SHLIB_CFLAGS="${SHLIB_CFLAGS}" - TCL_LD_SEARCH_FLAGS="${LD_SEARCH_FLAGS}" eval "TCL_LIB_FILE=libtcl${TCL_SHARED_LIB_SUFFIX}" if test "x$DL_OBJS" = "xtclLoadAout.o"; then MAKE_LIB="\${STLIB_LD} \[$]@ \${OBJS}" @@ -400,7 +402,6 @@ else ;; esac TCL_SHLIB_CFLAGS="" - TCL_LD_SEARCH_FLAGS="${LD_SEARCH_FLAGS}" eval "TCL_LIB_FILE=libtcl${TCL_UNSHARED_LIB_SUFFIX}" MAKE_LIB="\${STLIB_LD} \[$]@ \${OBJS}" fi @@ -488,57 +489,61 @@ TCL_STUB_LIB_PATH="${exec_prefix}/lib/${TCL_STUB_LIB_FILE}" TCL_SHARED_BUILD=${SHARED_BUILD} +AC_SUBST(TCL_VERSION) +AC_SUBST(TCL_MAJOR_VERSION) +AC_SUBST(TCL_MINOR_VERSION) +AC_SUBST(TCL_PATCH_LEVEL) + +AC_SUBST(TCL_LIB_FILE) +AC_SUBST(TCL_LIB_FLAG) +AC_SUBST(TCL_LIB_SPEC) AC_SUBST(TCL_STUB_LIB_FILE) AC_SUBST(TCL_STUB_LIB_FLAG) -AC_SUBST(TCL_BUILD_STUB_LIB_SPEC) AC_SUBST(TCL_STUB_LIB_SPEC) -AC_SUBST(TCL_BUILD_STUB_LIB_PATH) AC_SUBST(TCL_STUB_LIB_PATH) -AC_SUBST(MAKE_STUB_LIB) +AC_SUBST(TCL_BUILD_STUB_LIB_SPEC) +AC_SUBST(TCL_BUILD_STUB_LIB_PATH) -AC_SUBST(BUILD_DLTEST) -AC_SUBST(CFLAGS) -AC_SUBST(CFLAGS_DEFAULT) +AC_SUBST(TCL_SRC_DIR) +AC_SUBST(TCL_BIN_DIR) +AC_SUBST(TCL_DBGX) AC_SUBST(CFG_TCL_SHARED_LIB_SUFFIX) AC_SUBST(CFG_TCL_UNSHARED_LIB_SUFFIX) AC_SUBST(CFG_TCL_EXPORT_FILE_SUFFIX) -AC_SUBST(TCL_DBGX) -AC_SUBST(DL_OBJS) + +AC_SUBST(CFLAGS) +AC_SUBST(CFLAGS_DEFAULT) AC_SUBST(EXTRA_CFLAGS) +AC_SUBST(DL_OBJS) + AC_SUBST(LDFLAGS) AC_SUBST(LDFLAGS_DEFAULT) -# FIXME: Should this be TCL_LDFLAGS_DEBUG ? AC_SUBST(LDFLAGS_DEBUG) AC_SUBST(LDFLAGS_OPTIMIZE) AC_SUBST(AR) AC_SUBST(RANLIB) -AC_SUBST(MAKE_LIB) -AC_SUBST(TCL_SHARED_BUILD) -AC_SUBST(SHLIB_CFLAGS) -AC_SUBST(SHLIB_LD) + AC_SUBST(STLIB_LD) +AC_SUBST(SHLIB_LD) AC_SUBST(SHLIB_LD_LIBS) +AC_SUBST(SHLIB_CFLAGS) AC_SUBST(SHLIB_SUFFIX) +AC_SUBST(TCL_SHARED_BUILD) + AC_SUBST(TCL_BUILD_LIB_SPEC) AC_SUBST(TCL_LD_SEARCH_FLAGS) -AC_SUBST(TCL_LDFLAGS_DEBUG) -AC_SUBST(TCL_LDFLAGS_OPTIMIZE) -AC_SUBST(TCL_LIB_FILE) -AC_SUBST(TCL_LIB_FLAG) AC_SUBST(TCL_NEEDS_EXP_FILE) AC_SUBST(TCL_BUILD_EXP_FILE) AC_SUBST(TCL_EXP_FILE) -AC_SUBST(TCL_LIB_SPEC) + AC_SUBST(TCL_LIB_VERSIONS_OK) -AC_SUBST(TCL_MAJOR_VERSION) -AC_SUBST(TCL_MINOR_VERSION) -AC_SUBST(TCL_PACKAGE_PATH) -AC_SUBST(TCL_PATCH_LEVEL) AC_SUBST(TCL_SHARED_LIB_SUFFIX) AC_SUBST(TCL_SHLIB_CFLAGS) -AC_SUBST(TCL_SRC_DIR) -AC_SUBST(TCL_BIN_DIR) AC_SUBST(TCL_UNSHARED_LIB_SUFFIX) -AC_SUBST(TCL_VERSION) + +AC_SUBST(MAKE_LIB) +AC_SUBST(MAKE_STUB_LIB) +AC_SUBST(BUILD_DLTEST) +AC_SUBST(TCL_PACKAGE_PATH) AC_OUTPUT(Makefile tclConfig.sh) |