diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-03-29 22:24:23 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-03-29 22:24:23 +0000 |
commit | e5f4e5aaff76424f6977d9938cb6ffa10e24f354 (patch) | |
tree | 6f3114b43124b7546e748831dbfde12eba801ee2 /configure.in | |
parent | Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to fix a typo. (diff) | |
download | rtems-e5f4e5aaff76424f6977d9938cb6ffa10e24f354.tar.bz2 |
Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
rtems-rc-19990326-2.diff: Enhancements to autoconf support for librdbg
* autoconf-checks for AWK and RPCGEN
* disable librdbg if either AWK, RPCGEN or librdbg/$target_cpu
cannot be found
Diffstat (limited to '')
-rw-r--r-- | configure.in | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 481540061c..bbae5d09c4 100644 --- a/configure.in +++ b/configure.in @@ -1,3 +1,4 @@ + dnl Process this file with autoconf to produce a configure script. dnl dnl $Id$ @@ -310,7 +311,22 @@ if test "$RTEMS_HAS_NETWORKING" = "yes"; then RTEMS_CHECK_MAKEFILE(c/src/lib/libnetworking) RTEMS_CHECK_MAKEFILE(c/src/lib/librpc) if test "$RTEMS_HAS_RDBG" = "yes"; then - RTEMS_CHECK_MAKEFILE(c/src/lib/librdbg) + AC_MSG_CHECKING([whether cpu supports rdbg? ]) + test ! -d "$srcdir/c/src/lib/librdbg/$target_cpu" && RTEMS_HAS_RDBG="no" ; + AC_MSG_RESULT($RTEMS_HAS_RDBG) + if test "$RTEMS_HAS_RDBG" = "yes"; then + AC_PATH_PROG(RPCGEN,rpcgen) + test -z "$RPCGEN" && RTEMS_HAS_RDBG="no" + fi + if test "$RTEMS_HAS_RDBG" = "yes"; then + AC_PROG_AWK + test -z "$AWK" && RTEMS_HAS_RDBG="no" + fi + if test "$RTEMS_HAS_RDBG" = "yes"; then + RTEMS_CHECK_MAKEFILE(c/src/lib/librdbg) + else + AC_MSG_WARN([*** warning disabling --enable-rdbg]) + fi fi fi |