diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-01-12 10:38:02 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-01-12 10:38:02 +0000 |
commit | 68fdfb450dcbd81d3813d92f48dfe7cf55a6e19f (patch) | |
tree | 8abb6a84665dec55b702339932b334a8aaea0b98 /Build/source/libs/gd/configure.ac | |
parent | 6468a65dfedcdaa073d1ac16832fcf4c665f0e41 (diff) |
build system: libs/freetype2/ and libs/gd/
git-svn-id: svn://tug.org/texlive/trunk@16684 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/gd/configure.ac')
-rw-r--r-- | Build/source/libs/gd/configure.ac | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Build/source/libs/gd/configure.ac b/Build/source/libs/gd/configure.ac index 6c8371c3437..2b6b35adf70 100644 --- a/Build/source/libs/gd/configure.ac +++ b/Build/source/libs/gd/configure.ac @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. dnl -dnl Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org> +dnl Copyright (C) 2009, 2010 Peter Breitenlohner <tex-live@tug.org> dnl dnl This file is free software; the copyright holder dnl gives unlimited permission to copy and/or distribute it, @@ -32,6 +32,9 @@ AC_PROG_LN_S AC_CONFIG_HEADERS([config.h:config.hin]) +LT_PREREQ([2.2.6]) +LT_INIT + # Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS([errno.h limits.h stddef.h stdlib.h string.h unistd.h]) @@ -46,6 +49,7 @@ AC_SEARCH_LIBS([sin], [m], , [AC_ERROR([cannot find sin])]) KPSE_ZLIB_FLAGS KPSE_LIBPNG_FLAGS +KPSE_FREETYPE2_FLAGS AM_CONDITIONAL([build], [test "x$enable_build" != xno]) @@ -63,6 +67,12 @@ AC_CHECK_FUNC([png_create_read_struct], , [AC_ERROR([libpng not found])]) AC_CHECK_HEADERS([png.h], , [AC_ERROR([libpng not found])]) AC_DEFINE([HAVE_LIBPNG], 1, [Define if you have the png library.]) +KPSE_ADD_FLAGS([freetype2]) + +AC_CHECK_FUNC([FT_Init_FreeType], , [AC_ERROR([libfreetype2 not found])]) +AC_CHECK_HEADERS([ft2build.h], , [AC_ERROR([libfreetype2 not found])]) +AC_DEFINE([HAVE_LIBFREETYPE], 1, [ Define if you have the freetype library.]) + KPSE_RESTORE_FLAGS echo timestamp >config.force |