summaryrefslogtreecommitdiff
path: root/configure
Commit message (Collapse)AuthorAgeFilesLines
* * configure: Use `sed` instead of `grep`.Alexei Podtelezhnikov2023-03-021-11/+2
| | | This is more portable and consistent with `autogen.sh`.
* * configure: Don't hardcode `grep -E`.Karl Berry2023-02-261-2/+11
| | | | | | TeXLive still supports Solaris 5.10, where the system's `grep` doesn't accept the `-E` option. We thus introduce an `EGREP` variable that is set to either `grep -E` or `-egrep`.
* Update all copyright notices.Werner Lemberg2023-01-171-1/+1
|
* * configure: s/egrep/grep -E/Werner Lemberg2022-07-241-2/+2
| | | | `egrep` is deprecated.
* Update all copyright notices.Werner Lemberg2022-01-111-1/+1
|
* configure: Use string comparison for directory inodes.Werner Lemberg2021-10-181-1/+1
| | | | | | Inode values might be larger than integers supported by the shell. Fixes #1105.
* Update all copyright notices.Werner Lemberg2021-01-171-1/+1
|
* [docs] Fix building docs if `srcdir' != `builddir'.Nikhil Ramakrishnan2020-03-221-4/+4
| | | | | | | | | | | `docs/reference/*' was moved one directory up in commit 237fed6. * builds/unix/unix-def.in (PIP): Remove variable. * configure: Create `docs' directory and copy assets from `docs/markdown'. * docs/README: Output directory is `reference'.
* Update all copyright notices.Werner Lemberg2020-01-191-1/+1
|
* Update all copyright notices.Werner Lemberg2019-02-231-1/+1
|
* Update copyright years.Werner Lemberg2019-01-221-1/+1
|
* * configure: Copy assets required by docwriter.Nikhil Ramakrishnan2018-08-261-0/+2
| | | | | | | | | | | Copy directory `docs/reference/markdown' when FreeType is compiled in a different directory. Fixes `make refdoc' if builddir != srcdir. Reported as http://lists.nongnu.org/archive/html/freetype-devel/2018-08/msg00083.html
* [build] Use `info' function of make 3.81.Alexei Podtelezhnikov2018-04-151-1/+1
| | | | | | | | | | | * configure, docs/INSTALL, docs/INSTALL.CROSS, docs/INSTALL.GNU, docs/INSTALL.UNIX, docs/MAKEPP: Bump make version requirements. * builds/detect.mk (std_setup): Replace `echo' with `info'. (dos_setup): Removed. * builds/unix/install.mk, builds/modules.mk, builds/dos/detect.mk, builds/windows/detect.mk, builds/os2/detect.mk: Updated. * builds/newline: No longer needed.
* Update copyright year.Werner Lemberg2018-01-021-1/+1
|
* */*: s/backwards compatibility/backward compatibility/.Werner Lemberg2017-05-031-1/+1
|
* Update copyright year.Werner Lemberg2017-01-041-1/+1
|
* Update copyright year.Werner Lemberg2016-01-131-1/+1
|
* Run `src/tools/update-copyright'.Werner Lemberg2015-01-171-1/+1
|
* * configure: Use egrep, not grep.Werner Lemberg2013-03-311-2/+2
| | | | Problem reported Mojca Miklavec <mojca.miklavec.lists@gmail.com>.
* * configure: Automatically test for `gmake' also.Werner Lemberg2013-03-211-13/+15
| | | | Suggested by Mojca Miklavec <mojca.miklavec.lists@gmail.com>.
* Minor.Werner Lemberg2013-03-211-3/+6
|
* Fix Savannah patch #7971.Werner Lemberg2013-03-211-7/+12
| | | | * configure: Handle MAKE environment variable also.
* Whitespace.Werner Lemberg2011-12-021-13/+13
|
* Fix Savannah bug #31253.Werner Lemberg2010-10-051-2/+2
| | | | | | | Patch submitted by an anonymous reporter. * configure: Use `awk' instead of `sed' to manipulate output of `ls -id'.
* Avoid `configure' issues with symbolic links.Werner Lemberg2010-10-031-4/+9
| | | | | | | Based on a patch from Alexander Stohr <Alexander.Stohr@gmx.de>. * configure: Compare directories using `ls -id'. Check existence of `reference' subdirectory before creating it.
* Ignore the environmental setting of LIBTOOL.suzuki toshiya2010-08-311-1/+1
| | | | | | | | | | | | Patch is suggested by Adrian Bunk, to prevent unexpected reflection of environmental LIBTOOL. See: http://savannah.nongnu.org/patch/?7290 * builds/unix/unix-cc.in: LIBTOOL is unconditionally set to $(FT_LIBTOOL_DIR)/libtool. FT_LIBTOOL_DIR is set to $(BUILD_DIR) by default. * configure: When configured for the building out of source tee, FT_LIBTOOL_DIR is set to $(OBJ_DIR).
* * Version 2.3.10 released.VER-2-3-10Werner Lemberg2009-10-061-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | ========================== Tag sources with `VER-2-3-10'. * builds/toplevel.mk (major, minor, patch): Fix regexp to allow more than a single digit. (dist): We now use git. * docs/VERSION.DLL: Update documentation and bump version number to 2.3.10. * README, Jamfile (RefDoc), builds/win32/visualc/index.html, builds/win32/visualc/freetype.dsp, builds/win32/visualc/freetype.vcproj, builds/win32/visualce/index.html, builds/win32/visualce/freetype.dsp, builds/win32/visualce/freetype.vcproj: s/2.3.9/2.3.10/, s/239/2310/. * include/freetype/freetype.h (FREETYPE_PATCH): Set to 10. * builds/unix/configure.raw (version_info): Set to 9:21:3.
* Formatting.Werner Lemberg2009-06-281-2/+2
|
* Keep existing modules.cfg in the building tree.suzuki toshiya2009-06-271-2/+4
|
* Filter --srcdir= option before invoking builds/unix/configure.suzuki toshiya2009-06-271-1/+15
|
* Since FreeType uses `$(value ...)', we now need GNU make 3.80 orWerner Lemberg2008-07-051-5/+9
| | | | | | | | | | newer. * configure: zsh doesn't like ${1+"$@"}. Update needed GNU make version. * builds/toplevel.mk: Check for `$(eval ...)'. * docs/INSTALL.GNU, docs/INSTALL.CROSS, docs/INSTALL.UNIX: Document it.
* Pass options from one configure script to another as-is (notWerner Lemberg2007-12-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | expanded). This is needed for options like --includedir='${prefix}/include'. * builds/unix/detect.mk, configure: Prevent argument expansion in call to the (real) `configure' script. * src/truetype/ttgload.c (load_truetype_glyph): Fix compilation if TT_USE_BYTECODE_INTERPRETER isn't defined. There exist CFFs which contain opcodes for the Type 1 operators `hsbw' and `closepath' which are both invalid in Type 2 charstrings. However, it doesn't harm to support them. * src/cff/cffgload.c (CFF_Operator): Add `cff_op_hsbw' and `cff_op_closepath.' (cff_argument_counts): Ditto. (cff_decoder_parse_charstrings): Handle Type 1 opcodes 9 (closepath) and 13 (hsbw) which are invalid in Type 2 charstrings.
* * configure: Make it possible to handle configure options whichWerner Lemberg2006-08-291-1/+5
| | | | have strings containing spaces.
* Implement new, simplified module selection. With GNU make it is nowWerner Lemberg2006-01-311-14/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sufficient to modify a single file, `modules.cfg', to control the inclusion of modules and base extension files. This change also fixes the creation of ftmodule.h; it now depends on `modules.cfg' and thus is rebuilt only if necessary. Finally, a version of `ftoption.h' in OBJ_DIR is preferred over the default location. * modules.cfg: New file. * builds/freetype.mk: Don't include `modules.mk'. Include all `rules.mk' files as specified in `modules.cfg'. (FTOPTION_FLAG, FTOPTION_H): New variables. (FT_CFLAGS): Add macro definition for FT_CONFIG_MODULES_H. Add FTOPTION_FLAG. ($(FT_INIT_OBJ)): Don't use FT_MODULE_LIST. (CONFIG_H): Add FTMODULE_H and FTOPTION_H. (INCLUDES): Add DEVEL_DIR. (INCLUDE_FLAGS, FTSYS_SRC, FTSYS_OBJ, FTDEBUG_SRC, FTDEBUG_OBJ, OBJ_M, OBJ_S): Use `:=', not `='. (remove_ftmodule_h): New phony target to delete `ftmodule.h'. (distclean): Add remove_ftmodule_h. * builds/modules.mk: (MODULE_LIST): Removed. (make_module_list, clean_module_list): Replace targets with... (FTMODULE_H_INIT, FTMODULE_H_CREATE, FTMODULE_H_DONE): New variables. Reason for the change is that it is not possible to have a phony prerequisite which is run only if the target file must be rebuilt (phony prerequisites act like subroutines and are *always* executed). We only want to rebuild `ftmodule.h' if `module.cfg' is changed. Update all callers. ($FTMODULE_H)): Rule to create `ftmodule.h', depending on `modules.cfg'. * builds/toplevel.mk: Rewrite and simplify module handling. (MODULES_CFG, FTMODULE_H): New variables. Include MODULES_CFG. (MODULES): New variable to include all `module.mk' and `rules.mk' files. We no longer use make's `wildcard' function for this. * Makefile (USE_MODULES): Remove. Update all users. (OBJ_DIR): Define it here. * src/*/module.mk: Change make_module_list: foo foo: ... to FTMODULE_H_COMMANDS += FOO define FOO ... endef in all files. `FTMODULE_H_COMMANDS' is used in `FTMODULE_H_CREATE'. * src/base/rules.mk (BASE_EXT_SRC): Use BASE_EXTENSIONS. * builds/unix/detect.mk (setup): Always execute `configure' script. (have_mk): Rename to... (have_Makefile): This. Don't use `strip' function. * builds/unix/unix.mk: Include `install.mk' only if BUILD_PROJECT is defined. (have_mk): Don't use `strip' function. Test for unix-def.mk in OBJ_DIR, not BUILD_DIR (and invert the test accordingly). * builds/unix/install.mk (install, uninstall): Handle `ftmodule.h'. * builds/os2/os2-dev.mk, builds/unix/unix-dev.mk, builds/win32/w32-bccd.mk, builds/win32/w32-dev.mk: Don't define BUILD_DIR but DEVEL_DIR for development header files. * builds/ansi/ansi-def.mk (TOP_DIR, OBJ_DIR), builds/beos/beos-def.mk (TOP_DIR, OBJ_DIR), builds/unix/unix-def.in (TOP_DIR, OBJ_DIR): Removed. Defined elsewhere. * builds/dos/dos-def.mk (OBJ_DIR), builds/os2/os2-def.mk (OBJ_DIR), builds/win32/win32-def.mk (OBJ_DIR): Removed. Defined elsewhere. * builds/unix/unixddef.mk: Don't define BUILD_DIR but DEVEL_DIR for development header files. Don't define PLATFORM. * configure: Copy `modules.cfg' to builddir if builddir != srcdir. Update snippet taken from autoconf's m4sh.m4 to current CVS version. Be more verbose. * include/freetype/config/ftmodule.h: Add comments -- this file is no longer used if FreeType is built with GNU make. * docs/CHANGES, docs/CUSTOMIZE, docs/INSTALL, docs/INSTALL.ANY, docs/INSTALL.GNU, docs/INSTALL.UNX: Document new build mechanism. Other minor updates. * modules.txt: Removed. Contents included in `modules.cfg'. * include/freetype/internal/ftmemory.h (FT_QAlloc_Debug, FT_Free_Debug) [FT_STRICT_ALIASING]: Fix typos. * src/base/ftdbgmem.c (FT_Alloc_Debug, FT_Realloc_Debug, FT_QAlloc_Debug, FT_QRealloc_Debug, FT_Free_Debug) [FT_STRICT_ALIASING]: Implement.
* Add license.Werner Lemberg2005-06-041-0/+10
|
* * configure: Always remove config.mk, builds/unix/unix-def.mk, andWerner Lemberg2005-05-241-6/+3
| | | | | builds/unix/unix-cc.mk. This fixes repeated calls of the script. Reported by Nelson Beebe and Behdad Esfahbod.
* * configure: Output more variables to the created Makefile so thatWerner Lemberg2005-02-131-6/+13
| | | | | it can be used for ft2demos also (if the FT2DEMOS variable is defined).
* * configure: Accept makepp also.Werner Lemberg2004-04-131-4/+8
| | | | | | | | | | * builds/unix/detect.mk: Use proper path to unix-def.mk. * builds/unix/unix-def.in (BUILD_DIR, PLATFORM): Remove. * builds/unix/unix.mk (BUILD_DIR, PLATFORM): Define. Use BUILD_DIR. * docs/INSTALL, docs/INSTALL.GNU, docs/INSTALL.UNX: Update documentation on makepp.
* * builds/freetype.mk (DOC_DIR): New variable.Werner Lemberg2003-07-091-5/+7
| | | | | | | | | | | | | | | | | (refdoc): Use *_DIR variables. (distclean): Remove documentation files. * builds/detect.mk (std_setup, dos_setup): Mention `make refdoc'. * configure: Set DOC_DIR variable. * builds/freetype.mk (refdoc): New target to build the documentation. (.PHONY): Updated. * include/freetype/freetype.h: Improve documentation of FT_CharMap. * include/freetype/ftimage,h: Fix documentation of FT_OUTLINE_FLAGS. * include/freetype/tttables.h: Document FT_Sfnt_Tag.
* * Makefile, configure, */*.mk, builds/unix/unix-def.in,Werner Lemberg2002-06-141-1/+1
| | | | docs/CHANGES, docs/INSTALL: s/TOP/TOP_DIR/.
* FreeType 2 can now be built in an external directory with theWerner Lemberg2002-05-051-2/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | configure script also. * builds/freetype.mk (INCLUDES): Add `OBJ_DIR'. * builds/unix/detect.mk (have_mk): New variable to test for external build. (unix-def.mk): Defined according to value of `have_mk'. * builds/unix/unix.mk (have_mk): New variable to test for external build. Select include paths for unix-def.mk and unix-cc.mk according to value of `have_mk'. * builds/unix/unix-def.in (OBJ_BUILD): New variable. (DISTCLEAN): Use it. * builds/unix/unix-cc.in (LIBTOOL): Define default value only if not yet defined. * builds/unix/install.mk (install): Use `OBJ_BUILD' for installing freetype-config. * configure: Don't depend on bash features. (ft2_dir, abs_curr_dir, abs_ft2_dir): New variables (code partially taken from Autoconf). Build a dummy Makefile if not building in source tree. * docs/INSTALL: Document it.
* * README.UNX: updated the Unix-specific quick-compilation guide toDavid Turner2002-04-121-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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..
* fixed the "configure" script in the top-level directory..David Turner2002-01-291-1/+1
| | | | | | | | | It didn't work correctly when several arguments were passed to it. For example, when typing: ./configure --disable-shared --prefix=/usr the "--prefix=/usr" was incorrectly sent to the "make" program..
* Formatting.Werner Lemberg2002-01-091-5/+7
|
* adding filesDavid Turner2002-01-081-0/+9