freebsd-ports/devel/tcl-memchan/files/patch-conf
Neil Blakey-Milner ad814bbdd7 Add tcl-memchan, an extension library to tcl, which is useful for
transferring large amounts of data between procedures or interpreters.

PR:		ports/18761
Submitted by:	Mikhail Teterin <mi@privatelabs.com>
2000-07-31 15:36:11 +00:00

69 lines
1.8 KiB
Plaintext

--- configure Sat Jan 15 15:51:23 2000
+++ configure Mon May 22 18:04:39 2000
@@ -1051,65 +1051,2 @@
-
-echo $ac_n "checking for tcl library""... $ac_c" 1>&6
-echo "configure:1055: checking for tcl library" >&5
-if eval "test \"`echo '$''{'memchan_cv_lib_TCL_LIB'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- memchan_cv_lib_TCL_LIB=""
- places="$TCL_LIB_DIR \
- ../../tcl8.2.*/unix \
- ../../tcl8.2/unix \
- ../../tcl8.2b*/unix \
- ../../tcl8.2a*/unix \
- ../../tcl8.1.*/unix \
- ../../tcl8.1/unix \
- ../../tcl8.1b*/unix \
- ../../tcl8.1a*/unix \
- ../../tcl8.0.*/unix \
- ../../tcl8.0/unix \
- ../../tcl/unix \
- ../../tcl \
- $exec_prefix/lib \
- $prefix/lib \
- /usr/local/lib \
- /usr/lib"
- for dir in $places; do
- if test -n "$memchan_cv_lib_TCL_LIB"; then
- break
- fi
- for version in 8.2 8.1.1 8.1 8.0.5 8.0.4 8.0.3 8.0 82 811 81 805 804 803 80 ""; do
- if test -n "$memchan_cv_lib_TCL_LIB"; then
- break
- fi
- for libsuff in .so ".so.*" .sl .a; do
- if test -n "$memchan_cv_lib_TCL_LIB"; then
- break
- fi
- if test -f $dir/libtcl$version$libsuff; then
- memchan_cv_lib_TCL_LIB="-L$dir -ltcl$version"
- TCL_LIB_DIR="$dir"
- fi
- done
- done
- done
-fi
-
-echo "$ac_t""$memchan_cv_lib_TCL_LIB" 1>&6
-
-TCL_LIB="$memchan_cv_lib_TCL_LIB"
-if test -z "$TCL_LIB" ; then
- { echo "configure: error: not found; use --with-tcl-lib-dir=path" 1>&2; exit 1; }
-fi
-
-
-
-if eval "test \"`echo '$''{'memchan_cv_TCL_LIB_DIR'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- memchan_cv_TCL_LIB_DIR="$TCL_LIB_DIR"
-fi
-
-TCL_LIB_DIR="$memchan_cv_TCL_LIB_DIR"
-
-
#--------------------------------------------------------------------