Changeset df49c60 in rtems for bootstrap


Ignore:
Timestamp:
06/12/00 15:00:15 (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
edeed26
Parents:
0ab65474
Message:

Merged from 4.5.0-beta3a

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bootstrap

    r0ab65474 rdf49c60  
    1414
    1515progname=`basename $0`
     16top_srcdir=`dirname $0`
     17
    1618verbose="";
    1719quiet="false"
     
    3234}
    3335
    34 if test ! -f VERSION; then
     36if test ! -f $top_srcdir/VERSION; then
    3537  echo "${progname}:"
    36   echo "        Please change directory to RTEMS's toplevel directory"
     38  echo "        Installation problem: Can't find file VERSION"
    3739  exit 1;
    3840fi
     
    5860done
    5961
    60 pwd=`pwd`;
    61 
    6262case $mode in
    6363generate)
    64   confs=`find $pwd -name 'configure.in' -print`
    65   aclocal_dir=$pwd/aclocal
     64
     65  case $top_srcdir in
     66  /* ) aclocal_dir=$top_srcdir/aclocal
     67    ;;
     68  *) aclocal_dir=`pwd`/$top_srcdir/aclocal
     69    ;;
     70  esac
     71
     72  confs=`find . -name 'configure.in' -print`
    6673  for i in $confs; do
    6774  dir=`dirname $i`;
     
    7077    aclocal -I $aclocal_dir;
    7178    autoconf;
     79    test -n "`grep CONFIG_HEADER configure.in`" && autoheader ;
    7280    test -f Makefile.am && automake $verbose ;
    73     test -n "`grep CONFIG_HEADER configure.in`" && autoheader ;
    7481    test -f Makefile.am && test -n "`grep 'stamp-h\.in' Makefile.in`" \
    7582      && echo timestamp > stamp-h.in
     
    7784  done
    7885  ;;
     86
    7987clean)
    8088  test "$quiet" = "true" || echo "removing automake generated Makefile.in files"
Note: See TracChangeset for help on using the changeset viewer.