Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 10fac62

Browse files
committed
Better identify tcl and tk.
1 parent 2b3bb34 commit 10fac62

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/configure

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5426,7 +5426,7 @@ else
54265426
echo "$ac_t""no" 1>&6
54275427
fi
54285428

5429-
for f in /usr/include /usr/include/tcl8.0 /usr/local/include /usr/local/include/tcl8.0; do
5429+
for f in /usr/include /usr/include/tcl /usr/include/tcl8.0 /usr/local/include /usr/local/include/tcl /usr/local/include/tcl8.0; do
54305430
if test "$TCL_INCDIR" = "no"; then
54315431
ac_safe=`echo "$f/tcl.h" | sed 'y%./+-%__p_%'`
54325432
echo $ac_n "checking for $f/tcl.h""... $ac_c" 1>&6
@@ -5473,7 +5473,7 @@ fi
54735473
if test "$USE_TCL" = "true"
54745474
then
54755475
TCL_LIB=
5476-
for f in tcl8.0 tcl80; do
5476+
for f in tcl tcl8.0 tcl80; do
54775477
if test -z "$TCL_LIB"; then
54785478
echo $ac_n "checking for main in -l$f""... $ac_c" 1>&6
54795479
echo "configure:5480: checking for main in -l$f" >&5
@@ -5567,7 +5567,7 @@ else
55675567
echo "$ac_t""no" 1>&6
55685568
fi
55695569

5570-
for f in /usr/include /usr/include/tk8.0 /usr/local/include /usr/local/include/tk8.0; do
5570+
for f in /usr/include /usr/include/tk /usr/include/tk8.0 /usr/local/include /usr/local/include/tk /usr/local/include/tk8.0; do
55715571
if test "$TK_INCDIR" = "no"; then
55725572
ac_safe=`echo "$f/tk.h" | sed 'y%./+-%__p_%'`
55735573
echo $ac_n "checking for $f/tk.h""... $ac_c" 1>&6
@@ -5619,7 +5619,7 @@ fi
56195619
if test "$USE_TCL" = "true"
56205620
then
56215621
TK_LIB=
5622-
for f in tk8.0 tk80; do
5622+
for f in tk tk8.0 tk80; do
56235623
if test -z "$TK_LIB"; then
56245624
echo $ac_n "checking for main in -l$f""... $ac_c" 1>&6
56255625
echo "configure:5626: checking for main in -l$f" >&5

src/configure.in

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ if test "$USE_TCL" = "true"
564564
then
565565
TCL_INCDIR=no
566566
AC_CHECK_HEADER(tcl.h, TCL_INCDIR=)
567-
for f in /usr/include /usr/include/tcl8.0 /usr/local/include /usr/local/include/tcl8.0; do
567+
for f in /usr/include /usr/include/tcl /usr/include/tcl8.0 /usr/local/include /usr/local/include/tcl /usr/local/include/tcl8.0; do
568568
if test "$TCL_INCDIR" = "no"; then
569569
AC_CHECK_HEADER($f/tcl.h, TCL_INCDIR=$f)
570570
fi
@@ -580,7 +580,7 @@ dnl Check for Tcl archive
580580
if test "$USE_TCL" = "true"
581581
then
582582
TCL_LIB=
583-
for f in tcl8.0 tcl80; do
583+
for f in tcl tcl8.0 tcl80; do
584584
if test -z "$TCL_LIB"; then
585585
AC_CHECK_LIB($f, main, TCL_LIB=$f)
586586
fi
@@ -610,7 +610,7 @@ CPPFLAGS="$CPPFLAGS $X_CFLAGS -I$TCL_INCDIR"
610610

611611
TK_INCDIR=no
612612
AC_CHECK_HEADER(tk.h, TK_INCDIR=)
613-
for f in /usr/include /usr/include/tk8.0 /usr/local/include /usr/local/include/tk8.0; do
613+
for f in /usr/include /usr/include/tk /usr/include/tk8.0 /usr/local/include /usr/local/include/tk /usr/local/include/tk8.0; do
614614
if test "$TK_INCDIR" = "no"; then
615615
AC_CHECK_HEADER($f/tk.h, TK_INCDIR=$f)
616616
fi
@@ -631,7 +631,7 @@ dnl Check for Tk archive
631631
if test "$USE_TCL" = "true"
632632
then
633633
TK_LIB=
634-
for f in tk8.0 tk80; do
634+
for f in tk tk8.0 tk80; do
635635
if test -z "$TK_LIB"; then
636636
AC_CHECK_LIB($f, main, TK_LIB=$f)
637637
fi

0 commit comments

Comments
 (0)