diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2017-01-04 19:34:06 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2017-01-04 19:34:06 (GMT) |
commit | 2d08a74ff84fcbf11344ac93ce88180271088797 (patch) | |
tree | 2ca89b0e544ab826cd70ef3f5d3ce21fac58dacf /tkblt/configure | |
parent | 0f87c1619f9a9751bf8d6c8ee3e0021bed9a8afc (diff) | |
download | blt-2d08a74ff84fcbf11344ac93ce88180271088797.zip blt-2d08a74ff84fcbf11344ac93ce88180271088797.tar.gz blt-2d08a74ff84fcbf11344ac93ce88180271088797.tar.bz2 |
add Config.sh
Diffstat (limited to 'tkblt/configure')
-rwxr-xr-x | tkblt/configure | 49 |
1 files changed, 48 insertions, 1 deletions
diff --git a/tkblt/configure b/tkblt/configure index b41a81b..1583ad2 100755 --- a/tkblt/configure +++ b/tkblt/configure @@ -620,6 +620,15 @@ ac_includes_default="\ ac_subst_vars='LTLIBOBJS LIBOBJS +PATCHLEVEL +MINOR_VERSION +MAJOR_VERSION +tkblt_STUB_LIB_PATH +tkblt_BUILD_STUB_LIB_PATH +tkblt_STUB_LIB_SPEC +tkblt_BUILD_STUB_LIB_SPEC +tkblt_LIB_SPEC +tkblt_BUILD_LIB_SPEC WISH_PROG TCLSH_PROG VC_MANIFEST_EMBED_EXE @@ -9450,12 +9459,49 @@ $as_echo "${WISH_PROG}" >&6; } #-------------------------------------------------------------------- +# These are for tkbltConfig.sh +#-------------------------------------------------------------------- + + + #-------------------------------------------------------------------- + # These are for tkbltConfig.sh + #-------------------------------------------------------------------- + + # pkglibdir must be a fully qualified path and (not ${exec_prefix}/lib) + eval pkglibdir="${libdir}/tkblt${PACKAGE_VERSION}" + if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then + eval tkblt_LIB_FLAG="-ltkblt${PACKAGE_VERSION}${DBGX}" + eval tkblt_STUB_LIB_FLAG="-ltkbltstub${PACKAGE_VERSION}${DBGX}" + else + eval tkblt_LIB_FLAG="-ltkblt`echo ${PACKAGE_VERSION} | tr -d .`${DBGX}" + eval tkblt_STUB_LIB_FLAG="-ltkbltstub`echo ${PACKAGE_VERSION} | tr -d .`${DBGX}" + fi + tkblt_BUILD_LIB_SPEC="-L`pwd` ${tkblt_LIB_FLAG}" + tkblt_LIB_SPEC="-L${pkglibdir} ${tkblt_LIB_FLAG}" + tkblt_BUILD_STUB_LIB_SPEC="-L`pwd` ${tkblt_STUB_LIB_FLAG}" + tkblt_STUB_LIB_SPEC="-L${pkglibdir} ${tkblt_STUB_LIB_FLAG}" + tkblt_BUILD_STUB_LIB_PATH="`pwd`/${PKG_STUB_LIB_FILE}" + tkblt_STUB_LIB_PATH="${pkglibdir}/${PKG_STUB_LIB_FILE}" + + + + + + + + + + + + + +#-------------------------------------------------------------------- # Finally, substitute all of the various values into the Makefile. # You may alternatively have a special pkgIndex.tcl.in or other files # which require substituting th AC variables in. Include these here. #-------------------------------------------------------------------- -ac_config_files="$ac_config_files Makefile pkgIndex.tcl" +ac_config_files="$ac_config_files Makefile pkgIndex.tcl tkbltConfig.sh" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure @@ -10166,6 +10212,7 @@ do case $ac_config_target in "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "pkgIndex.tcl") CONFIG_FILES="$CONFIG_FILES pkgIndex.tcl" ;; + "tkbltConfig.sh") CONFIG_FILES="$CONFIG_FILES tkbltConfig.sh" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac |