Tk Library Source Code

Artifact [71ec5c9517]
Login

Artifact 71ec5c95175ae27d0579507f9ede34f8d5efb56d:

Attachment "configure.in" to ticket [3593146fff] added by wkechel 2012-12-06 21:41:43.
AC_INIT(ChangeLog)

case "`uname -s`" in
    *win32* | *WIN32* | *CYGWIN_NT* | *CYGWIN_98* | *CYGWIN_95*)
	CYGPATH="cygpath -w"
	;;
    *)
	CYGPATH=echo
	;;
esac
AC_SUBST(CYGPATH)

SC_SIMPLE_EXEEXT
SC_PROG_TCLSH

# ### ######### ###########################
xx=`$CYGPATH ${srcdir}/sak.tcl`
PACKAGE=`$TCLSH_PROG "$xx" name`
MAJOR_VERSION=`$TCLSH_PROG "$xx" major`
MINOR_VERSION=`$TCLSH_PROG "$xx" minor`
PATCHLEVEL=""

VERSION=${MAJOR_VERSION}.${MINOR_VERSION}${PATCHLEVEL}
NODOT_VERSION=${MAJOR_VERSION}${MINOR_VERSION}

AC_SUBST(PACKAGE)
AC_SUBST(VERSION)

# ### ######### ###########################

AC_OUTPUT([Makefile])