Changeset 3031e6c in rtems for bootstrap


Ignore:
Timestamp:
Nov 18, 2006, 6:07:06 AM (14 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
7e30265
Parents:
fb678af
Message:

Add -r (autoreconf).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bootstrap

    rfb678af r3031e6c  
    8686-p|--pr|--pre|--prei|--prein|--preins|--preinst)
    8787  mode="preinstall";
     88  shift;;
     89-r|--re|--rec|--reco|--recon|--reconf)
     90  mode="autoreconf";
    8891  shift;;
    8992-*) echo "unknown option $1" ;
     
    161164  ;;
    162165
     166autoreconf)
     167  AUTORECONF=${AUTORECONF-autoreconf}
     168  if test -z "$AUTORECONF"; then
     169    echo "You must have autoreconf installed to run $program"
     170    exit 1
     171  fi
     172
     173  confs=`find . -name 'configure.ac' -print`
     174  for i in $confs; do
     175  dir=`dirname $i`;
     176  configure=`basename $i`;
     177  ( test "$quiet" = "true" || echo "$dir";
     178    cd $dir;
     179    test -n "`grep RTEMS_CHECK_BSPDIR ${configure}`" && \
     180      generate_bspdir_acinclude;
     181    ${AUTORECONF} -i --no-recursive $verbose;
     182    test -f Makefile.am && test -n "`grep 'stamp-h\.in' Makefile.in`" \
     183      && echo timestamp > stamp-h.in
     184  )
     185  done
     186  ;;
     187
    163188clean)
    164189  test "$quiet" = "true" || echo "removing automake generated Makefile.in files"
Note: See TracChangeset for help on using the changeset viewer.