llvm.org GIT mirror llvm / 07de13a
Remove path_tclsh.m4. Looks like it was only used by dejagnu and is now dead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210022 91177308-0d34-0410-b5e6-96231b3b80d8 Rafael Espindola 5 years ago
1 changed file(s) with 0 addition(s) and 39 deletion(s). Raw diff Collapse all Expand all
+0
-39
autoconf/m4/path_tclsh.m4 less more
None dnl This macro checks for tclsh which is required to run dejagnu. On some
1 dnl platforms (notably FreeBSD), tclsh is named tclshX.Y - this handles
2 dnl that for us so we can get the latest installed tclsh version.
3 dnl
4 AC_DEFUN([DJ_AC_PATH_TCLSH], [
5 no_itcl=true
6 AC_MSG_CHECKING(for the tclsh program in tclinclude directory)
7 AC_ARG_WITH(tclinclude,
8 AS_HELP_STRING([--with-tclinclude],
9 [directory where tcl headers are]),
10 [with_tclinclude=${withval}],[with_tclinclude=''])
11 AC_CACHE_VAL(ac_cv_path_tclsh,[
12 dnl first check to see if --with-itclinclude was specified
13 if test x"${with_tclinclude}" != x ; then
14 if test -f ${with_tclinclude}/tclsh ; then
15 ac_cv_path_tclsh=`(cd ${with_tclinclude}; pwd)`
16 elif test -f ${with_tclinclude}/src/tclsh ; then
17 ac_cv_path_tclsh=`(cd ${with_tclinclude}/src; pwd)`
18 else
19 AC_MSG_ERROR([${with_tclinclude} directory doesn't contain tclsh])
20 fi
21 fi])
22
23 dnl see if one is installed
24 if test x"${ac_cv_path_tclsh}" = x ; then
25 AC_MSG_RESULT(none)
26 AC_PATH_PROGS([TCLSH],[tclsh8.4 tclsh8.4.8 tclsh8.4.7 tclsh8.4.6 tclsh8.4.5 tclsh8.4.4 tclsh8.4.3 tclsh8.4.2 tclsh8.4.1 tclsh8.4.0 tclsh8.3 tclsh8.3.5 tclsh8.3.4 tclsh8.3.3 tclsh8.3.2 tclsh8.3.1 tclsh8.3.0 tclsh])
27 if test x"${TCLSH}" = x ; then
28 ac_cv_path_tclsh='';
29 else
30 ac_cv_path_tclsh="${TCLSH}";
31 fi
32 else
33 AC_MSG_RESULT(${ac_cv_path_tclsh})
34 TCLSH="${ac_cv_path_tclsh}"
35 AC_SUBST(TCLSH)
36 fi
37 ])
38