dnl Process this file with autoconf to produce a configure script. dnl dnl Copyright (C) 2009, 2011 Peter Breitenlohner dnl dnl This file is free software; the copyright holder dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl m4_include([version.ac])[] dnl define t1lib_version AC_INIT([T1lib for TeX Live], t1lib_version, [tex-k@tug.org]) AC_PREREQ([2.65]) AC_CONFIG_SRCDIR([t1lib-]t1lib_version[/lib/t1lib/t1base.c]) AC_CONFIG_AUX_DIR([../../build-aux]) AC_CONFIG_MACRO_DIR([../../m4]) AM_INIT_AUTOMAKE([foreign no-define]) AM_MAINTAINER_MODE KPSE_LIB_VERSION([t1lib])[]dnl AC_SUBST([T1LIB_VERSION], [t1lib_major])[]dnl AC_SUBST([T1LIB_REVISION], [t1lib_minor])[]dnl AC_SUBST([T1LIB_PATCHLEVEL], [t1lib_micro])[]dnl AC_SUBST([T1LIB_VERSIONSTRING], '"t1lib_version"') AC_CONFIG_HEADERS([lib/t1lib/sysconf.h]) AM_CONDITIONAL([build], [test "x$enable_build" != xno]) dnl **** Check for some programs and libraries **** AC_PROG_CC AC_PROG_RANLIB KPSE_COMPILER_WARNINGS AC_SEARCH_LIBS([sqrt], [m]) dnl **** Check for some compiler/system characteristics AC_C_CHAR_UNSIGNED AC_CHECK_SIZEOF([char]) AC_CHECK_SIZEOF([short]) AC_CHECK_SIZEOF([int]) AC_CHECK_SIZEOF([long]) AC_CHECK_SIZEOF([long long]) AC_CHECK_SIZEOF([float]) AC_CHECK_SIZEOF([double]) AC_CHECK_SIZEOF([long double]) AC_CHECK_SIZEOF([void *]) dnl **** Check for gcc strength-reduce bug **** T1LIB_CFLAGS= if test "x$GCC" = xyes; then AC_CACHE_CHECK([for gcc strength-reduce bug], [ac_cv_c_gcc_strength_bug], [AC_RUN_IFELSE([AC_LANG_PROGRAM([[]], [[static int Array[3]; unsigned int B = 3; int i; for(i=0; i