Go to file
Ismail Dönmez 0214f43165 Accepting request 313046 from home:scarabeus_iv:branches:devel:libraries:c_c++
I wanted to add one patch, but then I found few bugs in it
but the cleanup itself is okay too.

- Cleanup a bit with spec-cleaner
  * remove pkg_name variable which is equal to name variable

OBS-URL: https://build.opensuse.org/request/show/313046
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libedit?expand=0&rev=54
2015-06-22 12:31:42 +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`

Description
No description provided
Readme 622 KiB
Languages
RPM Spec 100%