Fix double-clicking control panel items
[reactos.git] / reactos / lib / freetype / autogen.sh
1 #!/bin/sh
2
3 # 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
12 run ()
13 {
14 echo "running \`$*'"
15 eval $*
16
17 if test $? != 0 ; then
18 echo "error while running \`$*'"
19 exit 1
20 fi
21 }
22
23 if 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
27 fi
28
29 cd builds/unix
30
31 run aclocal -I . --force
32 run libtoolize --force --copy
33 run autoconf --force
34
35 chmod +x mkinstalldirs
36 chmod +x install-sh
37
38 cd ../..
39
40 chmod +x ./configure
41
42 # EOF