1997-12-02 10:34:00 +00:00
--- configure.orig Tue Dec 2 10:36:23 1997
+++ configure Tue Dec 2 11:23:24 1997
1997-12-01 12:41:45 +00:00
@@ -877,14 +877,14 @@
withval="$with_tcl"
1997-11-11 07:53:24 +00:00
TCL_BIN_DIR=$withval
else
- TCL_BIN_DIR=`cd ../../tcl8.0/unix; pwd`
+ TCL_BIN_DIR=${prefix}/lib/tcl8.0
fi
if test ! -d $TCL_BIN_DIR; then
{ echo "configure: error: Tcl directory $TCL_BIN_DIR doesn't exist" 1>&2; exit 1; }
fi
-if test ! -f $TCL_BIN_DIR/Makefile; then
- { echo "configure: error: There's no Makefile in $TCL_BIN_DIR; perhaps you didn't specify the Tcl *build* directory (not the toplevel Tcl directory) or you forgot to configure Tcl?" 1>&2; exit 1; }
+if test ! -f $TCL_BIN_DIR/tclConfig.sh; then
+ { echo "configure: error: There's no tclConfig.sh in $TCL_BIN_DIR; perhaps you didn't specify the Tcl *build* directory (not the toplevel Tcl directory) or you forgot to configure Tcl?" 1>&2; exit 1; }
fi
#--------------------------------------------------------------------
1997-12-01 12:41:45 +00:00
@@ -903,6 +903,8 @@
1997-11-11 07:53:24 +00:00
DL_LIBS=$TCL_DL_LIBS
LD_FLAGS=$TCL_LD_FLAGS
+TCL_SRC_DIR=${prefix}/include/tcl${TCL_VERSION}
+
LIB_RUNTIME_DIR='${LIB_RUNTIME_DIR}'
# If Tcl and Tk are installed in different places, adjust the library
1997-12-02 10:34:00 +00:00
@@ -2423,7 +2425,7 @@
if test "$ok" = "yes" -a "${SHLIB_SUFFIX}" != ""; then
TK_SHARED_BUILD=1
TK_SHLIB_CFLAGS="${SHLIB_CFLAGS}"
- eval "TK_LIB_FILE=libtkstep${TCL_SHARED_LIB_SUFFIX}"
+ eval "TK_LIB_FILE=libtkstep`echo ${VERSION} | tr -d .`.so.1.2"
MAKE_LIB="\${SHLIB_LD} -o ${TK_LIB_FILE} \${OBJS} \$(TK_LD_SEARCH_FLAGS) ${SHLIB_LD_LIBS}"
RANLIB=":"
else
1997-12-01 12:41:45 +00:00
@@ -2475,7 +2477,7 @@
if test "$ok" = "yes" ; then
ENABLE_TIFF="-DENABLE_TIFF"
- EXTRA_LIBS="$EXTRA_LIBS -ltiff -ljpeg -lz"
+ EXTRA_LIBS="$EXTRA_LIBS -ltiff34 -ljpeg -lz"
IMAGE_OBJ="$IMAGE_OBJ tkImgTIFF.o"
else
ENABLE_TIFF=""
@@ -2731,6 +2733,7 @@
1997-11-11 07:53:24 +00:00
s%@SHLIB_VERSION@%$SHLIB_VERSION%g
s%@TCL_BIN_DIR@%$TCL_BIN_DIR%g
s%@TCL_BUILD_LIB_SPEC@%$TCL_BUILD_LIB_SPEC%g
+s%@TCL_LIB_SPEC@%$TCL_LIB_SPEC%g
s%@TCL_SRC_DIR@%$TCL_SRC_DIR%g
s%@TCL_VERSION@%$TCL_VERSION%g
s%@TK_BUILD_LIB_SPEC@%$TK_BUILD_LIB_SPEC%g