~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to config/autorun.sh

  • Committer: Monty Taylor
  • Date: 2008-10-16 20:45:05 UTC
  • Revision ID: monty@inaugust.com-20081016204505-bwi4ijvit5lgu7ux
Reverted config.guess and config.sub. Removed libtoolize from config/autorun.sh

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
die() { echo "$@"; exit 1; }
6
6
 
7
 
# LIBTOOLIZE=${LIBTOOLIZE:-libtoolize}
8
 
LIBTOOLIZE_FLAGS=" --automake --copy"
9
7
# ACLOCAL=${ACLOCAL:-aclocal}
10
8
ACLOCAL_FLAGS="-I m4"
11
9
# AUTOHEADER=${AUTOHEADER:-autoheader}
31
29
  touch ChangeLog
32
30
fi
33
31
 
34
 
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
38
 
    LIBTOOLIZE=libtoolize-1.5
39
 
  elif test \! "x`which libtoolize 2> /dev/null | grep -v '^no'`" = x; then
40
 
    LIBTOOLIZE=libtoolize
41
 
  elif test \! "x`which glibtoolize 2> /dev/null | grep -v '^no'`" = x; then
42
 
    LIBTOOLIZE=glibtoolize
43
 
  else 
44
 
    echo "libtoolize 1.5.x wasn't found, exiting"; exit 1
45
 
  fi
46
 
fi
47
 
 
48
32
if test x$ACLOCAL = x; then
49
33
  if test \! "x`which aclocal-1.10 2> /dev/null | grep -v '^no'`" = x; then
50
34
    ACLOCAL=aclocal-1.10
99
83
run $ACLOCAL $ACLOCAL_FLAGS || die "Can't execute aclocal"
100
84
run $AUTOHEADER || die "Can't execute autoheader"
101
85
 
102
 
# --force means overwrite ltmain.sh script if it already exists 
103
 
run $LIBTOOLIZE $LIBTOOLIZE_FLAGS || die "Can't execute libtoolize"
104
 
 
105
86
# --add-missing instructs automake to install missing auxiliary files
106
87
# and --force to overwrite them if they already exist
107
88
run $AUTOMAKE $AUTOMAKE_FLAGS  || die "Can't execute automake"