|
|
|
@ -257,12 +257,6 @@ dnl Check system we're on , and tune accordingly |
|
|
|
AC_CANONICAL_HOST |
|
|
|
|
|
|
|
|
|
|
|
dnl Checks for programs |
|
|
|
AC_LIBTOOL_WIN32_DLL |
|
|
|
AC_LIBTOOL_DLOPEN |
|
|
|
AM_PROG_LIBTOOL |
|
|
|
AC_PROG_LIBTOOL |
|
|
|
|
|
|
|
|
|
|
|
########################################################################## |
|
|
|
# |
|
|
|
@ -281,13 +275,15 @@ if test "x$with_tcl" != "x" -a "$with_tcl" != "no" ; then |
|
|
|
case $host_os in |
|
|
|
*mingw* ) |
|
|
|
AM_CONDITIONAL(TCLWIN, true) |
|
|
|
AM_CONDITIONAL(NO_HELP, true) |
|
|
|
AC_DEFINE(HAS_TCLWIN,1,[Tcl Windows]);; |
|
|
|
*) |
|
|
|
;; |
|
|
|
esac |
|
|
|
|
|
|
|
with_x=no |
|
|
|
enable_shared=no |
|
|
|
enable_shared=yes |
|
|
|
enable_static=no |
|
|
|
|
|
|
|
AC_MSG_CHECKING([for tclConfig.sh]) |
|
|
|
tcl_config_sh="" |
|
|
|
@ -354,8 +350,6 @@ if test "x$with_tcl" != "x" -a "$with_tcl" != "no" ; then |
|
|
|
|
|
|
|
AC_MSG_RESULT([${tcl_config_sh}]) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if test "x$tcl_config_sh" = "x" ; then |
|
|
|
echo "can't find Tcl configuration script \"tclConfig.sh\"" |
|
|
|
find /usr/ -name 'tclConfig.sh' -exec echo "Should you add --with-tcl={} to ./configure arguments?" \; | sed -re "s/\/tclConfig.sh/ /" |
|
|
|
@ -379,6 +373,7 @@ cat > conftest.tcl << EOF |
|
|
|
package require BLT; |
|
|
|
exit; |
|
|
|
EOF |
|
|
|
|
|
|
|
if ($TCL_EXEC_PREFIX/bin/tclsh$TCL_VERSION conftest.tcl; exit) 2>/dev/null |
|
|
|
then |
|
|
|
AC_MSG_RESULT(Found) |
|
|
|
@ -388,17 +383,28 @@ fi |
|
|
|
rm -f conftest.tcl |
|
|
|
|
|
|
|
AC_CHECK_LIB(pthread,pthread_create) |
|
|
|
|
|
|
|
if test -n $libdir ; then |
|
|
|
AC_SUBST(libdir) |
|
|
|
echo "libraries in "$libdir |
|
|
|
fi |
|
|
|
|
|
|
|
if test -z $libdir ; then |
|
|
|
for TCL_PACKAGE_PATH_ELEMENT in $TCL_PACKAGE_PATH ; do |
|
|
|
if test -a $TCL_PACKAGE_PATH_ELEMENT ; then |
|
|
|
libdir=$TCL_PACKAGE_PATH_ELEMENT |
|
|
|
AC_SUBST(libdir) |
|
|
|
echo "library in "$libdir |
|
|
|
break |
|
|
|
fi |
|
|
|
done |
|
|
|
fi |
|
|
|
|
|
|
|
else |
|
|
|
TCL_PACKAGE_PATH="" |
|
|
|
TCL_LIB_SPEC="" |
|
|
|
enable_shared=no |
|
|
|
enable_static=yes |
|
|
|
fi |
|
|
|
|
|
|
|
AC_SUBST(TCL_PACKAGE_PATH) |
|
|
|
@ -410,6 +416,15 @@ AC_SUBST(TCL_LIB_SPEC) |
|
|
|
# |
|
|
|
################################################################# |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dnl Checks for programs |
|
|
|
AC_LIBTOOL_WIN32_DLL |
|
|
|
AC_LIBTOOL_DLOPEN |
|
|
|
## AM_PROG_LIBTOOL |
|
|
|
AC_PROG_LIBTOOL |
|
|
|
|
|
|
|
|
|
|
|
dnl --with-windows : the user wants to use generate the MS WINDOWS executable |
|
|
|
AC_MSG_CHECKING([whether windows code is enabled]) |
|
|
|
AC_ARG_WITH(windows, |
|
|
|
@ -984,7 +999,6 @@ AC_CONFIG_FILES([Makefile |
|
|
|
src/spicelib/Makefile |
|
|
|
src/spicelib/analysis/Makefile |
|
|
|
src/spicelib/devices/Makefile |
|
|
|
${VLAMKF} |
|
|
|
src/spicelib/devices/asrc/Makefile |
|
|
|
src/spicelib/devices/bjt/Makefile |
|
|
|
src/spicelib/devices/bjt2/Makefile |
|
|
|
|