mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-10-28 10:04:37 +08:00
configure: collapse else + if into elif
This commit is contained in:
1 parent
31f280e1e6
commit
49a2d426e9
1 file changed
+2
-4
@@ -7630,10 +7630,8 @@ $makeinfo --version > /dev/null 2>&1 && enable makeinfo_command || disable makei
|
||||
if enabled makeinfo_command; then
|
||||
[ 0$($makeinfo --version | grep "texinfo" | sed 's/.*texinfo[^0-9]*\([0-9]*\)\..*/\1/') -ge 5 ] \
|
||||
&& enable makeinfo_html || disable makeinfo_html
|
||||
else
|
||||
if test "$makeinfo" != "$makeinfo_default" ; then
|
||||
warn "Specified makeinfo \"$makeinfo\" not found."
|
||||
fi
|
||||
elif test "$makeinfo" != "$makeinfo_default" ; then
|
||||
warn "Specified makeinfo \"$makeinfo\" not found."
|
||||
fi
|
||||
|
||||
disabled makeinfo_html && texi2html --help 2> /dev/null | grep -q 'init-file' && enable texi2html || disable texi2html
|
||||
|
||||
Reference in new issue
Block a user