diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1997-11-10 11:42:18 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1997-11-10 11:42:18 +0000 |
commit | 1f641d04d92cff566d01915e043fcdacb21f4405 (patch) | |
tree | 8c3aaff820f4f4fcacaea67b71aad8600d68419c /x11-servers/XFree86-4-Server | |
parent | 3dc4a97646aa976c40774e8b443657443bfdf12b (diff) | |
download | ports-1f641d04d92cff566d01915e043fcdacb21f4405.tar.gz ports-1f641d04d92cff566d01915e043fcdacb21f4405.zip |
Notes
Diffstat (limited to 'x11-servers/XFree86-4-Server')
-rw-r--r-- | x11-servers/XFree86-4-Server/scripts/configure | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/x11-servers/XFree86-4-Server/scripts/configure b/x11-servers/XFree86-4-Server/scripts/configure index d5d693bbfbc7..fdac66d27e98 100644 --- a/x11-servers/XFree86-4-Server/scripts/configure +++ b/x11-servers/XFree86-4-Server/scripts/configure @@ -21,7 +21,7 @@ rm -f $F # Tk detection tkversion= -for v in 1 2 3 4; do +for v in 1 2; do if [ -f /usr/local/lib/libtk4$v.a ]; then tkversion=$v fi @@ -30,12 +30,20 @@ if [ X$tkversion != X ]; then echo "Using tk-4.$tkversion" echo "#define HasTk YES" >>$F echo "#define TkLibDir /usr/local/lib" >>$F - echo "#define TkIncDir /usr/local/include" >>$F + echo "#define TkIncDir /usr/local/include/tk4.$tkversion" >>$F echo "#define TkLibName tk4$tkversion" >>$F echo "#define HasTcl YES" >>$F - echo "#define TclLibDir /usr/lib" >>$F - echo "#define TclIncDir /usr/include" >>$F - echo "#define TclLibName tcl75" >>$F + echo "#define TclLibDir /usr/local/lib" >>$F + case $tkversion in + 1) + tclversion=5 + ;; + 2) + tclversion=6 + ;; + esac + echo "#define TclIncDir /usr/local/include/tcl7.$tclversion" >>$F + echo "#define TclLibName tcl7$tclversion" >>$F else cat <<EOF *** I don't see the static library for tk version 4 in /usr/local/lib. |