Changeset 4c3ab846 in rtems for c/src/librdbg/configure.in


Ignore:
Timestamp:
Jan 13, 2000, 9:07:22 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
49fa9bc
Parents:
b8c9883
Message:

Patch rtems-rc-20000104-17.diff from Ralf Corsepius <corsepiu@…>
that addresses the librdbg/rpcgen related problems:

Changes:

  • All rpcgen generated files are now kept inside of the source tree
  • Fix librdbg/configure to correctly detect presence of rpcgen and awk
  • Use rpcgen -m to generated remdeb_svc.c
  • Remove msgout/_msgout from awk.svc
  • minor cleanups to librdbg/configure.in

ATTENTION --- IMPORTANT:

  • With keeping rpc-generated files pre-build inside of the source tree, you as the packager of RTEMS have to ensure that timestamps are correctly set up: The generated files must not be older than the *.x files.
  • This is extraordinarily important when
    • putting the package on read-only media
    • after checking out from CVS
    • after modifications to the *.x files
  • If one of the *.x files is modified you have to either
    • build for i386/pc386 and powerpc/mcp750
    • or to invoke the same rpcgen calls as the librdbg/src/<cpu>/<bsp>/Makefile.am do manually before checking-in the files to CVS.

Proposal:

We could add something to bootstrap for touching the rpcgen-generated
sources and/or to manually regenerate them.

NOTE FROM JOEL:

Ralf proposed modifying bootstrap to handle rpcgen. I think this
is the best solution as it is something already done in the
snapshot procedure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/librdbg/configure.in

    rb8c9883 r4c3ab846  
    2323RTEMS_CANONICAL_HOST
    2424
    25 RTEMS_PROJECT_ROOT
    26 
    2725dnl check target cc
    2826RTEMS_PROG_CC_FOR_TARGET
    2927RTEMS_CANONICALIZE_TOOLS
    3028
    31 AC_CHECK_PROG(RPCGEN,rpcgen,rpcgen)
     29AC_CHECK_PROG(RPCGEN,rpcgen,rpcgen,no)
    3230AC_PROG_AWK
    3331
    3432if test "$RPCGEN" = "no"; then
    35   AC_MSG_ERROR([missing rpcgen, required to build librdbg])
     33  AC_MSG_WARN([** missing rpcgen, required to build librdbg **])
     34  rpctools="no"
    3635fi
    3736if test "$AWK" = "no"; then
    38   AC_MSG_ERROR([missing awk, required to build librdbg])
     37  AC_MSG_WARN([** missing awk, required to build librdbg **])
     38  rpctools="no"
    3939fi
     40
     41AM_CONDITIONAL(RPCTOOLS, test "$rpctools" != "no")
    4042
    4143RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
     
    4547
    4648AM_CONDITIONAL(HAS_RDBG,test "$HAS_RDBG" = "yes")
    47 
    48 PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
    49 AC_SUBST(PROJECT_INCLUDE)
    5049
    5150RTEMS_PROJECT_ROOT
Note: See TracChangeset for help on using the changeset viewer.