Commit e4a0fb28 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove un-needed VLC_CONFIG_HELPER macro

parent 0ba5891b
......@@ -80,7 +80,7 @@ fi
##
set +x
echo "generating modules/**/Makefile.am and m4/private.m4"
echo "generating modules/**/Makefile.am"
# Prepare m4/private.m4
rm -f m4/private.m4 && cat > m4/private.m4 << EOF
......@@ -95,21 +95,8 @@ AC_DEFUN([PKG_CHECK_MODULES],[ifelse([\$4], , :, [\$4])])
EOF
fi
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
###
### classic bootstrap stuff
###
......
......@@ -138,8 +138,6 @@ AC_DEFUN([VLC_OUTPUT_VLC_CONFIG_IN], [
sed -ne '/#@1@#/,/#@2@#/p' < "${srcdir}/vlc-config.in.in" \
| sed -e '/#@.@#/d' >> vlc-config.in
VLC_CONFIG_HELPER
dnl '/#@2@#/,${/#@.@#/d;p}' won't work on OS X
sed -ne '/#@2@#/,$p' < "${srcdir}/vlc-config.in.in" \
| sed -e '/#@.@#/d' >> vlc-config.in
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment