/[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.2 by cebix, 2001-01-16T14:12:54Z revision 1.3 by cebix, 2002-08-03T15:13:20Z
# Line 7  DIE=0 Line 7  DIE=0
7    
8  PROG=SIDPlayer  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 || {  (autoconf --version) < /dev/null > /dev/null 2>&1 || {
17          echo          echo
18          echo "You must have autoconf installed to compile $PROG."          echo "You must have autoconf installed to compile $PROG."
# Line 27  if test "$DIE" -eq 1; then Line 33  if test "$DIE" -eq 1; then
33          exit 1          exit 1
34  fi  fi
35    
36  if test -z "$*"; then  aclocalinclude="$ACLOCAL_FLAGS"; \
37          echo "I am going to run ./configure with no arguments - if you wish "  (echo $_echo_n " + Running aclocal: $_echo_c"; \
38          echo "to pass any to it, please specify them on the $0 command line."      aclocal $aclocalinclude; \
39     echo "done.") && \
40    (echo $_echo_n " + Running autoheader: $_echo_c"; \
41        autoheader; \
42     echo "done.") && \
43    (echo $_echo_n " + Running automake: $_echo_c"; \
44        automake --gnu --add-missing --copy; \
45     echo "done.") && \
46    (echo $_echo_n " + Running autoconf: $_echo_c"; \
47        autoconf; \
48     echo "done.")
49    
50    rm -f config.cache
51    
52    if [ x"$NO_CONFIGURE" = "x" ]; then
53        echo " + Running 'configure $@':"
54        if [ -z "$*" ]; then
55            echo "   ** If you wish to pass arguments to ./configure, please"
56            echo "   ** specify them on the command line."
57        fi
58        ./configure "$@"
59  fi  fi
   
 for dir in .  
 do  
   echo processing $dir  
   (cd $dir; \  
   aclocalinclude="$ACLOCAL_FLAGS"; \  
   aclocal $aclocalinclude; \  
   autoheader; automake -a; autoconf)  
 done  
   
 ./configure "$@"  

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

  ViewVC Help
Powered by ViewVC 1.1.26