2002-01-08 19:34:11 +01:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2002-01-09 22:01:18 +01:00
|
|
|
# Call the 'configure' script located in 'builds/unix'.
|
|
|
|
#
|
|
|
|
# This should re-generate the following files:
|
|
|
|
#
|
|
|
|
# config.mk
|
|
|
|
# Jamfile
|
|
|
|
# install
|
2002-01-08 19:34:11 +01:00
|
|
|
#
|
* README.UNX: updated the Unix-specific quick-compilation guide to
warn about the GNU Make requirement at compile time..
* include/freetype/config/ftstdlib.h,
include/freetype/config/ftconfig.h,
include/freetype/config/ftheader.h,
include/freetype/internal/ftmemory.h,
include/freetype/internal/ftobjs.h,
src/autohint/ahoptim.c,
src/base/ftdbgmem.c, src/base/ftdebug.c,
src/base/ftmac.c, src/base/ftobjs.c,
src/base/ftsystem.c,
src/cache/ftcimage.c, src/cache/ftcsbits.c,
src/cff/cffdriver.c, src/cff/cffload.c, src/cff/cffobjs.c,
src/cid/cidload.c, src/cid/cidparse.c, src/cid/cidriver.c,
src/pcf/pcfdriver.c, src/pcf/pcfread.c,
src/psaux/t1cmap.c, src/psaux/t1decode.c,
src/pshinter/pshalgo1.c, src/pshinter/pshalgo2.c,
src/pshinter/pshrec.c,
src/psnames/psmodule.c,
src/raster/ftraster.c,
src/sfnt/sfdriver.c, src/sfnt/ttload.c, src/sfnt/ttpost.c,
src/smooth/ftgrays.c,
src/type1/t1afm.c, src/type1/t1driver.c, src/type1/t1gload.c,
src/type1/t1load.c, src/type1/t1objs.c, src/type1/t1parse.c:
added the new configuration file "ftstdlib.h" used to define
aliases for all ISO C library functions used by the engine
(e.g. strlen, qsort, setjmp, etc...)
this eases the porting of FreeType 2 to exotic environments like
XFree86 modules/extensions..
also removed many #include <string.h>, #include <stdlib.h>, etc...
from the engine's sources where they're not needed..
2002-04-12 11:31:48 +02:00
|
|
|
|
|
|
|
if [ "x$GNUMAKE" = x ]; then
|
|
|
|
GNUMAKE=make
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ `$GNUMAKE -v 2>/dev/null|grep -ic gnu` -eq 0 ]; then
|
|
|
|
echo "Sorry, GNU make is required to build FreeType2." >&2
|
|
|
|
echo "Please try \`GNUMAKE=<GNU make command name> $0'." >&2
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
CFG="$@" $GNUMAKE setup unix
|