~njansson/dolfin/hpc

« back to all changes in this revision

Viewing changes to scripts/preconfigure

  • Committer: logg
  • Date: 2002-11-05 15:49:58 UTC
  • Revision ID: devnull@localhost-20021105154958-8mowc3no4x5mgh3v
Tailorized "2002-11-05 09:49:58 by logg"
Added missing scripts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
# reconfigure
 
4
#
 
5
# Runs aclocal, autoconf and automake to prepare the
 
6
# configure script.
 
7
#
 
8
# This script should be run from the top level directory.
 
9
 
 
10
# Simple test to see where we are
 
11
CHECK=`echo $0 | cut -d'/' -f1`
 
12
if [ "$CHECK" != "scripts" ]; then
 
13
        echo "This script must be run from the top level directory."
 
14
        exit 1
 
15
fi
 
16
 
 
17
echo Generating configure script
 
18
echo
 
19
 
 
20
rm -f config.cache
 
21
rm -f config.log
 
22
rm -f config.status
 
23
 
 
24
echo " - Running aclocal"
 
25
aclocal
 
26
echo " - Running autoconf"
 
27
autoconf
 
28
echo " - Running automake"
 
29
automake -a
 
30
 
 
31
echo