source: trunk/run_autotools @ 1

Last change on this file since 1 was 1, checked in by andreasw, 14 years ago

first version

  • Property svn:executable set to *
File size: 613 bytes
Line 
1#!/bin/sh
2
3pos_dirs=`find . -type d`
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 -a -c in $dir
25   automake -a -c
26   echo running autoconf in $dir
27   autoconf
28   )
29done
Note: See TracBrowser for help on using the repository browser.