Changeset c29d0a21 in rtems


Ignore:
Timestamp:
Jul 20, 2006, 5:17:36 AM (15 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
44a6dcc
Parents:
8747e99a
Message:

Remove $build_infos.
Add SPECSTRIP_OPTS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • contrib/crossrpms/configure.ac

    r8747e99a rc29d0a21  
    44
    55AC_PREREQ(2.59)
    6 AC_INIT([crossrpms],[0.20060707.1],[rtems-bugs@rtems.com])
     6AC_INIT([crossrpms],[0.20060720.1],[rtems-bugs@rtems.com])
    77AC_CONFIG_SRCDIR([binutils/binutils.add])
    88AC_CONFIG_AUX_DIR(.)
     
    6161case "$prefix" in
    6262/usr)
    63   build_infos=0
    6463  sysdirpattern="/%sysdir/d"
    6564  rpmprefix=
    6665  ;;
    6766/usr/local)
    68   build_infos=0
    6967  sysdirpattern="/%sysdir/d"
    7068  rpmprefix="local-"
    7169  ;;
    7270/opt/rtems)
    73   build_infos=1
    7471  sysdirpattern="s/^%sysdir/%dir/g"
    7572  rpmprefix="rtems-"
    7673  ;;
    7774NONE|${ac_default_prefix}) # Default prefix
    78   build_infos=1
    7975  sysdirpattern="s/^%sysdir/%dir/g"
    8076  rpmprefix="[rtems-]RTEMS_API[-]"
    8177  ;;
    8278*)
    83   build_infos=0
    8479  sysdirpattern="s/^%sysdir/%dir/g"
    8580  rpmprefix="custom-"
     
    10196AC_SUBST(rpmprefix)
    10297
     98SPECSTRIP_OPTS=
     99
    103100AC_ARG_ENABLE([infos],
    104101[  --enable-infos                      enable building infos],[
    105102  case "$enable_infos" in
    106103  yes)
    107     build_infos=1;;
     104    SPECSTRIP_OPTS="$SPECSTRIP_OPTS --enable-infos";;
    108105  no)
    109     build_infos=0;;
     106    SPECSTRIP_OPTS="$SPECSTRIP_OPTS --disable-infos";;
    110107  *)
    111108    AC_MSG_ERROR([Invalid argument to --enable-infos])
    112109  esac
    113110])
    114 AC_SUBST(build_infos)
     111AC_SUBST(SPECSTRIP_OPTS)
    115112
    116113AS_IF([test "${host}" != "${build}"],[
Note: See TracChangeset for help on using the changeset viewer.