diff options
| -rw-r--r-- | configure.ac | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 19575e80cf4..df74f8cd2f8 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -5212,7 +5212,11 @@ fail; | |||
| 5212 | ;; | 5212 | ;; |
| 5213 | 5213 | ||
| 5214 | netbsd) | 5214 | netbsd) |
| 5215 | if test "x$LIBS_TERMCAP" != "x-lterminfo"; then | 5215 | # NetBSD versions prior to 6.0 lack native terminfo, but have a |
| 5216 | # tputs() built on top of termcap in these libraries. Use native | ||
| 5217 | # termcap instead in this case. NetBSD >= 6.0 has native terminfo | ||
| 5218 | # implementation in -lterminfo. | ||
| 5219 | if test "x$LIBS_TERMCAP" = "x-ltermcap" -o "x$LIBS_TERMCAP" = "x-lcurses"; then | ||
| 5216 | TERMINFO=no | 5220 | TERMINFO=no |
| 5217 | LIBS_TERMCAP="-ltermcap" | 5221 | LIBS_TERMCAP="-ltermcap" |
| 5218 | fi | 5222 | fi |