SHA256
3
0
forked from pool/libedit
Go to file
Sascha Peilicke aa0fa710ef Accepting request 77512 from devel:libraries:c_c++
- Link with ncurses6w instead of ncurses5 
- Do not inject artificial dependencies on other packages (forwarded request 77511 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/77512
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libedit?expand=0&rev=10
2011-08-01 07:44:16 +00:00
.gitattributes OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libedit?expand=0&rev=1 2008-09-07 23:43:02 +00:00
.gitignore OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libedit?expand=0&rev=1 2008-09-07 23:43:02 +00:00
libedit-20100424-3.0-ncurses.patch Accepting request 77511 from home:elvigia:branches:devel:libraries:c_c++ 2011-07-31 21:43:56 +00:00
libedit-20100424-3.0.tar.bz2 Accepting request 77511 from home:elvigia:branches:devel:libraries:c_c++ 2011-07-31 21:43:56 +00:00
libedit-downgrade_autoconf.patch Accepting request 77511 from home:elvigia:branches:devel:libraries:c_c++ 2011-07-31 21:43:56 +00:00
libedit.changes Accepting request 77511 from home:elvigia:branches:devel:libraries:c_c++ 2011-07-31 21:43:56 +00:00
libedit.spec Accepting request 77511 from home:elvigia:branches:devel:libraries:c_c++ 2011-07-31 21:43:56 +00:00
README.SuSE OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libedit?expand=0&rev=1 2008-09-07 23:43:02 +00:00

 Examples
----------

An Editline port of the fileman.c example from the GNU Readline documentation is
distributed with this package.

Note libcurses, as well as libedit, should be linked to Editline enabled
programs, e.g.
gcc -o fileman fileman.c -ledit -lcurses

A pkg-config libedit.pc file is provided, so you can write 
PKG_CHECK_MODULES(LIBEDIT, libedit)

in configure.ac of your client program to detect the existence of libedit.so and
to set CFLAGS and LIBS for using libedit. 

Using the pkg-config helper tool, the above fileman example looks like,
gcc -o fileman fileman.c `pkg-config --libs --cflags libedit`