Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0ab3c09

Browse files
committed
Hmmm. It had to do with tcl/tk on FreeBSD. The configure scripts are
indifferent directories. The patch gave the option of specifying a dirforthe tk script and if they were both in the same directory then it didn'tmind being empty. It's small so I'm including it. It was tested withautoconf 2.12.Vince.
1 parentd4ff6c3 commit0ab3c09

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

‎src/configure.in

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,21 @@ AC_ARG_WITH(tclconfig,
301301
]
302302
)
303303

304+
dnl We see if the path to the TK configuration scripts is specified.
305+
dnl This will overide the use of tclsh to find the paths to search.
306+
307+
AC_ARG_WITH(tkconfig,
308+
[ --with-tkconfig=DIR tkConfig.sh is in DIR],
309+
[
310+
case "$withval" in
311+
"" | y | ye | yes | n | no)
312+
AC_MSG_ERROR([*** You must supply an argument to the --with-tkconfig option.])
313+
;;
314+
esac
315+
TK_DIRS="$withval"
316+
]
317+
)
318+
304319
dnl We exclude perl support unless we override it with --with-perl
305320
AC_MSG_CHECKING(setting USE_PERL)
306321
AC_ARG_WITH(
@@ -927,7 +942,7 @@ then
927942
then
928943
library_dirs=`echo 'puts $auto_path' | $TCLSH`
929944
fi
930-
library_dirs="$TCL_DIRS $library_dirs"
945+
library_dirs="$TCL_DIRS $TK_DIRS $library_dirs"
931946
for dir in $library_dirs; do
932947
if test -d "$dir" -a -r "$dir/tclConfig.sh"; then
933948
TCL_CONFIG_SH=$dir/tclConfig.sh

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp