configure: on Linux, the BSD functions require linking against libbsd
+Signed-off-by: "Fabrice Fontaine" <fontaine.fabrice@gmail.com>
+(Rebased against 20170329-3.1)
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
(Rebased against 20150325-3.1)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+# Search for libbsd for *vis functions
+AC_CHECK_LIB([bsd], [vis])
+
- AC_CHECK_FUNCS([endpwent isascii memchr memset re_comp regcomp strcasecmp strchr strcspn strdup strerror strrchr strstr strtol issetugid wcsdup strlcpy strlcat fgetln vis strvis strunvis __secure_getenv secure_getenv])
-
+ AC_CHECK_FUNCS([endpwent isascii memchr memset re_comp regcomp strcasecmp strchr strcspn strdup strerror strrchr strstr strtol issetugid wcsdup strlcpy strlcat getline vis strvis strunvis __secure_getenv secure_getenv])
+
# strlcpy
# Locally computed
-sha256 c88a5e4af83c5f40dda8455886ac98923a9c33125699742603a88a0253fcc8c5 libedit-20150325-3.1.tar.gz
+sha256 91f2d90fbd2a048ff6dad7131d9a39e690fd8a8fd982a353f1333dd4017dd4be libedit-20170329-3.1.tar.gz
+sha256 9da6c9c74987a36c84302982799d17d2f748ba1c1c0c471425716173c1d07649 COPYING
#
################################################################################
-LIBEDIT_VERSION = 20150325-3.1
+LIBEDIT_VERSION = 20170329-3.1
LIBEDIT_SITE = http://www.thrysoee.dk/editline
LIBEDIT_INSTALL_STAGING = YES
LIBEDIT_DEPENDENCIES = ncurses
# We're patching configure.ac
LIBEDIT_AUTORECONF = YES
-# Needed for autoreconf to work properly
-define LIBEDIT_FIXUP_M4_DIR
- mkdir $(@D)/m4
-endef
-LIBEDIT_POST_EXTRACT_HOOKS += LIBEDIT_FIXUP_M4_DIR
-
-# Doesn't really support !wchar, but support is disabled otherwise
-LIBEDIT_CONF_OPTS += --enable-widec
-
# musl is ISO 10646 compliant but doesn't define __STDC_ISO_10646__,
# so let's define it manually
ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y)