#!/bin/bash # When cross-compiling the Gettext configure script assumes we don't have a # working wcwidth when we do. The following will fix possible compilation # errors because of this assumption: hvconfig_cache() { cat > ${BUILD_DIR}/config.cache << EOF gl_cv_func_wcwidth_works=yes EOF } hvbuild() { ${HVMAKE} -C gnulib-lib ${HVMAKE} -C src msgfmt cp -v src/msgfmt ${TOOLS_DIR}/bin }