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

Comparing mon/autogen.sh (file contents):
Revision 1.2 by cebix, 2001-01-16T14:10:55Z vs.
Revision 1.3 by cebix, 2002-08-03T14:54:28Z

# Line 7 | Line 7 | DIE=0
7  
8   PROG=cxmon
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 27 | Line 33 | if test "$DIE" -eq 1; then
33          exit 1
34   fi
35  
36 < if test -z "$*"; then
37 <        echo "I am going to run ./configure with no arguments - if you wish "
38 <        echo "to pass any to it, please specify them on the $0 command line."
36 > aclocalinclude="$ACLOCAL_FLAGS"; \
37 > (echo $_echo_n " + Running aclocal: $_echo_c"; \
38 >    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
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