doc: allow building with old texi2html versions
authorMans Rullgard <mans@mansr.com>
Mon, 8 Oct 2012 10:13:35 +0000 (11:13 +0100)
committerMans Rullgard <mans@mansr.com>
Mon, 8 Oct 2012 19:08:51 +0000 (20:08 +0100)
Signed-off-by: Mans Rullgard <mans@mansr.com>
doc/t2h.init

index 54235d2..78c5177 100644 (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";