freebsd-ports/textproc/wdiff/files/patch-ad
MIHIRA Sanpei Yoshiro d0d5a9f83f use INFO_PATH
Obtainde from NetBSD
  - Enable termcap.  Chack tputs() after -ltermcap is detected (configure*).
  - Use mkstemp() instead of tmpnam(), for safety.
2004-04-15 09:47:39 +00:00

20 lines
492 B
Text

$NetBSD: patch-aa,v 1.1 2003/01/24 14:12:04 itohy Exp $
--- configure.in.orig Sun Nov 6 13:15:50 1994
+++ configure.in Fri Jan 24 22:23:43 2003
@@ -40,7 +40,6 @@
AC_HEADER_STDC
AC_TYPE_SIGNAL
-AC_CHECK_FUNCS(strerror tputs)
AC_FUNC_ALLOCA
test "$ALLOCA" = alloca.o && LIBOBJS="$LIBOBJS xmalloc.o"
AC_FUNC_VPRINTF
@@ -60,6 +59,7 @@
AC_MSG_RESULT(no)
LIBS="$LIBS -ltermcap"
])
+AC_CHECK_FUNCS(strerror tputs mkstemp)
AC_MSG_CHECKING(if cbars is wanted)
AC_ARG_ENABLE(cbars,