Skip to content

[minor] Use the available packaged libraries for libedit #22

Description

@kingtaurus

Within Ubuntu (and many other Linux variants) it is possible to use the package libedit-dev to provide necessary headers and libraries for building voglperf.

apt-file list libedit-dev
libedit-dev: /usr/include/editline/history.h
libedit-dev: /usr/include/editline/readline.h
libedit-dev: /usr/include/histedit.h
libedit-dev: /usr/lib/x86_64-linux-gnu/libedit.a
libedit-dev: /usr/lib/x86_64-linux-gnu/libedit.so
libedit-dev: /usr/lib/x86_64-linux-gnu/pkgconfig/libedit.pc
libedit-dev: /usr/share/doc/libedit-dev/changelog.Debian.gz
libedit-dev: /usr/share/doc/libedit-dev/copyright
...snip...

Diffs are below:

diff -p0 src/libedit-3.1/include/histedit.h /usr/include/histedit.h 
*** src/libedit-3.1/include/histedit.h  2014-09-03 10:35:20.000000000 -0700
--- /usr/include/histedit.h 2013-10-21 06:51:16.000000000 -0700
***************
*** 1 ****
! /*    $NetBSD: histedit.h,v 1.50 2013/01/22 20:23:21 christos Exp $   */
--- 1 ----
! /*    $NetBSD: histedit.h,v 1.51 2013/07/12 17:48:29 christos Exp $   */
*************** int      el_wget(EditLine *, int, ...);
*** 281 ****
--- 282 ----
+ int        el_cursor(EditLine *, int);

There is no difference between editline/readline.h;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions