Changeset 58fd5ab in rtems


Ignore:
Timestamp:
Oct 9, 2002, 5:23:52 PM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
ff8676ef
Parents:
4bf6f90d
Message:

2002-10-08 Ralf Corsepius <corsepiu@…>

  • bootstrap: Add autoconf/automake version checks by popular demand. [FWIW: I dislike this.]
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r4bf6f90d r58fd5ab  
     12002-10-08      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * bootstrap: Add autoconf/automake version checks by popular demand.
     4        [FWIW: I dislike this.]
     5
    162002-10-07      Joel Sherrill <joel@OARcorp.com>
    27
  • bootstrap

    r4bf6f90d r58fd5ab  
    1212# to be run from the toplevel directory of RTEMS'
    1313# source tree
     14
     15AUTOCONF_VERS=2.52
     16AUTOMAKE_VERS=1.6.[123]
    1417
    1518progname=`basename $0`
     
    6265case $mode in
    6366generate)
     67  AUTOCONF=${AUTOCONF-`which autoconf`}
     68  if test -z "$AUTOCONF"; then
     69    echo "You must have autoconf installed to run $program"
     70  fi
     71  AUTOCONF_VER=`$AUTOCONF --version 2>/dev/null`
     72  if test -z "`echo $AUTOCONF_VER | grep \" $AUTOCONF_VERS\"`"; then
     73cat << EOF
     74RTEMS requires autoconf version $AUTOCONF_VERS.
    6475
     76You are trying to use $AUTOCONF which does not seem to be sufficient
     77EOF
     78  exit 1
     79  fi
     80 
     81  AUTOMAKE=${AUTOMAKE-`which automake`}
     82  if test -z "$AUTOMAKE"; then
     83    echo "You must have automake installed to run $program"
     84  fi
     85  AUTOMAKE_VER=`$AUTOMAKE --version 2>/dev/null`
     86  if test -z "`echo $AUTOMAKE_VER | grep \" $AUTOMAKE_VERS\"`"; then
     87cat << EOF
     88RTEMS requires automake version $AUTOMAKE_VERS.
     89
     90You are trying to use $AUTOMAKE which does not seem to be sufficient
     91EOF
     92  exit 1
     93  fi
     94 
    6595  case $top_srcdir in
    6696  /* ) aclocal_dir=$top_srcdir
Note: See TracChangeset for help on using the changeset viewer.