build: Fix maintainer-mode and embedded FFmpeg configuration parameters
authorJan Schmidt <thaytan@noraisin.net>
Sun, 19 Apr 2009 01:34:50 +0000 (02:34 +0100)
committerJan Schmidt <thaytan@noraisin.net>
Sun, 19 Apr 2009 01:42:10 +0000 (02:42 +0100)
commit3c064affc1f14d761d99aa049033c8413c0bab05
treeb2464849647306475bd030a76781398db7b4447e
parentae018718d4e21ad392bc7f273c416e4b7437e6bc
build: Fix maintainer-mode and embedded FFmpeg configuration parameters

Don't use AC_CONFIG_SUBDIRS to call the FFmpeg configure script, as it
complains about all the unknown parameters autoconf gives it, and fiddling
with ac_configure_args makes maintainer-mode call our real configure script
with a bunch of bogus arguments.

Instead, use AC_CONFIG_COMMANDS to call the FFmpeg configure script
ourselves.

Remove autogen.sh code that modifies the FFmpeg configure script, as it's
not needed now that we only pass it arguments it understands, and move
the detection of flags like --disable-ffmpeg into the configure script,
otherwise they never get passed to FFmpeg if we call configure ourselves,
such as from a tarball.
autogen.sh
configure.ac