~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to config/autorun.sh

  • Committer: Jay Pipes
  • Date: 2008-07-21 17:52:33 UTC
  • mto: (201.2.1 drizzle)
  • mto: This revision was merged to the branch mainline in revision 204.
  • Revision ID: jay@mysql.com-20080721175233-mtyz298j8xl3v63y
cleanup of FAQ file

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
# LIBTOOLIZE=${LIBTOOLIZE:-libtoolize}
8
8
LIBTOOLIZE_FLAGS=" --automake --copy --force"
9
9
# ACLOCAL=${ACLOCAL:-aclocal}
10
 
ACLOCAL_FLAGS="-I m4"
11
10
# AUTOHEADER=${AUTOHEADER:-autoheader}
12
11
# AUTOMAKE=${AUTOMAKE:-automake}
13
 
AUTOMAKE_FLAGS="--add-missing --copy --force"
 
12
AUTOMAKE_FLAGS="--add-missing --copy --force -W all"
14
13
# AUTOCONF=${AUTOCONF:-autoconf}
15
14
 
16
15
ARGV0=$0
27
26
 
28
27
if test -d ".bzr" ; then
29
28
  bzr log --short > ChangeLog || touch ChangeLog
30
 
else
31
 
  touch ChangeLog
32
29
fi
33
30
 
34
31
if test x$LIBTOOLIZE = x; then
35
 
  if test \! "x`which glibtoolize 2> /dev/null | grep -v '^no'`" = x; then
36
 
    LIBTOOLIZE=glibtoolize
37
 
  elif test \! "x`which libtoolize-1.5 2> /dev/null | grep -v '^no'`" = x; then
 
32
  if test \! "x`which libtoolize-1.5 2> /dev/null | grep -v '^no'`" = x; then
38
33
    LIBTOOLIZE=libtoolize-1.5
39
34
  elif test \! "x`which libtoolize 2> /dev/null | grep -v '^no'`" = x; then
40
35
    LIBTOOLIZE=libtoolize
41
36
  elif test \! "x`which glibtoolize 2> /dev/null | grep -v '^no'`" = x; then
42
37
    LIBTOOLIZE=glibtoolize
43
38
  else 
44
 
    echo "libtoolize 1.5.x wasn't found, exiting"; exit 1
 
39
    echo "libtoolize 1.5.x wasn't found, exiting"; exit 0
45
40
  fi
46
41
fi
47
42
 
53
48
  elif test \! "x`which aclocal 2> /dev/null | grep -v '^no'`" = x; then
54
49
    ACLOCAL=aclocal
55
50
  else 
56
 
    echo "automake 1.10.x (aclocal) wasn't found, exiting"; exit 1
 
51
    echo "automake 1.10.x (aclocal) wasn't found, exiting"; exit 0
57
52
  fi
58
53
fi
59
54
 
65
60
  elif test \! "x`which automake 2> /dev/null | grep -v '^no'`" = x; then
66
61
    AUTOMAKE=automake
67
62
  else 
68
 
    echo "automake 1.10.x wasn't found, exiting"; exit 1
 
63
    echo "automake 1.10.x wasn't found, exiting"; exit 0
69
64
  fi
70
65
fi
71
66
 
79
74
  elif test \! "x`which autoconf 2> /dev/null | grep -v '^no'`" = x; then
80
75
    AUTOCONF=autoconf
81
76
  else 
82
 
    echo "autoconf 2.59+ wasn't found, exiting"; exit 1
 
77
    echo "autoconf 2.59+ wasn't found, exiting"; exit 0
83
78
  fi
84
79
fi
85
80
 
91
86
  elif test \! "x`which autoheader 2> /dev/null | grep -v '^no'`" = x; then
92
87
    AUTOHEADER=autoheader
93
88
  else 
94
 
    echo "autoconf 2.59+ (autoheader) wasn't found, exiting"; exit 1
 
89
    echo "autoconf 2.59+ (autoheader) wasn't found, exiting"; exit 0
95
90
  fi
96
91
fi
97
92
 
106
101
# and --force to overwrite them if they already exist
107
102
run $AUTOMAKE $AUTOMAKE_FLAGS  || die "Can't execute automake"
108
103
run $AUTOCONF || die "Can't execute autoconf"
109
 
echo -n "Automade with: "
110
 
$AUTOMAKE --version | head -1
111
 
echo -n "Configured with: "
112
 
$AUTOCONF --version | head -1