summaryrefslogtreecommitdiffstats
path: root/package/libedit/libedit.mk
blob: 6769fdc2a8853f2c66d8f14330426db4d16d2f12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
################################################################################
#
# libedit
#
################################################################################

LIBEDIT_VERSION         = 20130712-3.1
LIBEDIT_SITE            = http://www.thrysoee.dk/editline/
LIBEDIT_INSTALL_STAGING = YES
LIBEDIT_DEPENDENCIES    = ncurses

# We're patching configure.ac
LIBEDIT_AUTORECONF      = YES

# Note: libbsd required for *vis functions, but works only with a toolchain
# with __progname; otherwise, some features are disabled, as if libbsd was
# missing entirely.
ifeq ($(BR2_PACKAGE_LIBBSD),y)
LIBEDIT_DEPENDENCIES   += libbsd
endif

# Wide-char support is not autodetected by configure, we have to help a bit.
ifeq ($(BR2_TOOLCHAIN_EXTERNAL_WCHAR),y)
LIBEDIT_CONF_OPT       += --enable-widec
else
LIBEDIT_CONF_OPT       += --disable-widec
endif

$(eval $(autotools-package))
OpenPOWER on IntegriCloud