blob: 9db957eceb216afaadc855868b55caa385b7c3f8 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
--- configure.orig Sun Mar 24 11:30:49 2002
+++ configure Fri Apr 19 15:27:15 2002
@@ -868,6 +868,8 @@
--with-ssl Enable SSL support
--with-tgetent Use tgetent (termcap) instead of setupterm (ncurses)
--with-tcl Enable Tcl support
+ --with-tcl-includes=PFX Prefix where tcl.h is installed (optional)
+
--with-maildir=PATH Enable QMAIL support
--with-default-server=SERVERNAME:PORT:PASSWORD:NICK:SERVERNETWORK
Connect to SERVERNAME by default
@@ -11120,6 +11122,17 @@
#define WANT_TCL 1
_ACEOF
+# Check whether --with-tcl-includes was given.
+if test "${with_tcl_includes+set}" = set; then
+ withval="$with_tcl_includes"
+ TCL_INCLUDE=-I$withval
+else
+ TCL_INCLUDE=-I/usr/local/include
+fi;
+
+cat >>confdefs.h <<\ACEOF
+#define WANT_TCL 1
+ACEOF
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
@@ -11518,13 +11531,13 @@
- echo "$as_me:$LINENO: checking for Tcl_SetVar in -ltcl" >&5
-echo $ECHO_N "checking for Tcl_SetVar in -ltcl... $ECHO_C" >&6
-if test "${ac_cv_lib_tcl_Tcl_SetVar+set}" = set; then
+ echo "$as_me:$LINENO: checking for Tcl_SetVar in -ltcl83" >&5
+echo $ECHO_N "checking for Tcl_SetVar in -ltcl83... $ECHO_C" >&6
+if test "${ac_cv_lib_tcl83_Tcl_SetVar+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-ltcl $LIBS"
+LIBS="-ltcl83 $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
@@ -11562,19 +11575,19 @@
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- ac_cv_lib_tcl_Tcl_SetVar=yes
+ ac_cv_lib_tcl83_Tcl_SetVar=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
-ac_cv_lib_tcl_Tcl_SetVar=no
+ac_cv_lib_tcl83_Tcl_SetVar=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-echo "$as_me:$LINENO: result: $ac_cv_lib_tcl_Tcl_SetVar" >&5
-echo "${ECHO_T}$ac_cv_lib_tcl_Tcl_SetVar" >&6
-if test $ac_cv_lib_tcl_Tcl_SetVar = yes; then
- TCL_LIBS="-ltcl"
+echo "$as_me:$LINENO: result: $ac_cv_lib_tcl83_Tcl_SetVar" >&5
+echo "${ECHO_T}$ac_cv_lib_tcl83_Tcl_SetVar" >&6
+if test $ac_cv_lib_tcl83_Tcl_SetVar = yes; then
+ TCL_LIBS="-ltcl83"
else
echo "$as_me:$LINENO: checking for alternate libtcl" >&5
echo $ECHO_N "checking for alternate libtcl... $ECHO_C" >&6
@@ -14776,7 +14789,7 @@
fi
-INCLUDES="-I. -I\$(topdir)/include -I\$(top_srcdir)/include -I\$(srcdir) -I\$(srcdir)/include"
+INCLUDES="-I. -I\$(topdir)/include -I\$(top_srcdir)/include -I\$(srcdir) -I\$(srcdir)/include $TCL_INCLUDE"
|