source: rtems/c/src/librdbg/configure.in @ 4c3ab846

4.104.114.84.95
Last change on this file since 4c3ab846 was 4c3ab846, checked in by Joel Sherrill <joel.sherrill@…>, on Jan 13, 2000 at 9:07:22 PM

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.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1dnl Process this file with autoconf to produce a configure script.
2dnl
3dnl $Id$
4
5AC_PREREQ(2.13)
6AC_INIT(src/awk.svc)
7RTEMS_TOP(../../..)
8AC_CONFIG_AUX_DIR(../../..)
9
10RTEMS_CANONICAL_TARGET_CPU
11
12AM_INIT_AUTOMAKE(rtems-c-src-librdbg,$RTEMS_VERSION,no)
13AM_MAINTAINER_MODE
14
15RTEMS_ENABLE_NETWORKING
16RTEMS_ENABLE_RDBG
17RTEMS_ENABLE_LIBCDIR
18RTEMS_ENABLE_BARE
19
20RTEMS_ENV_RTEMSBSP
21
22RTEMS_CHECK_CPU
23RTEMS_CANONICAL_HOST
24
25dnl check target cc
26RTEMS_PROG_CC_FOR_TARGET
27RTEMS_CANONICALIZE_TOOLS
28
29AC_CHECK_PROG(RPCGEN,rpcgen,rpcgen,no)
30AC_PROG_AWK
31
32if test "$RPCGEN" = "no"; then
33  AC_MSG_WARN([** missing rpcgen, required to build librdbg **])
34  rpctools="no"
35fi
36if test "$AWK" = "no"; then
37  AC_MSG_WARN([** missing awk, required to build librdbg **])
38  rpctools="no"
39fi
40
41AM_CONDITIONAL(RPCTOOLS, test "$rpctools" != "no")
42
43RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
44RTEMS_BSP_ALIAS(${RTEMS_BSP},bspdir)
45RTEMS_CHECK_NETWORKING(RTEMS_BSP)
46RTEMS_CHECK_RDBG(bspdir)
47
48AM_CONDITIONAL(HAS_RDBG,test "$HAS_RDBG" = "yes")
49
50RTEMS_PROJECT_ROOT
51
52# Try to explicitly list a Makefile here
53AC_OUTPUT(
54Makefile
55include/Makefile
56include/rdbg/Makefile
57include/rdbg/i386/Makefile
58include/rdbg/powerpc/Makefile
59src/Makefile
60src/i386/Makefile
61src/i386/any/Makefile
62src/powerpc/Makefile
63src/powerpc/mcp750/Makefile
64)
Note: See TracBrowser for help on using the repository browser.