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

Comparing SIDPlayer/autogen.sh (file contents):
Revision 1.2 by cebix, 2001-01-16T14:12:54Z vs.
Revision 1.4 by cebix, 2002-08-03T15:20:51Z

# Line 7 | Line 7 | DIE=0
7  
8   PROG=SIDPlayer
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
18          echo "You must have autoconf installed to compile $PROG."
# Line 23 | Line 29 | PROG=SIDPlayer
29          DIE=1
30   }
31  
32 + (aclocal --version) < /dev/null > /dev/null 2>&1 || {
33 +        echo
34 +        echo "**Error**: Missing aclocal. The version of automake"
35 +        echo "installed doesn't appear recent enough."
36 +        echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz"
37 +        echo "(or a newer version if it is available)"
38 +        DIE=1
39 + }
40 +
41   if test "$DIE" -eq 1; then
42          exit 1
43   fi
44  
45 < if test -z "$*"; then
46 <        echo "I am going to run ./configure with no arguments - if you wish "
47 <        echo "to pass any to it, please specify them on the $0 command line."
45 > aclocalinclude="$ACLOCAL_FLAGS"; \
46 > (echo $_echo_n " + Running aclocal: $_echo_c"; \
47 >    aclocal $aclocalinclude; \
48 > echo "done.") && \
49 > (echo $_echo_n " + Running autoheader: $_echo_c"; \
50 >    autoheader; \
51 > echo "done.") && \
52 > (echo $_echo_n " + Running automake: $_echo_c"; \
53 >    automake --gnu --add-missing --copy; \
54 > echo "done.") && \
55 > (echo $_echo_n " + Running autoconf: $_echo_c"; \
56 >    autoconf; \
57 > echo "done.")
58 >
59 > rm -f config.cache
60 >
61 > if [ x"$NO_CONFIGURE" = "x" ]; then
62 >    echo " + Running 'configure $@':"
63 >    if [ -z "$*" ]; then
64 >        echo "   ** If you wish to pass arguments to ./configure, please"
65 >        echo "   ** specify them on the command line."
66 >    fi
67 >    ./configure "$@"
68   fi
34
35 for dir in .
36 do
37  echo processing $dir
38  (cd $dir; \
39  aclocalinclude="$ACLOCAL_FLAGS"; \
40  aclocal $aclocalinclude; \
41  autoheader; automake -a; autoconf)
42 done
43
44 ./configure "$@"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines