/[cebix]/SIDPlayer/autogen.sh
ViewVC logotype

Diff of /SIDPlayer/autogen.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1 by cebix, 2000-09-19T15:34:09Z revision 1.2 by cebix, 2001-01-16T14:12:54Z
# Line 1  Line 1 
1  #! /bin/sh  #! /bin/sh
2  aclocal  # Run this to generate all the initial makefiles, etc.
3  autoheader  # This was lifted from the Gimp, and adapted slightly by
4  autoconf  # Christian Bauer.
5  automake  
6  ./configure $*  DIE=0
7    
8    PROG=SIDPlayer
9    
10    (autoconf --version) < /dev/null > /dev/null 2>&1 || {
11            echo
12            echo "You must have autoconf installed to compile $PROG."
13            echo "Download the appropriate package for your distribution,"
14            echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
15            DIE=1
16    }
17    
18    (automake --version) < /dev/null > /dev/null 2>&1 || {
19            echo
20            echo "You must have automake installed to compile $PROG."
21            echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.4.tar.gz"
22            echo "(or a newer version if it is available)"
23            DIE=1
24    }
25    
26    if test "$DIE" -eq 1; then
27            exit 1
28    fi
29    
30    if test -z "$*"; then
31            echo "I am going to run ./configure with no arguments - if you wish "
32            echo "to pass any to it, please specify them on the $0 command line."
33    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 "$@"

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.26