ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SheepShaver/src/Unix/autogen.sh
(Generate patch)

Comparing SheepShaver/src/Unix/autogen.sh (file contents):
Revision 1.1.1.1 by cebix, 2002-02-04T16:58:13Z vs.
Revision 1.4 by gbeauche, 2007-06-13T12:09:05Z

# Line 5 | Line 5
5  
6   DIE=0
7  
8 < PROG=SheepShaver
8 > PROG="SheepShaver"
9 >
10 > # Check how echo works in this /bin/sh
11 > case `echo -n` in
12 > -n) _echo_n=   _echo_c='\c';;
13 > *)  _echo_n=-n _echo_c=;;
14 > esac
15  
16   (autoconf --version) < /dev/null > /dev/null 2>&1 || {
17          echo
# Line 15 | Line 21 | PROG=SheepShaver
21          DIE=1
22   }
23  
24 + (aclocal --version) < /dev/null > /dev/null 2>&1 || {
25 +        echo
26 +        echo "**Error**: Missing aclocal. The version of automake"
27 +        echo "installed doesn't appear recent enough."
28 +        echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz"
29 +        echo "(or a newer version if it is available)"
30 +        DIE=1
31 + }
32 +
33   if test "$DIE" -eq 1; then
34          exit 1
35   fi
36  
37 < if test -z "$*"; then
38 <        echo "I am going to run ./configure with no arguments - if you wish "
24 <        echo "to pass any to it, please specify them on the $0 command line."
37 > if test -z "$ACLOCAL_FLAGS"; then
38 >    ACLOCAL_FLAGS="-I `aclocal --print-ac-dir` -I m4"
39   fi
40  
41 < for dir in .
42 < do
43 <  echo processing $dir
44 <  (cd $dir; \
45 <  aclocalinclude="$ACLOCAL_FLAGS"; \
46 <  aclocal $aclocalinclude; \
47 <  autoheader; autoconf)
48 < done
49 <
50 < ./configure "$@"
41 > aclocalinclude="$ACLOCAL_FLAGS"; \
42 > (echo $_echo_n " + Running aclocal: $_echo_c"; \
43 >    aclocal $aclocalinclude; \
44 > echo "done.") && \
45 > (echo $_echo_n " + Running autoheader: $_echo_c"; \
46 >    autoheader; \
47 > echo "done.") && \
48 > (echo $_echo_n " + Running autoconf: $_echo_c"; \
49 >    autoconf; \
50 > echo "done.")
51 >
52 > rm -f config.cache
53 >
54 > if [ x"$NO_CONFIGURE" = "x" ]; then
55 >    echo " + Running 'configure $@':"
56 >    if [ -z "$*" ]; then
57 >        echo "   ** If you wish to pass arguments to ./configure, please"
58 >        echo "   ** specify them on the command line."
59 >    fi
60 >    ./configure "$@"
61 > fi

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines