* configure.in: Check for unistd.h.
[deliverable/binutils-gdb.git] / gdb / configure.in
index 852c25893652e647fb9c68942d77ef3bd1376ee1..0c1158e3a8b930ee04c089bfec3a60a1cfdb56da 100644 (file)
@@ -15,6 +15,7 @@ AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/..)
 AC_CANONICAL_SYSTEM
 AC_ARG_PROGRAM
 
+AC_CHECK_HEADERS(unistd.h)
 
 dnl Handle optional features that can be enabled.
 ENABLE_CFLAGS=
@@ -52,7 +53,8 @@ if test "${enable_gdbtk}" = "yes"; then
        CYGNUS_PATH_TCL
 
        ENABLE_GDBTK=1
-       ENABLE_CLIBS="${ENABLE_CLIBS} $(TCL) $(TK) $(X11) -lm"
+       TCL_LIBS='$(TCL) $(TK) $(X11)'
+       ENABLE_CLIBS="${ENABLE_CLIBS} ${TCL_LIBS} -lm"
        ENABLE_OBS="${ENABLE_OBS} gdbtk.o"
 fi
 AC_SUBST(ENABLE_GDBTK)
@@ -92,7 +94,8 @@ case "${host}" in
 a29k-*-*)              gdb_host=ultra3 ;;
 
 alpha-*-osf1*)         gdb_host=alpha-osf1 ;;
-alpha-*-osf[23456789]*)        gdb_host=alpha-osf2 ;;
+alpha-*-osf2*)         gdb_host=alpha-osf2 ;;
+alpha-*-osf[3456789]*) gdb_host=alpha-osf3 ;;
 
 arm-*-*)               gdb_host=arm ;;
 
@@ -219,8 +222,6 @@ np1)                        gdb_target_cpu=gould ;;
 powerpc*)              gdb_target_cpu=powerpc ;;
 pn)                    gdb_target_cpu=gould ;;
 pyramid)               gdb_target_cpu=pyr ;;
-sparclite*)            gdb_target_cpu=sparc
-               configdirs="${configdirs} sparclite" ;;
 sparc*)                        gdb_target_cpu=sparc ;;
 *)                     gdb_target_cpu=$target_cpu ;;
 
@@ -403,7 +404,6 @@ vax-*-*)            gdb_target=vax ;;
 
 w65-*-*)               gdb_target=w65 ;;
 
-z8k-*-sim*)            gdb_target=z8k ;;
 z8k-*-coff*)           gdb_target=z8k ;;
 
 esac
This page took 0.023369 seconds and 4 git commands to generate.