source: rtems/autogen @ 7e03d10

4.104.114.84.95
Last change on this file since 7e03d10 was 7e03d10, checked in by Joel Sherrill <joel.sherrill@…>, on 03/29/99 at 21:08:04

Patch from Ralf Corsepius <corsepiu@…>:

Yet some more modifications, I would recommend to be considered before
releasing a snapshot:

  1. Cleanup to aclocal/ cvs rm -f aclocal/cygwin.m4 cvs rm -f aclocal/exeext.m4

They are neither used nor needed anymore, however they also don't
disturb (we use autoconf-2.13's AC_EXEEXT instead, now)

----------

  1. rtems-rc-19990328-0.diff Some (minor) bug-fixes:
  • make/Templates/Makefile.inc.in: use the new installation directory ($(prefix)/ instead of $(prefix)/rtems/)
  • c/src/exec/score/tools/generic/Makefile.am: added line to include local.am
  • c/src/exec/score/tools/*/configure.in: added CVS Id header

----------

  1. rtems-rc-19990328-1.diff Enhancements and cleanups to autogen, rtems-polish.sh, configure.in etc.
  • autogen: Use the file "VERSION" to detect RTEMS toplevel directory, extended usage-message, use "find -print"
  • c/update-tools/cipolish: New script to beautify configure.in scripts
  • c/update-tools/rtems-polish.sh: Use the file "VERSION" to detect RTEMS toplevel directory, extended usage-message, added variable for perl scripts' subdirectory, use "find -print", cipolish support, new options -ac -am -ci.
  • aclocal/*.m4, configure.in: moved some AC_SUBST lines to aclocal/*.m4 (reduces size of configure.in scripts, eases splitting configure.in scripts).

----------

  • Property mode set to 100644
File size: 1.3 KB
Line 
1#!/bin/sh
2#
3# helps bootstrapping, when checked out from CVS
4# requires GNU autoconf and GNU automake
5#
6# $Id$
7
8# this is not meant to be exported outside the source tree
9
10# NOTE: Inspired by libtool's autogen script
11
12# to be run from the toplevel directory of RTEMS'
13# source tree
14
15progname=`basename $0`
16am_verbose="";
17quiet="false"
18
19usage()
20{
21  echo
22  echo "usage: ${progname} [-h|-q|-v]"
23  echo
24  echo "options:"
25  echo "        -h .. display this message and exit";
26  echo "        -q .. quiet, don't display directories";
27  echo "        -v .. verbose, pass -v to automake when invoking automake"
28  echo
29  exit 1;
30}
31
32if test ! -f VERSION; then
33  echo "${progname}:"
34  echo "        Please change directory to RTEMS's toplevel directory"
35  exit 1;
36fi
37
38while test $# -gt 0; do
39case $1 in
40-h|--he|--hel|--help)
41  usage ;;
42-q|--qu|--qui|--quie|--quiet)
43  quiet="true";
44  shift;;
45-v|--ve|--ver|--verb|--verbo|--verbos|--verbose)
46  verbose="-v";
47  shift;;
48-*) echo "unknown option $1" ;
49  usage ;;
50*) echo "invalid parameter $1" ;
51  usage ;;
52esac
53done
54
55pwd=`pwd`;
56confs=`find $pwd -name 'configure.in' -print`
57
58aclocal_dir=$pwd/aclocal
59for i in $confs; do
60dir=`dirname $i`;
61( test "$quiet" = "true" || echo "$dir";
62  cd $dir;
63  aclocal -I $aclocal_dir;
64  autoconf;
65  test -n "`grep CONFIG_HEADER configure.in`" && autoheader ;
66  test -f Makefile.am && automake $verbose ;
67)
68done
Note: See TracBrowser for help on using the repository browser.