doc: allow building with old texi2html versions

Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
Mans Rullgard 2012-10-08 11:13:35 +01:00
parent ea14a655f7
commit 27a310e381
1 changed files with 2 additions and 1 deletions

View File

@ -145,7 +145,8 @@ $print_page_foot = \&Libav_print_page_foot;
sub Libav_print_page_foot($$)
{
my $fh = shift;
my $program_string = T2H_DEFAULT_program_string();
my $program_string = defined &T2H_DEFAULT_program_string ?
T2H_DEFAULT_program_string() : program_string();
print $fh '<footer class="footer pagination-right">' . "\n";
print $fh '<span class="label label-info">' . $program_string;
print $fh "</span></footer></div>\n";