2014-07-29 09:35:44 +02:00
|
|
|
Index: configure.ac
|
|
|
|
===================================================================
|
|
|
|
--- configure.ac.orig 2014-07-28 16:16:14.800585267 +0200
|
|
|
|
+++ configure.ac 2014-07-28 16:16:17.338585263 +0200
|
|
|
|
@@ -52,7 +52,7 @@ AC_CHECK_LIB(tinfo, tgetent,,
|
2012-02-23 20:01:31 +01:00
|
|
|
[AC_CHECK_LIB(termcap, tgetent,,
|
|
|
|
[AC_CHECK_LIB(termlib, tgetent,,
|
|
|
|
[AC_CHECK_LIB(curses, tgetent,,
|
|
|
|
- [AC_CHECK_LIB(ncurses, tgetent,,
|
|
|
|
+ [AC_CHECK_LIB(ncursesw, tgetent,,
|
|
|
|
[AC_MSG_ERROR([libcurses or libncurses are required!])]
|
|
|
|
)]
|
|
|
|
)]
|
2014-07-29 09:35:44 +02:00
|
|
|
Index: src/Makefile.am
|
|
|
|
===================================================================
|
|
|
|
--- src/Makefile.am.orig 2014-07-28 16:16:14.800585267 +0200
|
|
|
|
+++ src/Makefile.am 2014-07-28 16:17:25.508585142 +0200
|
|
|
|
@@ -66,5 +66,6 @@ nobase_include_HEADERS = histedit.h edit
|
2011-07-31 23:43:56 +02:00
|
|
|
|
|
|
|
nodist_libedit_la_SOURCES = $(BUILT_SOURCES)
|
|
|
|
|
|
|
|
-libedit_la_LDFLAGS = -no-undefined -version-info $(LT_VERSION)
|
2014-07-29 09:35:44 +02:00
|
|
|
+libedit_la_CFLAGS = $(shell ncursesw6-config --cflags)
|
2011-07-31 23:43:56 +02:00
|
|
|
+libedit_la_LDFLAGS = $(shell ncursesw6-config --libs) -no-undefined -version-info $(LT_VERSION)
|
|
|
|
|
2014-07-29 09:35:44 +02:00
|
|
|
Index: libedit.pc.in
|
|
|
|
===================================================================
|
|
|
|
--- libedit.pc.in.orig 2014-07-28 16:16:14.800585267 +0200
|
|
|
|
+++ libedit.pc.in 2014-07-28 16:16:17.338585263 +0200
|
2011-07-31 23:43:56 +02:00
|
|
|
@@ -7,6 +7,6 @@ Name: libedit
|
|
|
|
Description: command line editor library provides generic line editing, history, and tokenization functions.
|
|
|
|
Version: @VERSION@
|
|
|
|
Requires:
|
|
|
|
-Libs: -L${libdir} -ledit @LIBS@
|
|
|
|
+Libs: -ledit
|
|
|
|
Cflags: -I${includedir} -I${includedir}/editline
|
|
|
|
|