Juergen Schoenwaelder wrote:
>
> >>>>> Jon Ingason writes:
>
> [...]
...
>
> Jon> What can I do to get around this, because tcl 8.3 should support
> Jon> everything thar tcl 8.2 does?
>
> Replace 8.2 with 8.3 everywhere in configure.in, run autoconf followed
> by make distclean and try to run configure again. This may work (in
> case tcl 8.3 really supports everything that tcl 8.2 does ;-).
I thought this was a good idea and and exchanged 8.2 with 8.2. I then
ran autoconf and then configure, but got following meassage:
stows01>./configure
loading cache ./config.cache
checking for prefix by checking for scotty... no
checking for prefix by checking for tclsh8.3... ./configure: bad substitution
stows01>
I attach the difference of configure and configure.in between
8.2 and 8.3
>
> /js
>
> --
-- Jon Ingason
585,586c585,586
< # Extract the first word of "tclsh8.3", so it can be a program name with args.
< set dummy tclsh8.3; ac_word=$2
---
> # Extract the first word of "tclsh8.2", so it can be a program name with args.
> set dummy tclsh8.2; ac_word=$2
589c589
< if eval "test \"`echo '$''{'ac_cv_path_TCLSH8.3'+set}'`\" = set"; then
---
> if eval "test \"`echo '$''{'ac_cv_path_TCLSH82'+set}'`\" = set"; then
592c592
< case "$TCLSH8.3" in
---
> case "$TCLSH82" in
594c594
< ac_cv_path_TCLSH8.3="$TCLSH8.3" # Let the user override the test with a path.
---
> ac_cv_path_TCLSH82="$TCLSH82" # Let the user override the test with a path.
597c597
< ac_cv_path_TCLSH8.3="$TCLSH8.3" # Let the user override the test with a dos path.
---
> ac_cv_path_TCLSH82="$TCLSH82" # Let the user override the test with a dos path.
605c605
< ac_cv_path_TCLSH8.3="$ac_dir/$ac_word"
---
> ac_cv_path_TCLSH82="$ac_dir/$ac_word"
613,615c613,615
< TCLSH8.3="$ac_cv_path_TCLSH8.3"
< if test -n "$TCLSH8.3"; then
< echo "$ac_t""$TCLSH8.3" 1>&6
---
> TCLSH82="$ac_cv_path_TCLSH82"
> if test -n "$TCLSH82"; then
> echo "$ac_t""$TCLSH82" 1>&6
620,621c620,621
< if test -n "$ac_cv_path_TCLSH8.3"; then
< prefix=`echo $ac_cv_path_TCLSH8.3|sed 's%/[^/][^/]*//*[^/][^/]*$%%'`
---
> if test -n "$ac_cv_path_TCLSH82"; then
> prefix=`echo $ac_cv_path_TCLSH82|sed 's%/[^/][^/]*//*[^/][^/]*$%%'`
675,676c675,676
< # Extract the first word of "tclsh8.3", so it can be a program name with args.
< set dummy tclsh8.3; ac_word=$2
---
> # Extract the first word of "tclsh8.2", so it can be a program name with args.
> set dummy tclsh8.2; ac_word=$2
766,767c766,767
< if test "$TCL_VERSION" != "8.3" ; then
< { echo "configure: error: "Tcl version 8.2 or higer needed"" 1>&2; exit 1; }
---
> if test "$TCL_VERSION" != "8.2" ; then
> { echo "configure: error: "Tcl version 8.2 needed"" 1>&2; exit 1; }
777,778c777,778
< # Extract the first word of "wish8.3", so it can be a program name with args.
< set dummy wish8.3; ac_word=$2
---
> # Extract the first word of "wish8.2", so it can be a program name with args.
> set dummy wish8.2; ac_word=$2
853,854c853,854
< if test "$TK_VERSION" != "8.3" ; then
< { echo "configure: error: "Tk version 8.2 or higher needed"" 1>&2; exit 1; }
---
> if test "$TK_VERSION" != "8.2" ; then
> { echo "configure: error: "Tk version 8.2 needed"" 1>&2; exit 1; }
3337c3337
< s%@TCLSH8.3@%$TCLSH8.3%g
---
> s%@TCLSH82@%$TCLSH82%g
20c20 < AC_PREFIX_PROGRAM(tclsh8.2)
---
> AC_PREFIX_PROGRAM(tclsh8.3)
30c30
< AC_PATH_PROG(tclsh,tclsh8.2)
---
> AC_PATH_PROG(tclsh,tclsh8.3)
82,83c82,83
< if test "$TCL_VERSION" != "8.2" ; then
< AC_MSG_ERROR("Tcl version 8.2 needed")
---
> if test "$TCL_VERSION" != "8.3" ; then
> AC_MSG_ERROR("Tcl version 8.2 or higer needed")
93c93
< AC_PATH_PROG(wish,wish8.2)
---
> AC_PATH_PROG(wish,wish8.3)
130,131c130,131
< if test "$TK_VERSION" != "8.2" ; then
< AC_MSG_ERROR("Tk version 8.2 needed")
---
> if test "$TK_VERSION" != "8.3" ; then
> AC_MSG_ERROR("Tk version 8.2 or higher needed")
-- !! This message is brought to you via the `tkined & scotty' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>. !! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.
This archive was generated by hypermail 2b29 : Mon Jan 08 2001 - 15:27:43 MET