Changeset 5428a43e in rtems for contrib/rtemsrpms/configure.ac


Ignore:
Timestamp:
Aug 22, 2006, 11:41:31 AM (14 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
ef50593
Parents:
655c8bf2
Message:

Add a version for rtems.
Add checking messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • contrib/rtemsrpms/configure.ac

    r655c8bf2 r5428a43e  
    22
    33m4_define([M4_RTEMS_API],[4.7])
     4m4_define([M4_RTEMS_VERSION],[4.6.99.3])
    45m4_define([M4_RTEMS_RELEASE],[0])
    56
     
    1314
    1415AM_INIT_AUTOMAKE([1.9])
    15 
    16 AC_ARG_ENABLE([targets],
    17   AS_HELP_STRING([--enable-targets=<targets>],[build for targets <targets>]),
    18   [targets="$enable_targets"],
    19   [targets="i386 m68k powerpc sparc arm mips"]
    20 )
    2116
    2217rpmprefix="[rtems-]M4_RTEMS_API[-]"
     
    4843])
    4944
     45AC_MSG_CHECKING([for rpm database])
    5046rpmdbpath=
    5147AC_ARG_ENABLE([rpmdbpath],
     
    6056  esac
    6157])
     58AS_IF([test -z $rpmdbpath],
     59      [AC_MSG_RESULT([system])],
     60      [AC_MSG_RESULT([$rpmdbpath])])
    6261
     62AC_MSG_CHECKING([for bootstrap])
    6363bootstrap=no
    6464AC_ARG_ENABLE([bootstrap],
     
    7171  esac
    7272])
     73AC_MSG_RESULT([$bootstrap])
    7374
     75dnl The total list:
     76dnl  arm avr h8300 i386 m68k mips powerpc sh sparc tic4x
     77AC_MSG_CHECKING([for targets])
     78AC_ARG_ENABLE([targets],
     79  AS_HELP_STRING([--enable-targets=<targets>],[build for targets <targets>]),
     80  [targets="$enable_targets"],
     81  [targets="arm i386 m68k mips powerpc sh sparc tic4x"]
     82)
     83AC_MSG_RESULT([$targets])
     84
     85AC_MSG_CHECKING([for bsps])
    7486bsps="%{nil}"
    7587AC_ARG_ENABLE([bsps],
     
    8698  esac
    8799])
     100AS_IF([test x"$bsps" = x"%{nil}"],
     101      [AC_MSG_RESULT([all])],
     102      [AC_MSG_RESULT([$bsps])])
    88103
    89104AC_SUBST(RTEMS_API, [M4_RTEMS_API])
     105AC_SUBST(RTEMS_VERSION, [M4_RTEMS_VERSION])
    90106AC_SUBST(RTEMS_RELEASE, [M4_RTEMS_RELEASE])
    91107AC_SUBST(PREFIX, [$prefix])
Note: See TracChangeset for help on using the changeset viewer.