aboutsummaryrefslogtreecommitdiff
path: root/x11/XFree86-4-clients
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>1999-12-05 21:41:59 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>1999-12-05 21:41:59 +0000
commit317951fdc1a7df35d54bfe5df83e31e43921f0fa (patch)
tree6fe1c83ec4d1c4a4f8cb5457e2152425686d3131 /x11/XFree86-4-clients
parent9a2cc74bea2e5a4db757d6acbae10d5ddd52882d (diff)
downloadports-317951fdc1a7df35d54bfe5df83e31e43921f0fa.tar.gz
ports-317951fdc1a7df35d54bfe5df83e31e43921f0fa.zip
Notes
Diffstat (limited to 'x11/XFree86-4-clients')
-rw-r--r--x11/XFree86-4-clients/scripts/configure44
1 files changed, 35 insertions, 9 deletions
diff --git a/x11/XFree86-4-clients/scripts/configure b/x11/XFree86-4-clients/scripts/configure
index 4120f92f9a84..f45e2e3b0ceb 100644
--- a/x11/XFree86-4-clients/scripts/configure
+++ b/x11/XFree86-4-clients/scripts/configure
@@ -74,15 +74,41 @@ for v in 42 80 81 82 42jp 80jp; do
fi
done
if [ X$tkversion != X ]; then
- echo "Using tk-$tkLversion"
- echo "#define HasTk YES" >>$F
- echo "#define TkLibDir /usr/local/lib" >>$F
- echo "#define TkIncDir /usr/local/include/tk$tkLversion" >>$F
- echo "#define TkLibName tk$tkversion" >>$F
- echo "#define HasTcl YES" >>$F
- echo "#define TclLibDir /usr/local/lib" >>$F
- echo "#define TclIncDir /usr/local/include/tcl$tclLversion" >>$F
- echo "#define TclLibName tcl$tclversion" >>$F
+ case $tkversion in
+ *jp)
+ echo "Using Japanized tk-$jptkLversion"
+ if [ X"${MACHINE}" = X"pc98" ]; then
+ echo "#define HasJpTk YES" >>$F
+ echo "#define JpTkLibDir /usr/local/lib" >>$F
+ echo "#define JpTkIncDir /usr/local/include/tk$tkLversion" >>$F
+ echo "#define JpTkLibName tk$tkversion" >>$F
+ echo "#define HasJpTcl YES" >>$F
+ echo "#define JpTclLibDir /usr/local/lib" >>$F
+ echo "#define JpTclIncDir /usr/local/include/tcl$tclLversion" >>$F
+ echo "#define JpTclLibName tcl$tclversion" >>$F
+ else
+ echo "#define HasTk YES" >>$F
+ echo "#define TkLibDir /usr/local/lib" >>$F
+ echo "#define TkIncDir /usr/local/include/tk$tkLversion" >>$F
+ echo "#define TkLibName tk$tkversion" >>$F
+ echo "#define HasTcl YES" >>$F
+ echo "#define TclLibDir /usr/local/lib" >>$F
+ echo "#define TclIncDir /usr/local/include/tcl$tclLversion" >>$F
+ echo "#define TclLibName tcl$tclversion" >>$F
+ fi
+ ;;
+ *)
+ echo "Using tk-$tkLversion"
+ echo "#define HasTk YES" >>$F
+ echo "#define TkLibDir /usr/local/lib" >>$F
+ echo "#define TkIncDir /usr/local/include/tk$tkLversion" >>$F
+ echo "#define TkLibName tk$tkversion" >>$F
+ echo "#define HasTcl YES" >>$F
+ echo "#define TclLibDir /usr/local/lib" >>$F
+ echo "#define TclIncDir /usr/local/include/tcl$tclLversion" >>$F
+ echo "#define TclLibName tcl$tclversion" >>$F
+ ;;
+ esac
else
cat <<EOF
*** I don't see the static library for tk version $tkversion in /usr/local/lib.