summaryrefslogtreecommitdiff
path: root/package/m4
diff options
context:
space:
mode:
Diffstat (limited to 'package/m4')
-rw-r--r--package/m4/Config.in4
-rw-r--r--package/m4/m4.mk4
2 files changed, 4 insertions, 4 deletions
diff --git a/package/m4/Config.in b/package/m4/Config.in
index 9928db73a..56b2859fc 100644
--- a/package/m4/Config.in
+++ b/package/m4/Config.in
@@ -1,6 +1,10 @@
config BR2_PACKAGE_M4
bool "m4"
+ depends on BR2_USE_WCHAR
help
An implementation of the traditional Unix macro processor.
http://www.gnu.org/software/m4/m4.html
+
+comment "m4 requires a toolchain with WCHAR support"
+ depends on !BR2_USE_WCHAR
diff --git a/package/m4/m4.mk b/package/m4/m4.mk
index a0b56c42a..7f2e33315 100644
--- a/package/m4/m4.mk
+++ b/package/m4/m4.mk
@@ -7,10 +7,6 @@ M4_VERSION = 1.4.9
M4_SOURCE = m4-$(M4_VERSION).tar.bz2
M4_SITE = $(BR2_GNU_MIRROR)/m4
-ifeq ($(BR2_ENABLE_DEBUG),y) # no install-exec
-M4_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
-endif
-
M4_CONF_ENV = gl_cv_func_gettimeofday_clobber=no
ifneq ($(BR2_USE_WCHAR),y)