+start-sanitize-gdbtk
+Tue Jul 22 19:45:37 1997 Martin M. Hunt <hunt@cygnus.com>
+
+ * configure.in, aclocal.m4: Another fix to find the
+ correct Tix library name.
+
+ * configure: Rebuilt.
+
+end-sanitize-gdbtk
+
Tue Jul 22 12:11:48 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* config/mips/tm-mips64.h: longs, long longs, and pointers
if test x"${ac_cv_c_tixh}" != x ; then
TIXHDIR="-I${ac_cv_c_tixh}"
fi
-case "${host}" in
-*-*-cygwin32*)
- for i in ../tix/win/tk4.2/libtix4.1.7.6.a ../tix/win/tk4.2/libtix4176.a ; do
- if test -f $i ; then
- TIXLIB=${i}
- break
- fi
- done
- ;;
-*)
- for i in ../tix/unix/tk4.2/libtix4.1.7.6.a ../tix/unix/tk4.2/libtix4176.a ; do
- if test -f ${i} ; then
- TIXLIB=${i}
- break
- fi
- done
- ;;
-esac
AC_SUBST(TIXHDIR)
-AC_SUBST(TIXLIB)
])
if test x"${ac_cv_c_tixh}" != x ; then
TIXHDIR="-I${ac_cv_c_tixh}"
fi
-case "${host}" in
-*-*-cygwin32*)
- for i in ../tix/win/tk4.2/libtix4.1.7.6.a ../tix/win/tk4.2/libtix4176.a ; do
- if test -f $i ; then
- TIXLIB=${i}
- break
- fi
- done
- ;;
-*)
- for i in ../tix/unix/tk4.2/libtix4.1.7.6.a ../tix/unix/tk4.2/libtix4176.a ; do
- if test -f ${i} ; then
- TIXLIB=${i}
- break
- fi
- done
- ;;
-esac
+ # now look for tix library stuff
+ TIXVERSION=4.1.7.6
+ . ${ac_cv_c_tclconfig}/tclConfig.sh
+ case "${host}" in
+ *-*-cygwin32*)
+ tixdir=../tix/win/tcl7.6
+ ;;
+ *)
+ tixdir=../tix/unix/tk4.2
+ ;;
+ esac
+ if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
+ TIXLIB="-L${tixdir} -ltix${TIXVERSION}"
+ else
+ TIXLIB="-L${tixdir} -ltix`echo ${TIXVERSION} | tr -d .`"
+ fi
ENABLE_GDBTK=1
+
# end-sanitize-gdbtk
fi
# start-sanitize-gdbtk
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
-echo "configure:3196: checking whether ln -s works" >&5
+echo "configure:3195: checking whether ln -s works" >&5
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
s%@ITCLHDIR@%$ITCLHDIR%g
s%@ITCLLIB@%$ITCLLIB%g
s%@TIXHDIR@%$TIXHDIR%g
-s%@TIXLIB@%$TIXLIB%g
s%@ENABLE_GDBTK@%$ENABLE_GDBTK%g
s%@X_CFLAGS@%$X_CFLAGS%g
s%@X_LDFLAGS@%$X_LDFLAGS%g
s%@X_LIBS@%$X_LIBS%g
+s%@TIXLIB@%$TIXLIB%g
s%@ENABLE_CFLAGS@%$ENABLE_CFLAGS%g
s%@CONFIG_OBS@%$CONFIG_OBS%g
s%@HLDFLAGS@%$HLDFLAGS%g
CY_AC_PATH_ITCLH
CY_AC_PATH_TIX
+ # now look for tix library stuff
+ TIXVERSION=4.1.7.6
+ . ${ac_cv_c_tclconfig}/tclConfig.sh
+ case "${host}" in
+ *-*-cygwin32*)
+ tixdir=../tix/win/tcl7.6
+ ;;
+ *)
+ tixdir=../tix/unix/tk4.2
+ ;;
+ esac
+ if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
+ TIXLIB="-L${tixdir} -ltix${TIXVERSION}"
+ else
+ TIXLIB="-L${tixdir} -ltix`echo ${TIXVERSION} | tr -d .`"
+ fi
+
ENABLE_GDBTK=1
# Include some libraries that Tcl and Tk want.
AC_SUBST(X_CFLAGS)
AC_SUBST(X_LDFLAGS)
AC_SUBST(X_LIBS)
+AC_SUBST(TIXLIB)
# end-sanitize-gdbtk
AC_SUBST(ENABLE_CFLAGS)