From: David Taylor Date: Mon, 4 Jan 1999 22:11:08 +0000 (+0000) Subject: configure.in -- decide whether to configure gdb.hp; configure -- regenerated. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b3d32d4f8f2637d2ae041d90b2e01fc841423747;p=binutils-gdb.git configure.in -- decide whether to configure gdb.hp; configure -- regenerated. --- diff --git a/gdb/testsuite/configure b/gdb/testsuite/configure index 55d286a0a71..3949ed5f4c8 100755 --- a/gdb/testsuite/configure +++ b/gdb/testsuite/configure @@ -575,7 +575,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } fi echo $ac_n "checking host system type""... $ac_c" 1>&6 -echo "configure:579: checking host system type" >&5 +echo "configure:577: checking host system type" >&5 host_alias=$host case "$host_alias" in @@ -596,7 +596,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` echo "$ac_t""$host" 1>&6 echo $ac_n "checking target system type""... $ac_c" 1>&6 -echo "configure:600: checking target system type" >&5 +echo "configure:598: checking target system type" >&5 target_alias=$target case "$target_alias" in @@ -614,7 +614,7 @@ target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` echo "$ac_t""$target" 1>&6 echo $ac_n "checking build system type""... $ac_c" 1>&6 -echo "configure:618: checking build system type" >&5 +echo "configure:616: checking build system type" >&5 build_alias=$build case "$build_alias" in @@ -638,7 +638,7 @@ test "$host_alias" != "$target_alias" && # Directories to use in all configurations. -configdirs="gdb.asm gdb.base gdb.c++ gdb.disasm gdb.chill gdb.threads" +configdirs="gdb.asm gdb.base gdb.c++ gdb.disasm gdb.chill gdb.threads gdb.trace" # Directories to use for a configuration which uses stabs. stabsdirs="gdb.stabs" @@ -660,6 +660,16 @@ case "${target}" in fi ;; esac +# Directory with HP specific tests. They will run only with HP's compilers. +# These tests will not work on other platforms and compilers. + +hpdir="gdb.hp" + +case "${target}" in + hppa*-*-hpux*) configdirs="${configdirs} ${hpdir}" ;; +esac + + # Begin stuff to support --enable-shared # Check whether --enable-shared or --disable-shared was given. if test "${enable_shared+set}" = set; then @@ -681,6 +691,8 @@ if test "${shared}" = "true"; then fi # End stuff to support --enable-shared +# Start stuff to support --enable-gdbtk +# start-sanitize-gdbtk # Check whether --enable-gdbtk or --disable-gdbtk was given. if test "${enable_gdbtk+set}" = set; then enableval="$enable_gdbtk" @@ -715,9 +727,8 @@ fi if test "${enable_gdbtk}" = "yes"; then configdirs="${configdirs} gdb.gdbtk" fi -# End stuff to suppot --enable-shared -# start-sanitize-gdbtk -# Begin stuff to support --enable-gdbtk +# End stuff to support --enable-shared +# end-sanitize-gdbtk # configure the subdirectories too subdirs="$configdirs" @@ -746,7 +757,7 @@ EOF # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. (set) 2>&1 | - case `(ac_space=' '; set) 2>&1 | grep ac_space` in + case `(ac_space=' '; set) 2>&1` in *ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote substitution # turns \\\\ into \\, and sed turns \\ into \). diff --git a/gdb/testsuite/configure.in b/gdb/testsuite/configure.in index a0f51daec0a..9e8723775c7 100644 --- a/gdb/testsuite/configure.in +++ b/gdb/testsuite/configure.in @@ -35,6 +35,16 @@ case "${target}" in fi ;; esac +# Directory with HP specific tests. They will run only with HP's compilers. +# These tests will not work on other platforms and compilers. + +hpdir="gdb.hp" + +case "${target}" in + hppa*-*-hpux*) configdirs="${configdirs} ${hpdir}" ;; +esac + + # Begin stuff to support --enable-shared AC_ARG_ENABLE(shared, [ --enable-shared use shared libraries],