Mercurial > octave-nkf
comparison autogen.sh @ 3298:aaf82ff88c82
[project @ 1999-10-19 17:58:31 by jwe]
author | jwe |
---|---|
date | Tue, 19 Oct 1999 17:58:32 +0000 |
parents | |
children | b7d997d593d9 |
comparison
equal
deleted
inserted
replaced
3297:b68ef5dec3bd | 3298:aaf82ff88c82 |
---|---|
1 #! /bin/sh | |
2 # autogen.sh | |
3 # Run this to generate all the initial makefiles, etc. | |
4 | |
5 # copied from the accelerated glx project | |
6 | |
7 echo "calling autoconf and autoheader..." | |
8 | |
9 (autoconf --version) < /dev/null > /dev/null 2>&1 || { | |
10 echo | |
11 echo "You must have autoconf installed to build Octave." | |
12 echo "Download the appropriate package for your distribution," | |
13 echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/" | |
14 exit 1 | |
15 } | |
16 | |
17 (autoheader --version) < /dev/null > /dev/null 2>&1 || { | |
18 echo | |
19 echo "You must have autoheader installed to build Octave." | |
20 echo "Download the appropriate package for your distribution," | |
21 echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/" | |
22 exit 1 | |
23 } | |
24 | |
25 for i in `find . -name configure.in -print`; do ( | |
26 cd `dirname $i` | |
27 pwd | |
28 autoconf | |
29 autoheader | |
30 ); done | |
31 | |
32 echo Done.cc | |
33 | |
34 ./configure "$@" | |
35 | |
36 if [ -f cvs.motd ]; then | |
37 echo "ATTENTION CVS Users!" | |
38 echo "" | |
39 cat cvs.motd | |
40 echo "" | |
41 fi |