~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to config/autorun.sh

  • Committer: Monty Taylor
  • Date: 2008-07-05 22:08:52 UTC
  • mto: This revision was merged to the branch mainline in revision 77.
  • Revision ID: monty@inaugust.com-20080705220852-cqd9t6tfkhvlcf73
Removed HAVE_LONG_LONG, as this is now assumed.

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
25
24
## jump out if one of the programs returns 'false'
26
25
set -e
27
26
 
28
 
if test -d ".bzr" ; then
29
 
  bzr log --short > ChangeLog || touch ChangeLog
30
 
else
31
 
  touch ChangeLog
32
 
fi
33
 
 
 
27
## We do not currently support glibtoolize
34
28
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
 
29
#  if test \! "x`which glibtoolize 2> /dev/null | grep -v '^no'`" = x; then
 
30
#    LIBTOOLIZE=glibtoolize
 
31
  if test \! "x`which libtoolize-1.5 2> /dev/null | grep -v '^no'`" = x; then
38
32
    LIBTOOLIZE=libtoolize-1.5
39
33
  elif test \! "x`which libtoolize 2> /dev/null | grep -v '^no'`" = x; then
40
34
    LIBTOOLIZE=libtoolize
41
 
  elif test \! "x`which glibtoolize 2> /dev/null | grep -v '^no'`" = x; then
42
 
    LIBTOOLIZE=glibtoolize
43
35
  else 
44
 
    echo "libtoolize 1.5.x wasn't found, exiting"; exit 1
 
36
    echo "libtoolize 1.5.x wasn't found, exiting"; exit 0
45
37
  fi
46
38
fi
47
39
 
53
45
  elif test \! "x`which aclocal 2> /dev/null | grep -v '^no'`" = x; then
54
46
    ACLOCAL=aclocal
55
47
  else 
56
 
    echo "automake 1.10.x (aclocal) wasn't found, exiting"; exit 1
 
48
    echo "automake 1.10.x (aclocal) wasn't found, exiting"; exit 0
57
49
  fi
58
50
fi
59
51
 
65
57
  elif test \! "x`which automake 2> /dev/null | grep -v '^no'`" = x; then
66
58
    AUTOMAKE=automake
67
59
  else 
68
 
    echo "automake 1.10.x wasn't found, exiting"; exit 1
 
60
    echo "automake 1.10.x wasn't found, exiting"; exit 0
69
61
  fi
70
62
fi
71
63
 
79
71
  elif test \! "x`which autoconf 2> /dev/null | grep -v '^no'`" = x; then
80
72
    AUTOCONF=autoconf
81
73
  else 
82
 
    echo "autoconf 2.59+ wasn't found, exiting"; exit 1
 
74
    echo "autoconf 2.59+ wasn't found, exiting"; exit 0
83
75
  fi
84
76
fi
85
77
 
91
83
  elif test \! "x`which autoheader 2> /dev/null | grep -v '^no'`" = x; then
92
84
    AUTOHEADER=autoheader
93
85
  else 
94
 
    echo "autoconf 2.59+ (autoheader) wasn't found, exiting"; exit 1
 
86
    echo "autoconf 2.59+ (autoheader) wasn't found, exiting"; exit 0
95
87
  fi
96
88
fi
97
89
 
106
98
# and --force to overwrite them if they already exist
107
99
run $AUTOMAKE $AUTOMAKE_FLAGS  || die "Can't execute automake"
108
100
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