# When Cross Compiling the configure script does not determine the correct
# values for the following, Set the values manually:
-config_cache()
+hvconfig_cache()
{
cat > ${LFS_TMP}/${PACKAGE}-build/config.cache << EOF
ac_cv_func_malloc_0_nonnull=yes
EOF
}
-configure_pre()
+hvconfig_pre()
{
# Make sure that Flex doesn't try to include headers from /usr/include.
sed -e "s/-I@includedir@//g" -i ${LFS_TMP}/${PACKAGE}/Makefile.in