summaryrefslogtreecommitdiffstats
path: root/c/src/librdbg
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-10-12 18:47:00 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-10-12 18:47:00 +0000
commitd7aecdc8f866b978a4349b0e157f46877f60e414 (patch)
treedf28b2fa6611df7f1003f57447771edb69275761 /c/src/librdbg
parent2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-d7aecdc8f866b978a4349b0e157f46877f60e414.tar.bz2
2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Add autom4te.cache for autoconf > 2.52. * configure.in: Remove.
Diffstat (limited to 'c/src/librdbg')
-rw-r--r--c/src/librdbg/configure.ac66
1 files changed, 66 insertions, 0 deletions
diff --git a/c/src/librdbg/configure.ac b/c/src/librdbg/configure.ac
new file mode 100644
index 0000000000..b224ad59b6
--- /dev/null
+++ b/c/src/librdbg/configure.ac
@@ -0,0 +1,66 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([src/awk.svc])
+RTEMS_TOP(../../..)
+AC_CONFIG_AUX_DIR(../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-librdbg,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_NETWORKING
+RTEMS_ENABLE_RDBG
+RTEMS_ENABLE_BARE
+
+RTEMS_ENV_RTEMSBSP
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROG_CC_FOR_TARGET
+RTEMS_CANONICALIZE_TOOLS
+
+AC_CHECK_PROG(RPCGEN,rpcgen,rpcgen,no)
+AC_PROG_AWK
+
+if test "$RPCGEN" = "no"; then
+ AC_MSG_WARN([** missing rpcgen, required to build librdbg **])
+ rpctools="no"
+fi
+if test "$AWK" = "no"; then
+ AC_MSG_WARN([** missing awk, required to build librdbg **])
+ rpctools="no"
+fi
+
+AM_CONDITIONAL(RPCTOOLS, test "$rpctools" != "no")
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_BSP_ALIAS(${RTEMS_BSP},bspdir)
+RTEMS_CHECK_NETWORKING(RTEMS_BSP)
+RTEMS_CHECK_RDBG(bspdir)
+
+AM_CONDITIONAL(HAS_RDBG,test "$HAS_RDBG" = "yes")
+
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+include/Makefile
+include/rdbg/Makefile
+include/rdbg/i386/Makefile
+include/rdbg/powerpc/Makefile
+include/rdbg/m68k/Makefile
+src/Makefile
+src/i386/Makefile
+src/i386/any/Makefile
+src/powerpc/Makefile
+src/powerpc/new_exception_processing/Makefile
+src/m68k/Makefile
+src/m68k/any/Makefile
+])
+AC_OUTPUT