-cat >> m4/private.m4 << EOF
-dnl Helper macro for vlc-config generation
-AC_DEFUN([VLC_CONFIG_HELPER], [
- cat >> vlc-config.in << BLAH
-EOF
-
-modules=""
-
-modules/genmf `sed -ne 's,modules/\(.*\)/Makefile,\1,p' configure.ac`
-
-cat >> m4/private.m4 << EOF
-BLAH
-])
-EOF
+sh modules/genmf `sed -ne 's,modules/\(.*\)/Makefile,\1,p' configure.ac`