forked from pool/libedit
1
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Dominique Leuenberger 736e52c77a Accepting request 1083349 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1083349
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libedit?expand=0&rev=33
1 month ago
.gitattributes OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libedit?expand=0&rev=1 15 years ago
README.SUSE Accepting request 242755 from home:darix:branches:devel:libraries:c_c++ 9 years ago
baselibs.conf Accepting request 77692 from home:tiwai:branches:devel:libraries:c_c++ 12 years ago
libedit-20180525-manpage-conflicts.patch Accepting request 935866 from home:dirkmueller:Factory 2 years ago
libedit-20210910-3.1.tar.gz Accepting request 935866 from home:dirkmueller:Factory 2 years ago
libedit-hidden-symbols.patch Accepting request 1077563 from home:elvigia:branches:devel:libraries:c_c++ 1 month ago
libedit.changes Accepting request 1077563 from home:elvigia:branches:devel:libraries:c_c++ 1 month ago
libedit.spec Accepting request 1077563 from home:elvigia:branches:devel:libraries:c_c++ 1 month ago

README.SUSE

 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`