Tue Jul 22 19:45:37 1997 Martin M. Hunt <hunt@cygnus.com>
authorMartin Hunt <hunt@redhat.com>
Wed, 23 Jul 1997 02:45:59 +0000 (02:45 +0000)
committerMartin Hunt <hunt@redhat.com>
Wed, 23 Jul 1997 02:45:59 +0000 (02:45 +0000)
* configure.in, aclocal.m4: Another fix to find the
correct Tix library name.

* configure: Rebuilt.

gdb/ChangeLog
gdb/aclocal.m4
gdb/configure
gdb/configure.in

index 7542565c84210e4890ff95412243c6c423b0c35c..ffe90743806195fc999d6fd0390fe948e8c21311 100644 (file)
@@ -1,3 +1,13 @@
+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
index 39cbd11a75b52e624dde4b7d8e1519d4f2cb05ee..e96288646b539520e07a97868e0e20191bc1eb9c 100644 (file)
@@ -524,25 +524,6 @@ fi
 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)
 ])
 
index b522c65a9dbf4bb7a196495630d426317650b4c1..aa00d75922f3be6e416da3e2643073673b92b2dd 100755 (executable)
@@ -3006,27 +3006,25 @@ fi
 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
 
@@ -3049,6 +3047,7 @@ fi
 
 
 
+
 # end-sanitize-gdbtk
 
 
@@ -3192,7 +3191,7 @@ links="${links} nm.h"
 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
@@ -3412,11 +3411,11 @@ s%@TKHDIR@%$TKHDIR%g
 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
index b4baf279879fdf5de5c9678baa35ba72822e21aa..d17a64095f7eac281625d9759f10d676d70ac1a2 100644 (file)
@@ -305,6 +305,23 @@ if test "${enable_gdbtk}" = "yes"; then
           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.
@@ -326,6 +343,7 @@ AC_SUBST(ENABLE_GDBTK)
 AC_SUBST(X_CFLAGS)
 AC_SUBST(X_LDFLAGS)
 AC_SUBST(X_LIBS)
+AC_SUBST(TIXLIB)
 # end-sanitize-gdbtk
 
 AC_SUBST(ENABLE_CFLAGS)
This page took 0.031533 seconds and 4 git commands to generate.