source: trunk/run_autotools @ 2

Last change on this file since 2 was 2, checked in by andreasw, 15 years ago

added standard configure tools

  • Property svn:executable set to *
File size: 641 bytes
Line 
1#!/bin/sh
2
3pos_dirs=`find . -name configure.ac | sed -e s%/configure.ac%%g`
4dirs=
5for dir in $pos_dirs; do
6  if test -r $dir/configure.ac; then
7    dirs="$dirs $dir"
8  fi
9done
10echo Running autotools in $dirs
11
12toolsdir=`pwd`/BuildTools
13
14for dir in $dirs; do
15  (cd $dir
16   echo creating acinclude.m4 in $dir
17   cat $HOME/share/aclocal/libtool.m4 $toolsdir/coin.m4> acinclude.m4
18   echo running aclocal in $dir
19   aclocal
20   if grep AC_CONFIG_HEADER configure.ac >/dev/null 2>&1; then
21     echo running autoheader in $dir
22     autoheader
23   fi
24   echo running automake in $dir
25   automake
26   echo running autoconf in $dir
27   autoconf
28   )
29done
Note: See TracBrowser for help on using the repository browser.