diff options
author | dgp <dgp@users.sourceforge.net> | 2015-03-06 19:48:31 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2015-03-06 19:48:31 (GMT) |
commit | ab704746408f289e77a8f88c3cdd4f6c03777d2d (patch) | |
tree | 83e8c592ef87f0b5b69a66ab8c23157d63efe271 | |
parent | 280c91cc419e64df5fcb44adf594f89a0e5471c8 (diff) | |
download | tcl-ab704746408f289e77a8f88c3cdd4f6c03777d2d.zip tcl-ab704746408f289e77a8f88c3cdd4f6c03777d2d.tar.gz tcl-ab704746408f289e77a8f88c3cdd4f6c03777d2d.tar.bz2 |
`make html` must tolerate bundled packages using configure.ac over configure.in.
-rwxr-xr-x | tools/tcltk-man2html.tcl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/tcltk-man2html.tcl b/tools/tcltk-man2html.tcl index 89e8e5c..1ceceb9 100755 --- a/tools/tcltk-man2html.tcl +++ b/tools/tcltk-man2html.tcl @@ -667,7 +667,11 @@ try { # ... but try to extract (name, version) from subdir contents try { - set f [open [file join $pkgsDir $dir configure.in]] + try { + set f [open [file join $pkgsDir $dir configure.in]] + } trap {POSIX ENOENT} {} { + set f [open [file join $pkgsDir $dir configure.ac]] + } foreach line [split [read $f] \n] { if {2 == [scan $line \ { AC_INIT ( [%[^]]] , [%[^]]] ) } n v]} { |