summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2015-03-06 19:48:31 (GMT)
committerdgp <dgp@users.sourceforge.net>2015-03-06 19:48:31 (GMT)
commitab704746408f289e77a8f88c3cdd4f6c03777d2d (patch)
tree83e8c592ef87f0b5b69a66ab8c23157d63efe271 /tools
parent280c91cc419e64df5fcb44adf594f89a0e5471c8 (diff)
downloadtcl-ab704746408f289e77a8f88c3cdd4f6c03777d2d.zip
tcl-ab704746408f289e77a8f88c3cdd4f6c03777d2d.tar.gz
tcl-ab704746408f289e77a8f88c3cdd4f6c03777d2d.tar.bz2
`make html` must tolerate bundled packages using configure.ac over configure.in.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/tcltk-man2html.tcl6
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]} {