summaryrefslogtreecommitdiff
path: root/sci-electronics/gwave/files/gwave-20190116-fix-configure.patch
blob: e0c0c4443866c23d04d6b974e0312fbabf76296b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/configure.ac b/configure.ac
index 7a4f1c4..ffcb326 100644
--- a/configure.ac
+++ b/configure.ac
@@ -86,8 +86,7 @@ AC_CHECK_LIB(termcap, tgoto, [
         AC_CHECK_LIB(readline, readline, [
                 READLINE_LIB="-lreadline -lncurses"
                 AC_DEFINE(HAVE_READLINE,1,[Define this if you have the readline library])
-                AC_CHECK_LIB(readline, add_history, AC_DEFINE(HAVE_HISTORY,1,[Define this if your readline also has add_history]),,"-l
-ncurses")
+                AC_CHECK_LIB(readline, add_history, AC_DEFINE(HAVE_HISTORY,1,[Define this if your readline also has add_history]),,"-lncurses")
         ], READLINE_LIB="", "-lncurses")
 ], READLINE_LIB=""))