2005-03-05 20:05:35 +03:00
|
|
|
#!/bin/sh
|
|
|
|
|
2005-06-05 03:04:30 +04:00
|
|
|
# Copyright 2005 by
|
|
|
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
|
|
#
|
|
|
|
# This file is part of the FreeType project, and may only be used, modified,
|
|
|
|
# and distributed under the terms of the FreeType project license,
|
|
|
|
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
|
|
|
|
# indicate that you have read the license and understand and accept it
|
|
|
|
# fully.
|
|
|
|
|
2005-03-05 20:05:35 +03:00
|
|
|
run ()
|
|
|
|
{
|
|
|
|
echo "running \`$*'"
|
|
|
|
eval $*
|
|
|
|
|
|
|
|
if test $? != 0 ; then
|
|
|
|
echo "error while running \`$*'"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
if test ! -f ./builds/unix/configure.ac; then
|
|
|
|
echo "You must be in the same directory as \`autogen.sh'."
|
|
|
|
echo "Bootstrapping doesn't work if srcdir != builddir."
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
cd builds/unix
|
|
|
|
|
2005-04-13 22:12:36 +04:00
|
|
|
run aclocal -I . --force
|
2005-03-05 20:05:35 +03:00
|
|
|
run libtoolize --force --copy
|
2005-04-13 22:12:36 +04:00
|
|
|
run autoconf --force
|
2005-03-05 20:05:35 +03:00
|
|
|
|
|
|
|
chmod +x mkinstalldirs
|
|
|
|
chmod +x install-sh
|
|
|
|
|
|
|
|
cd ../..
|
|
|
|
|
|
|
|
chmod +x ./configure
|
|
|
|
|
|
|
|
# EOF
|