blob: 5339101aab05d361f75e9082bf83d9d703cf44a7 [file] [log] [blame]
Werner Lembergb0db0fc2005-03-05 17:05:35 +00001#!/bin/sh
2
Werner Lemberg60a04df2005-06-04 23:04:30 +00003# Copyright 2005 by
4# David Turner, Robert Wilhelm, and Werner Lemberg.
5#
6# This file is part of the FreeType project, and may only be used, modified,
7# and distributed under the terms of the FreeType project license,
8# LICENSE.TXT. By continuing to use, modify, or distribute this file you
9# indicate that you have read the license and understand and accept it
10# fully.
11
Werner Lembergb0db0fc2005-03-05 17:05:35 +000012run ()
13{
14 echo "running \`$*'"
15 eval $*
16
17 if test $? != 0 ; then
18 echo "error while running \`$*'"
19 exit 1
20 fi
21}
22
23if test ! -f ./builds/unix/configure.ac; then
24 echo "You must be in the same directory as \`autogen.sh'."
25 echo "Bootstrapping doesn't work if srcdir != builddir."
26 exit 1
27fi
28
29cd builds/unix
30
Werner Lemberg1ea53e82005-04-13 18:12:36 +000031run aclocal -I . --force
Werner Lembergb0db0fc2005-03-05 17:05:35 +000032run libtoolize --force --copy
Werner Lemberg1ea53e82005-04-13 18:12:36 +000033run autoconf --force
Werner Lembergb0db0fc2005-03-05 17:05:35 +000034
35chmod +x mkinstalldirs
36chmod +x install-sh
37
38cd ../..
39
40chmod +x ./configure
41
42# EOF