forked from pool/libedit
7eec6c0790d406229e6ceab8d2a398a1dd4097dec51872e39b9ce25d092aa49f
Copy from devel:libraries:c_c++/libedit based on submit request 27363 from user coolo OBS-URL: https://build.opensuse.org/request/show/27363 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libedit?expand=0&rev=4
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
Languages
Diff
100%