#!/bin/bash hvconfig_pre() { # Add a missing include statement into one of the source files: sed -e '/"m4.h"/i\#include ' -i ${LFS_TMP}/${PACKAGE}/src/path.c } # Configure can not properly determine the results of the following tests: hvconfig_cache() { cat > ${LFS_TMP}/${PACKAGE}-build/config.cache << EOF gl_cv_func_btowc_eof=yes gl_cv_func_mbrtowc_incomplete_state=yes gl_cv_func_mbrtowc_sanitycheck=yes gl_cv_func_mbrtowc_null_arg=yes gl_cv_func_mbrtowc_retval=yes gl_cv_func_mbrtowc_nul_retval=yes gl_cv_func_wcrtomb_retval=yes gl_cv_func_wctob_works=yes EOF }