|
@@ -12,6 +12,9 @@ LIBEDIT_DEPENDENCIES = ncurses
|
|
|
# We're patching configure.ac
|
|
|
LIBEDIT_AUTORECONF = YES
|
|
|
|
|
|
+# Doesn't really support !wchar, but support is disabled otherwise
|
|
|
+LIBEDIT_CONF_OPT += --enable-widec
|
|
|
+
|
|
|
# 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.
|
|
@@ -19,11 +22,4 @@ 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))
|