Modified Files:

Tag: TCLSPICE
 	ChangeLog configure.in

	Added extra config check
This commit is contained in:
stefanjones 2003-07-09 08:57:36 +00:00
parent 1c291eeddc
commit 0910dd80e6
2 changed files with 19 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2003-07-09 Stefan Jones <stefan.jones@multigig.com>
* configure.in : Add extra check for tclreadline and headers
2003-04-14 Stefan Jones <stefan.jones@multigig.com>
* Make all the devices in src/spicelib/devices be built as

View File

@ -181,6 +181,8 @@ fi
. $tcl_config_sh
AC_CHECK_HEADERS(tcl.h blt.h,,AC_MSG_ERROR(Couldn't find Tcl/BLT headers))
AC_MSG_CHECKING(for TCL module BLT)
rm -f conftest.tcl
cat > conftest.tcl << EOF
@ -194,6 +196,19 @@ else
fi
rm -f conftest.tcl
AC_MSG_CHECKING(for TCL module tclreadline)
rm -f conftest.tcl
cat > conftest.tcl << EOF
package require tclreadline;
exit;
EOF
if (wish conftest.tcl; exit) 2>/dev/null; then
AC_MSG_RESULT(Found)
else
AC_MSG_ERROR(Couldn't find tclreadline)
fi
rm -f conftest.tcl
else
TCL_PACKAGE_PATH=""
TCL_BUILD_LIB_SPEC=""
@ -491,5 +506,5 @@ tests/TransImpedanceAmp/Makefile
dnl Printout Tcl option
if test "$enable_tcl" = "yes"; then
echo 'Tcl module being made, use "make tcl" and "make install-tcl", read README in src/tcl/README'
echo 'Tcl module being made, use "make tcl" and "make install-tcl", read README.Tcl'
fi