~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to config/autorun.sh

Giant merge.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
if test -d ".bzr" ; then
28
28
  bzr log --short > ChangeLog || touch ChangeLog
 
29
else
 
30
  touch ChangeLog
29
31
fi
30
32
 
31
33
if test x$LIBTOOLIZE = x; then
38
40
  elif test \! "x`which glibtoolize 2> /dev/null | grep -v '^no'`" = x; then
39
41
    LIBTOOLIZE=glibtoolize
40
42
  else 
41
 
    echo "libtoolize 1.5.x wasn't found, exiting"; exit 0
 
43
    echo "libtoolize 1.5.x wasn't found, exiting"; exit 1
42
44
  fi
43
45
fi
44
46
 
50
52
  elif test \! "x`which aclocal 2> /dev/null | grep -v '^no'`" = x; then
51
53
    ACLOCAL=aclocal
52
54
  else 
53
 
    echo "automake 1.10.x (aclocal) wasn't found, exiting"; exit 0
 
55
    echo "automake 1.10.x (aclocal) wasn't found, exiting"; exit 1
54
56
  fi
55
57
fi
56
58
 
62
64
  elif test \! "x`which automake 2> /dev/null | grep -v '^no'`" = x; then
63
65
    AUTOMAKE=automake
64
66
  else 
65
 
    echo "automake 1.10.x wasn't found, exiting"; exit 0
 
67
    echo "automake 1.10.x wasn't found, exiting"; exit 1
66
68
  fi
67
69
fi
68
70
 
76
78
  elif test \! "x`which autoconf 2> /dev/null | grep -v '^no'`" = x; then
77
79
    AUTOCONF=autoconf
78
80
  else 
79
 
    echo "autoconf 2.59+ wasn't found, exiting"; exit 0
 
81
    echo "autoconf 2.59+ wasn't found, exiting"; exit 1
80
82
  fi
81
83
fi
82
84
 
88
90
  elif test \! "x`which autoheader 2> /dev/null | grep -v '^no'`" = x; then
89
91
    AUTOHEADER=autoheader
90
92
  else 
91
 
    echo "autoconf 2.59+ (autoheader) wasn't found, exiting"; exit 0
 
93
    echo "autoconf 2.59+ (autoheader) wasn't found, exiting"; exit 1
92
94
  fi
93
95
fi
94
96
 
103
105
# and --force to overwrite them if they already exist
104
106
run $AUTOMAKE $AUTOMAKE_FLAGS  || die "Can't execute automake"
105
107
run $AUTOCONF || die "Can't execute autoconf"
 
108
echo -n "Automade with: "
 
109
$AUTOMAKE --version | head -1
 
110
echo -n "Configured with: "
 
111
$AUTOCONF --version | head -1