/[gcl]/gcl/configure.in
ViewVC logotype

Diff of /gcl/configure.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.15 by camm, Sat Dec 29 20:24:02 2001 UTC revision 1.16 by camm, Sun Jan 6 03:50:03 2002 UTC
# Line 584  if test -d "${TCL_CONFIG_PREFIX}"  ; the Line 584  if test -d "${TCL_CONFIG_PREFIX}"  ; the
584  rm -f conftest.tcl  rm -f conftest.tcl
585  cat >> conftest.tcl <<EOF  cat >> conftest.tcl <<EOF
586  [  [
587    set dir [set tcl_library]
588    if { [file exists [file join [set dir] tclConfig.sh]] } {
589          puts  [set dir]
590          exit      
591      }
592  set dir [file dirname [set tcl_library]]  set dir [file dirname [set tcl_library]]
593  if { [file exists [file join [set dir] tclConfig.sh]] } {  if { [file exists [file join [set dir] tclConfig.sh]] } {
594        puts  [set dir]        puts  [set dir]
# Line 592  if { [file exists [file join [set dir] t Line 597  if { [file exists [file join [set dir] t
597  EOF  EOF
598  cp conftest.tcl foo.tcl  cp conftest.tcl foo.tcl
599    
600  AC_CHECK_PROG(TCLSH,tclsh,tclsh)  AC_CHECK_PROG(TCLSH,tclsh,tclsh,${TCLSH})
601  AC_CHECK_PROG(TCLSH,tclsh8.0,tclsh8.0,${TCLSH})  #AC_CHECK_PROG(TCLSH,tclsh8.0,tclsh8.0,${TCLSH})
602    
603  if test "${TCLSH}" = "" ; then true ; else  if test "${TCLSH}" = "" ; then true ; else
604  TCL_CONFIG_PREFIX=`${TCLSH} < conftest.tcl`  TCL_CONFIG_PREFIX=`${TCLSH} < conftest.tcl`
# Line 608  else Line 613  else
613  rm -f conftest.tcl  rm -f conftest.tcl
614  cat >> conftest.tcl <<EOF  cat >> conftest.tcl <<EOF
615  [  [
616    set dir [set tk_library]
617    if { [file exists [file join [set dir] tkConfig.sh]] } {
618          puts  [set dir]
619          exit
620      }
621  set dir [file dirname [set tk_library]]  set dir [file dirname [set tk_library]]
622  if { [file exists [file join [set dir] tkConfig.sh]] } {  if { [file exists [file join [set dir] tkConfig.sh]] } {
623        puts  [set dir]        puts  [set dir]
# Line 616  exit 0 Line 626  exit 0
626  ]  ]
627  EOF  EOF
628  cp conftest.tcl foo.tcl  cp conftest.tcl foo.tcl
629  AC_CHECK_PROG(TKSH,wish,wish)  AC_CHECK_PROG(TKSH,wish,wish,${TKSH})
630  AC_CHECK_PROG(TKSH,wish8.0,wish8.0,${TKSH})  #AC_CHECK_PROG(TKSH,wish8.0,wish8.0,${TKSH})
631  if test "${TKSH}" = "" ; then true ; else  if test "${TKSH}" = "" ; then true ; else
632  TK_CONFIG_PREFIX=`${TKSH} < conftest.tcl`  TK_CONFIG_PREFIX=`${TKSH} < conftest.tcl`
633  fi  fi

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26