#include "../include/allParam.h"
+/* required for tcl>v8.6 thanks to Christian Simon for this hint:*/
+#define USE_INTERP_RESULT
+
/* Allow for registration of a user routine for output of error
* messages and provide a default one
* BUGBUG static variables will eventually break in multithreaded
then
LDFLAGS="-L$with_epics/lib/$EPICS_HOST_ARCH $LDFLAGS"
fi
-AC_SEARCH_LIBS([Tcl_CreateInterp], [tcl tcl8.5 tcl8.4 tcl8.3 tcl8.2 tcl8.0 tcl7.4])
+AC_SEARCH_LIBS([Tcl_CreateInterp], [tcl tcl8.6 tcl8.5 tcl8.4 tcl8.3 tcl8.2 tcl8.0 tcl7.4])
AC_SEARCH_LIBS(conParam, caParam, LIBS="-lcaParam -lca -lCom $LIBS",, -lca -lCom)
elif test x$with_param = xfile
then
AC_SEARCH_LIBS(conParam, oraParam)
elif test x$with_param = xtcl
then
-AC_SEARCH_LIBS([Tcl_CreateInterp], [tcl tcl8.5 tcl8.4 tcl8.3 tcl8.2 tcl8.0 tcl7.4])
+AC_SEARCH_LIBS([Tcl_CreateInterp], [tcl tcl8.6 tcl8.5 tcl8.4 tcl8.3 tcl8.2 tcl8.0 tcl7.4])
AC_SEARCH_LIBS(conParam, tclParam)
else
AC_ERROR([Unknown parameter source $with_param])