|
6118 | 6118 | if test "$USE_TCL"; then
|
6119 | 6119 | echo $ac_n "checking for tclConfig.sh""... $ac_c" 1>&6
|
6120 | 6120 | echo "configure:6121: checking for tclConfig.sh" >&5
|
6121 |
| - library_dirs="/usr/lib $LIBRARY_DIRS" |
| 6121 | + library_dirs="$LIBRARY_DIRS /usr/lib" |
6122 | 6122 | TCL_CONFIG_SH=
|
6123 | 6123 | for dir in $library_dirs; do
|
6124 | 6124 | for tcl_dir in $tcl_dirs; do
|
@@ -6268,6 +6268,36 @@ fi
|
6268 | 6268 | LDFLAGS="$ice_save_LDFLAGS"
|
6269 | 6269 | fi
|
6270 | 6270 |
|
| 6271 | +if test "$USE_TCL"; then |
| 6272 | + echo $ac_n "checking for tkConfig.sh""... $ac_c" 1>&6 |
| 6273 | +echo "configure:6121: checking for tkConfig.sh" >&5 |
| 6274 | + library_dirs="$LIBRARY_DIRS /usr/lib" |
| 6275 | + TK_CONFIG_SH= |
| 6276 | + for dir in $library_dirs; do |
| 6277 | + for tk_dir in $tk_dirs; do |
| 6278 | + if test -z "$TK_CONFIG_SH"; then |
| 6279 | + if test -d "$dir/$tk_dir" -a -r "$dir/$tk_dir/tkConfig.sh"; then |
| 6280 | + TK_CONFIG_SH=$dir/$tk_dir/tkConfig.sh |
| 6281 | + fi |
| 6282 | + fi |
| 6283 | + done |
| 6284 | + if test -z "$TK_CONFIG_SH"; then |
| 6285 | + if test -d "$dir" -a -r "$dir/tkConfig.sh"; then |
| 6286 | + TK_CONFIG_SH=$dir/tkConfig.sh |
| 6287 | + fi |
| 6288 | + fi |
| 6289 | + done |
| 6290 | + if test -z "$TK_CONFIG_SH"; then |
| 6291 | + echo "$ac_t""no" 1>&6 |
| 6292 | + echo "configure: warning: tcl support disabled; Tk configuration script missing" 1>&2 |
| 6293 | + USE_TCL= |
| 6294 | + else |
| 6295 | + echo "$ac_t""$TK_CONFIG_SH" 1>&6 |
| 6296 | + |
| 6297 | + fi |
| 6298 | +fi |
| 6299 | + |
| 6300 | + |
6271 | 6301 | #if test "X$USE_ODBC" = "Xtrue"
|
6272 | 6302 | #then
|
6273 | 6303 | # AC_CONFIG_SUBDIRS(interfaces/odbc)
|
@@ -6424,6 +6454,7 @@ trap 'rm -fr `echo "GNUmakefile
|
6424 | 6454 | bin/pg_dump/Makefile
|
6425 | 6455 | bin/pg_version/Makefile
|
6426 | 6456 | bin/psql/Makefile
|
| 6457 | + bin/pgtclsh/mkMakefile.tcltkdefs.sh |
6427 | 6458 | include/version.h
|
6428 | 6459 | interfaces/libpq/Makefile
|
6429 | 6460 | interfaces/ecpg/lib/Makefile
|
@@ -6532,6 +6563,7 @@ s%@X11_LIBS@%$X11_LIBS%g
|
6532 | 6563 | s%@TCL_LIB@%$TCL_LIB%g
|
6533 | 6564 | s%@TCL_CONFIG_SH@%$TCL_CONFIG_SH%g
|
6534 | 6565 | s%@TK_LIB@%$TK_LIB%g
|
| 6566 | +s%@TK_CONFIG_SH@%$TK_CONFIG_SH%g |
6535 | 6567 |
|
6536 | 6568 | CEOF
|
6537 | 6569 | EOF
|
@@ -6580,6 +6612,7 @@ CONFIG_FILES=\${CONFIG_FILES-"GNUmakefile
|
6580 | 6612 | bin/pg_dump/Makefile
|
6581 | 6613 | bin/pg_version/Makefile
|
6582 | 6614 | bin/psql/Makefile
|
| 6615 | + bin/pgtclsh/mkMakefile.tcltkdefs.sh |
6583 | 6616 | include/version.h
|
6584 | 6617 | interfaces/libpq/Makefile
|
6585 | 6618 | interfaces/ecpg/lib/Makefile
|
|
0 commit comments