Index: ddd-3.3.12/configure.ac
===================================================================
--- ddd-3.3.12.orig/configure.ac	2011-12-03 09:17:16.000000000 -0800
+++ ddd-3.3.12/configure.ac	2011-12-03 09:39:09.000000000 -0800
@@ -329,7 +329,7 @@
 ddd_termlib=
 AC_ARG_WITH([termlib],
 AS_HELP_STRING([--with-termlib=LIB],
-[terminal library is LIB=mytinfo|ncurses|curses|termcap|terminfo|...]),[
+[terminal library is LIB=mytinfo|tinfo|ncurses|curses|termcap|terminfo|...]),[
  case "${withval}" in
  no)
   AC_MSG_ERROR([A termcap compatible library is necessary.])
@@ -360,7 +360,7 @@
 dnl
 _termlib="${ddd_termlib}"
 if test "x${ddd_termlib}" = x; then
-  _termlib="mytinfo ncurses curses termcap terminfo termlib"
+  _termlib="mytinfo tinfo ncurses curses termcap terminfo termlib"
 fi
 _termlib_path=
 if test x"${ddd_termlib_libraries_path}" != x; then
