Index: Makefile.in ================================================================== --- Makefile.in +++ Makefile.in @@ -227,11 +227,11 @@ #======================================================================== $(PKG_LIB_FILE): $(PKG_OBJECTS) -rm -f $(PKG_LIB_FILE) ${MAKE_LIB} - $(RANLIB) $(PKG_LIB_FILE) + -$(RANLIB) $(PKG_LIB_FILE) #======================================================================== # We need to enumerate the list of .c to .o lines here. # # In the following lines, $(srcdir) refers to the toplevel directory Index: configure ================================================================== --- configure +++ configure @@ -1385,21 +1385,25 @@ echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi EXEEXT=".exe" - TEA_PLATFORM="windows" + if [ -z "${TEA_PLATFORM}" ]; then + TEA_PLATFORM="windows" + fi ;; *CYGWIN_*) CYGPATH=echo EXEEXT=".exe" # TEA_PLATFORM is determined later ;; *) CYGPATH=echo EXEEXT="" - TEA_PLATFORM="unix" + if [ -z "${TEA_PLATFORM}" ]; then + TEA_PLATFORM="unix" + fi ;; esac # Check if exec_prefix is set. If not use fall back to prefix. # Note when adjusted, so that TEA_PREFIX can correct for this. @@ -1680,17 +1684,21 @@ *CYGWIN_*) echo "$as_me:$LINENO: checking for cygwin variant" >&5 echo $ECHO_N "checking for cygwin variant... $ECHO_C" >&6 case ${TCL_EXTRA_CFLAGS} in *-mwin32*|*-mno-cygwin*) - TEA_PLATFORM="windows" + if [ -z "${TEA_PLATFORM}" ]; then + TEA_PLATFORM="windows" + fi CFLAGS="$CFLAGS -mwin32" echo "$as_me:$LINENO: result: win32" >&5 echo "${ECHO_T}win32" >&6 ;; *) - TEA_PLATFORM="unix" + if [ -z "${TEA_PLATFORM}" ]; then + TEA_PLATFORM="unix" + fi echo "$as_me:$LINENO: result: unix" >&5 echo "${ECHO_T}unix" >&6 ;; esac EXEEXT=".exe" @@ -10314,11 +10322,11 @@ fi if test -n "${OPENSSL}"; then - vars="ssleay32.lib libeay32.lib" + vars="ssl.lib crypto.lib" for i in $vars; do if test "${TEA_PLATFORM}" = "windows" -a "$GCC" = "yes" ; then # Convert foo.lib to -lfoo for GCC. No-op if not *.lib i=`echo "$i" | sed -e 's/^\([^-].*\)\.lib$/-l\1/i'` fi