summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/dejagnu/dejagnu-1.5/remove-expect-tcl-dependency.patch
blob: 9e5471a09789e64727f729a13728d1389fb1f21a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Remove the build dependency on expect and tcl

Upstream-Status: Pending

Signed-off-by: Anders Roxell <anders.roxell@enea.com>
---
diff -uNr a/configure.ac b/configure.ac
--- a/configure.ac	2013-01-17 16:05:13.715074360 +0100
+++ b/configure.ac	2013-01-17 16:25:48.678029417 +0100
@@ -37,24 +37,5 @@
 AC_PATH_PROG([DOCBOOK2PS], [docbook2ps], [false])
 AC_PATH_PROG([DOCBOOK2TEXI], [docbook2x-texi], [false])
 
-dnl Search for expect.
-AC_PATH_PROG([EXPECT], [expect])
-if test -z $ac_cv_path_EXPECT ; then
-   AC_MSG_ERROR([unable to locate expect])
-fi
-
-dnl Check the Tcl version is >= 8.3.
-AC_MSG_CHECKING([Tcl version 8.3 or greater])
-AC_CACHE_VAL(ac_cv_dg_tcl_modern,[
-  ac_cv_dg_tcl_modern=`$EXPECT << EOF
-if @<:@ expr \\${tcl_version} >= 8.3  @:>@ then { puts yes } else { puts no }
-EOF`
-])
-if test x${ac_cv_dg_tcl_modern} = xyes ; then
-  AC_MSG_RESULT(${ac_cv_dg_tcl_modern})
-else
-  AC_MSG_ERROR([Tcl 8.3 or greater is required])
-fi
-
 AC_CONFIG_SUBDIRS([example/calc example/hello example/mathhelper])
 AC_OUTPUT([Makefile])