diff --git a/config.subr b/config.subr
index 651f280..ff5a421 100644
--- a/config.subr
+++ b/config.subr
@@ -118,6 +118,13 @@ require_pkg_config() {
fi
}
+sources() {
+ echo "$1 = \\
+$(echo "$2" | sed -e 's/^\(.*\)$/ \1 \\\\/')
+" >> ${SOURCES_MK}
+ echo "$1='$(echo "$2" | tr '\n' ' ')'" >> ${SOURCES_SH}
+}
+
update_config_h() {
echo "#endif" >> "${CONFIG_H}"
if ! cmp "${CONFIG_H}" config.h >/dev/null 2>&1; then