mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2025-12-20 15:40:04 +01:00
34 lines
473 B
Bash
34 lines
473 B
Bash
|
|
#!/bin/sh
|
||
|
|
|
||
|
|
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
|
||
|
|
|
||
|
|
run aclocal -I .
|
||
|
|
run libtoolize --force --copy
|
||
|
|
run autoconf
|
||
|
|
|
||
|
|
chmod +x mkinstalldirs
|
||
|
|
chmod +x install-sh
|
||
|
|
|
||
|
|
cd ../..
|
||
|
|
|
||
|
|
chmod +x ./configure
|
||
|
|
|
||
|
|
# EOF
|