aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rwxr-xr-xgdb/configure19
1 files changed, 15 insertions, 4 deletions
diff --git a/gdb/configure b/gdb/configure
index 9064364..b522c65 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -3006,12 +3006,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
@@ -3181,7 +3192,7 @@ links="${links} nm.h"
fi
# start-sanitize-gdbtk
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
-echo "configure:3185: checking whether ln -s works" >&5
+echo "configure:3196: 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