aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.in
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2004-06-08 16:29:30 +0000
committerCorinna Vinschen <corinna@vinschen.de>2004-06-08 16:29:30 +0000
commitd91670b90d86f64037d24b6ce19fc162c373ff45 (patch)
tree5e8d1ddee09d1598fef2238191a76804f7490608 /gdb/configure.in
parentcaeb605f5fe7c3dec6e15e845d00de2bc1f9b09b (diff)
downloadgdb-d91670b90d86f64037d24b6ce19fc162c373ff45.zip
gdb-d91670b90d86f64037d24b6ce19fc162c373ff45.tar.gz
gdb-d91670b90d86f64037d24b6ce19fc162c373ff45.tar.bz2
* configure.in: Set $configdir to the right OS specific value.
Use value when setting $tcldir and $tkdir. * configure: Regenerate.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r--gdb/configure.in27
1 files changed, 10 insertions, 17 deletions
diff --git a/gdb/configure.in b/gdb/configure.in
index dc9b072..04ec435 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -1134,7 +1134,14 @@ WIN32LDAPP=
AC_SUBST(WIN32LIBS)
AC_SUBST(WIN32LDAPP)
-configdir="unix"
+case "${host}" in
+*-*-cygwin*)
+ configdir="win"
+ ;;
+*)
+ configdir="unix"
+ ;;
+esac
GDBTKLIBS=
if test "${enable_gdbtk}" = "yes"; then
@@ -1153,14 +1160,7 @@ if test "${enable_gdbtk}" = "yes"; then
# now look for Tcl library stuff
- case "${host}" in
- *-*-cygwin*)
- tcldir=../tcl/win/
- ;;
- *)
- tcldir=../tcl/unix/
- ;;
- esac
+ tcldir="../tcl/${configdir}/"
TCL_DEPS="${tcldir}${TCL_LIB_FILE}"
@@ -1176,14 +1176,7 @@ if test "${enable_gdbtk}" = "yes"; then
# now look for Tk library stuff
- case "${host}" in
- *-*-cygwin*)
- tkdir=../tk/win/
- ;;
- *)
- tkdir=../tk/unix/
- ;;
- esac
+ tkdir="../tk/${configdir}/"
TK_DEPS="${tkdir}${TK_LIB_FILE}"