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
|
$NetBSD: patch-ac,v 1.3 2006/03/21 18:48:45 minskim Exp $
--- build/configure.in.orig 2000-05-02 19:27:52.000000000 -0700
+++ build/configure.in
@@ -243,7 +243,8 @@ dnl Make sure we can find a Tcl/Tk inter
LIBOBJS="tcl.o $LIBOBJS"
dnl GNU/Linux Tcl requires -ldl
AC_CHECK_LIB(dl,dlopen)
-LIBS="$LIBS -lm"
+. $TCLCONFIG_SH
+LIBS="$LIBS $TCL_LIBS"
AC_SEARCH_LIBS(Tcl_Init,tcl tcl82 tcl8.2 tcl80 tcl8.0,,dnl
AC_MSG_ERROR([Tcl is required for Vigor but could not be located.]))
AC_SEARCH_LIBS(Tk_Init,tk tk82 tk8.2 tk80 tk8.0,,dnl
@@ -299,6 +300,16 @@ if test "$vi_cv_include_sys_select" = ye
fi
AC_MSG_RESULT($vi_cv_include_sys_select)
+dnl Checks for header files.
+AC_MSG_CHECKING(for sys/stropts.h)
+AC_CACHE_VAL(vi_cv_include_sys_stropts, [dnl
+AC_TRY_CPP([#include <sys/stropts.h>],
+ [vi_cv_include_sys_stropts=yes], [vi_cv_include_sys_stropts=no])])
+if test "$vi_cv_include_sys_stropts" = yes; then
+ AC_DEFINE(HAVE_SYS_STROPTS_H)
+fi
+AC_MSG_RESULT($vi_cv_include_sys_stropts)
+
dnl Checks for typedefs, structures, and compiler characteristics.
AC_CHECK_TYPE(ssize_t, int)
AC_C_BIGENDIAN
|