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