~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to config/autorun.sh

  • Committer: Brian Aker
  • Date: 2009-05-30 20:14:43 UTC
  • mfrom: (1022.2.42 mordred)
  • Revision ID: brian@gaz-20090530201443-snmrokl1n7xkppb0
Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
set -e
29
29
 
30
30
if test -d ".bzr" ; then
 
31
  echo "Grabbing changelog and version information from bzr"
31
32
  bzr log --short > ChangeLog || touch ChangeLog
32
33
  BZR_REVNO=`bzr revno`
33
34
  BZR_REVID=`bzr log -r-1 --show-ids | grep revision-id | awk '{print $2}' | head -1`
62
63
  fi
63
64
fi
64
65
 
65
 
python config/register_plugins.py
66
66
 
67
67
if test x$LIBTOOLIZE = x; then
68
68
  if test \! "x`which glibtoolize 2> /dev/null | grep -v '^no'`" = x; then
69
69
    LIBTOOLIZE=glibtoolize
 
70
  elif test \! "x`which libtoolize-2.2 2> /dev/null | grep -v '^no'`" = x; then
 
71
    LIBTOOLIZE=libtoolize-2.2
70
72
  elif test \! "x`which libtoolize-1.5 2> /dev/null | grep -v '^no'`" = x; then
71
73
    LIBTOOLIZE=libtoolize-1.5
72
74
  elif test \! "x`which libtoolize 2> /dev/null | grep -v '^no'`" = x; then
74
76
  elif test \! "x`which glibtoolize 2> /dev/null | grep -v '^no'`" = x; then
75
77
    LIBTOOLIZE=glibtoolize
76
78
  else
77
 
    echo "libtoolize 1.5.x wasn't found, exiting"; exit 1
 
79
    echo "libtoolize wasn't found, exiting"; exit 1
78
80
  fi
79
81
fi
80
82
 
105
107
 
106
108
## macosx has autoconf-2.59 and autoconf-2.60
107
109
if test x$AUTOCONF = x; then
108
 
  if test \! "x`which autoconf-2.59 2> /dev/null | grep -v '^no'`" = x; then
 
110
  if test \! "x`which autoconf-2.63 2> /dev/null | grep -v '^no'`" = x; then
 
111
    AUTOCONF=autoconf-2.63
 
112
  elif test \! "x`which autoconf263 2> /dev/null | grep -v '^no'`" = x; then
 
113
    AUTOCONF=autoconf263
 
114
  elif test \! "x`which autoconf-2.60 2> /dev/null | grep -v '^no'`" = x; then
 
115
    AUTOCONF=autoconf-2.60
 
116
  elif test \! "x`which autoconf260 2> /dev/null | grep -v '^no'`" = x; then
 
117
    AUTOCONF=autoconf260
 
118
  elif test \! "x`which autoconf-2.59 2> /dev/null | grep -v '^no'`" = x; then
109
119
    AUTOCONF=autoconf-2.59
110
120
  elif test \! "x`which autoconf259 2> /dev/null | grep -v '^no'`" = x; then
111
121
    AUTOCONF=autoconf259
117
127
fi
118
128
 
119
129
if test x$AUTOHEADER = x; then
120
 
  if test \! "x`which autoheader-2.59 2> /dev/null | grep -v '^no'`" = x; then
 
130
  if test \! "x`which autoheader-2.63 2> /dev/null | grep -v '^no'`" = x; then
 
131
    AUTOHEADER=autoheader-2.63
 
132
  elif test \! "x`which autoheader263 2> /dev/null | grep -v '^no'`" = x; then
 
133
    AUTOHEADER=autoheader263
 
134
  elif test \! "x`which autoheader-2.60 2> /dev/null | grep -v '^no'`" = x; then
 
135
    AUTOHEADER=autoheader-2.60
 
136
  elif test \! "x`which autoheader260 2> /dev/null | grep -v '^no'`" = x; then
 
137
    AUTOHEADER=autoheader260
 
138
  elif test \! "x`which autoheader-2.59 2> /dev/null | grep -v '^no'`" = x; then
121
139
    AUTOHEADER=autoheader-2.59
122
140
  elif test \! "x`which autoheader259 2> /dev/null | grep -v '^no'`" = x; then
123
141
    AUTOHEADER=autoheader259
130
148
 
131
149
 
132
150
# --force means overwrite ltmain.sh script if it already exists 
 
151
run python config/register_plugins.py || die  "Can't execute register_plugins"
133
152
run $LIBTOOLIZE $LIBTOOLIZE_FLAGS || die "Can't execute libtoolize"
134
153
 
135
154
run $ACLOCAL $ACLOCAL_FLAGS || die "Can't execute aclocal"