libedit/README.SUSE
Stephan Kulow 6f2a35a497 Accepting request 242755 from home:darix:branches:devel:libraries:c_c++
- rename README.SUSE (bnc#889029)

- update to 20140620-3.1
  upgrade to fix a crash with clear_history e.g. in php.

OBS-URL: https://build.opensuse.org/request/show/242755
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libedit?expand=0&rev=49
2014-07-29 07:35:44 +00:00

20 lines
622 B
Plaintext

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`