[MPlayer-dev-eng] [PATCH] configure: much faster configure --help
Erik Auerswald
auerswal at unix-ag.uni-kl.de
Mon Feb 11 17:40:53 CET 2013
Hi,
MPlayer's configure does a lot of work before checking command line
options. This includes updating of an ffmpeg git repository before
producing help output, even when only asked for help.
The attached patch rearranges configure's help output code to be in
front of ffmpeg repo checks and updates and introduces a new check, if
the first command line option is --help or -h and prints the help
immediately.
This drastically speeds up checking for available configure options, if
done the common way of "./configure --help". If the --help resp. -h
option is somewhere else on configure's command line, the (kept)
existing check will find this after doing all the initial setup work,
taking much longer overall.
Erik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-configure-short_circuit_--help.patch
Type: text/x-diff
Size: 14201 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20130211/0a662d95/attachment.bin>
More information about the MPlayer-dev-eng
mailing list