summaryrefslogblamecommitdiffstats
path: root/c/src/librdbg/configure.in
blob: 8711f6ba5946a51b1fc1f4c6f1318ce5f6cbec49 (plain) (tree)























                                                                  



                        
                                      


                              

                                                                

                           

                                                             

  

                                                  






                                                 










                                         
                     


                           
dnl Process this file with autoconf to produce a configure script.
dnl
dnl $Id$

AC_PREREQ(2.13)
AC_INIT(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_LIBCDIR
RTEMS_ENABLE_BARE

RTEMS_ENV_RTEMSBSP

RTEMS_CHECK_CPU
RTEMS_CANONICAL_HOST

dnl check target cc
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

# Try to explicitly list a Makefile here 
AC_OUTPUT( 
Makefile
include/Makefile
include/rdbg/Makefile
include/rdbg/i386/Makefile
include/rdbg/powerpc/Makefile
src/Makefile
src/i386/Makefile
src/i386/any/Makefile
src/powerpc/Makefile
src/powerpc/mcp750/Makefile
)