Remove explicit dependency on ncurses.
authorTJ <linux@tjworld.net>
Sat, 3 Apr 2010 09:50:48 +0000 (10:50 +0100)
committerRichard Jones <rjones@redhat.com>
Sat, 3 Apr 2010 09:50:48 +0000 (10:50 +0100)
configure.ac

index 8f19a2f..dda6892 100644 (file)
@@ -143,7 +143,7 @@ AC_ARG_WITH([readline],
 LIBREADLINE=
 AS_IF([test "x$with_readline" != xno],
     [AC_CHECK_LIB([readline], [main],
-        [AC_SUBST([LIBREADLINE], ["-lreadline -lncurses"])
+        [AC_SUBST([LIBREADLINE], ["-lreadline"])
          AC_DEFINE([HAVE_LIBREADLINE], [1],
                    [Define if you have libreadline])
         ],
@@ -151,7 +151,7 @@ AS_IF([test "x$with_readline" != xno],
          AC_MSG_FAILURE(
              [--with-readline was given, but test for readline failed])
          fi
-        ], -lncurses)])
+        ])])
 
 dnl For i18n.
 AM_GNU_GETTEXT([external])