Diff

Differences From Artifact [08b06ec183]:

To Artifact [33966eefcb]:


    19     19   		if test -z "${tclconfigsh}"; then
    20     20   			AC_MSG_ERROR([Unable to find tclConfig.sh])
    21     21   		fi
    22     22   	else
    23     23   		tclconfigsh="${with_tcl}/tclConfig.sh"
    24     24   	fi
    25     25   
    26         -
    27         -	source "${tclconfigsh}"
           26  +	if test -f "${tclconfigsh}"; then
           27  +		source "${tclconfigsh}"
    28     28   
    29         -	CFLAGS="${CFLAGS} ${TCL_INCLUDE_SPEC} -I${TCL_SRC_DIR}/generic"
    30         -	CPPFLAGS="${CPPFLAGS} ${TCL_INCLUDE_SPEC} -I${TCL_SRC_DIR}/generic"
    31         -	LDFLAGS="${LDFLAGS}"
    32         -	LIBS="${LIBS} ${TCL_LIBS}"
           29  +		CFLAGS="${CFLAGS} ${TCL_INCLUDE_SPEC} -I${TCL_SRC_DIR}/generic"
           30  +		CPPFLAGS="${CPPFLAGS} ${TCL_INCLUDE_SPEC} -I${TCL_SRC_DIR}/generic"
           31  +		LDFLAGS="${LDFLAGS}"
           32  +		LIBS="${LIBS} ${TCL_LIBS}"
           33  +	fi
    33     34   
    34     35   	AC_SUBST(CFLAGS)
    35     36   	AC_SUBST(CPPFLAGS)
    36     37   	AC_SUBST(LDFLAGS)
    37     38   	AC_SUBST(LIBS)
    38     39   
    39     40   	AC_MSG_RESULT([$tclconfigsh])