aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-07-07 10:11:17 +0000
committerGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-07-07 10:11:17 +0000
commit595883a832b470ca1e20e6abf76bf113e0ec5660 (patch)
tree062c927bd61accf5f2fcce3d637a92a67b9baea6
parent911a8934de1c4950b74da7ad106c5a81e2977990 (diff)
downloadbuildroot-595883a832b470ca1e20e6abf76bf113e0ec5660.tar.gz
buildroot-595883a832b470ca1e20e6abf76bf113e0ec5660.tar.bz2
- account for setups without wchar support.
-rw-r--r--package/m4/m4.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/m4/m4.mk b/package/m4/m4.mk
index 587144e3d6..901d2b0138 100644
--- a/package/m4/m4.mk
+++ b/package/m4/m4.mk
@@ -15,6 +15,10 @@ M4_TARGET_BINARY:=usr/bin/m4
ifeq ($(UCLIBC_HAS_REGEX),y)
gl_cv_func_re_compile_pattern_working=gl_cv_func_re_compile_pattern_working=yes
endif
+ifneq ($(UCLIBC_HAS_WCHAR),y)
+gt_cv_c_wchar_t=gt_cv_c_wchar_t=no
+gl_cv_absolute_wchar_h=gl_cv_absolute_wchar_h=__fpending.h
+endif
$(DL_DIR)/$(M4_SOURCE):
$(WGET) -P $(DL_DIR) $(M4_SITE)/$(M4_SOURCE)
@@ -33,6 +37,8 @@ $(M4_DIR)/.configured: $(M4_DIR)/.unpacked
$(TARGET_CONFIGURE_ARGS) \
gl_cv_func_gettimeofday_clobber=no \
$(gl_cv_func_re_compile_pattern_working) \
+ $(gt_cv_c_wchar_t) \
+ $(gl_cv_absolute_wchar_h) \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \