aboutsummaryrefslogtreecommitdiff
path: root/gdb/aclocal.m4
diff options
context:
space:
mode:
authorMartin Hunt <hunt@redhat.com>1997-07-22 05:24:01 +0000
committerMartin Hunt <hunt@redhat.com>1997-07-22 05:24:01 +0000
commite81e79124e4954a0681e064496c44be4cad2cbc0 (patch)
treebc08ca10d07154346cc602dff05aabf90e0880ab /gdb/aclocal.m4
parentf5152f7315d1909c7e86026b28eb4861b4b3c88d (diff)
downloadgdb-e81e79124e4954a0681e064496c44be4cad2cbc0.zip
gdb-e81e79124e4954a0681e064496c44be4cad2cbc0.tar.gz
gdb-e81e79124e4954a0681e064496c44be4cad2cbc0.tar.bz2
Mon Jul 21 22:24:07 1997 Martin M. Hunt <hunt@cygnus.com>
* aclocal.m4: Search for the correct tix library.
Diffstat (limited to 'gdb/aclocal.m4')
-rw-r--r--gdb/aclocal.m417
1 files changed, 14 insertions, 3 deletions
diff --git a/gdb/aclocal.m4 b/gdb/aclocal.m4
index 50fb1f0..39cbd11 100644
--- a/gdb/aclocal.m4
+++ b/gdb/aclocal.m4
@@ -524,12 +524,23 @@ fi
if test x"${ac_cv_c_tixh}" != x ; then
TIXHDIR="-I${ac_cv_c_tixh}"
fi
-# need to do better than this...
case "${host}" in
*-*-cygwin32*)
- TIXLIB="../tix/win/tk4.2/libtix4.1.7.6.a" ;;
+ 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
+ ;;
*)
- TIXLIB="../tix/unix/tk4.2/libtix4.1.7.6.a" ;;
+ 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)