dnl Process this file with autoconf to produce a configure script. dnl dnl This file configure.in is part of the t1lib-package (V. 1.0). dnl dnl Author: Rainer Menzner (Rainer.Menzner@neuroinformatik.ruhr-uni-bochum.de) dnl Date: 06/25/1997 dnl Last Modified: 1999-12-14 dnl AC_REVISION([configure.in 1.00]) AC_INIT(lib/t1lib/t1base.c) AC_CONFIG_HEADER(lib/t1lib/sysconf.h:lib/t1lib/sysconf.h.in) AC_CONFIG_AUX_DIR(ac-tools) dnl The following variables specify version information of the dnl library. Starting with V. 1.0.0 the libtool scheme is used dnl as intended. T1LIB_LT_CURRENT=1 T1LIB_LT_REVISION=1 T1LIB_LT_AGE=0 T1LIB_IDENTIFIER="1.0.1" dnl Since I'm forgetful sometimes, I quote the libtool infopage here: dnl dnl 1. Start with version information of `0:0:0' for each libtool library. dnl dnl 2. Update the version information only immediately before a public dnl release of your software. More frequent updates are unnecessary, dnl and only guarantee that the current interface number gets larger dnl faster. dnl dnl 3. If the library source code has changed at all since the last dnl update, then increment REVISION (`C:R:A' becomes `C:r+1:A'). dnl dnl 4. If any interfaces have been added, removed, or changed since the dnl last update, increment CURRENT, and set REVISION to 0. dnl dnl 5. If any interfaces have been added since the last public release, dnl then increment AGE. dnl dnl 6. If any interfaces have been removed since the last public release, dnl then set AGE to 0. dnl We set CFLAGS in order to have complete control over compiler dnl switches during development dnl CFLAGS="$CFLAGS -g -Wall" dnl ----------------------------------------------------------- dnl Do not change anthing below this line! dnl ----------------------------------------------------------- dnl We use this file by Andreas Zeller to check for libXaw builtin(include, ac-tools/ice_find_athena.m4) builtin(include, ac-tools/aclocal.m4) # We want these before the checks, so the checks can modify their values. test -z "$LDLIBS" && LDLIBS=-lm AC_SUBST(LDLIBS) test -z "$PROGEXT" && PROGEXT="" AC_SUBST(PROGEXT) test -z "$CFLAGS" AC_SUBST(CFLAGS) test -z "$LDFLAGS" AC_SUBST(LDFLAGS) T1LIB_DATA_DIR="${datadir}/t1lib" dnl The following variables should be used AC_SUBST(T1LIB_LT_CURRENT) AC_SUBST(T1LIB_LT_REVISION) AC_SUBST(T1LIB_LT_AGE) AC_SUBST(T1LIB_DATA_DIR) AC_SUBST(T1LIB_IDENTIFIER) AC_SUBST(MAIN_TARGET) AC_SUBST(MAIN_HEADER) AC_SUBST(OPTIONS) AC_SUBST(no_x) AC_SUBST(CC) AC_SUBST(T1_AA_TYPE16) AC_SUBST(T1_AA_TYPE32) AC_SUBST(T1_AA_TYPE64) AC_SUBST(XSUBDIRS) AC_SUBST(T1LIBX_OBJS) AC_SUBST(T1LIBX_SRCS) AC_SUBST(T1LIBX_HEADERS) AC_SUBST(XOBJS) dnl **** Check for some programs and libraries **** AC_PROG_MAKE_SET AC_PROG_CC AC_PROG_CPP AC_PATH_XTRA ICE_FIND_ATHENA AM_PROG_LIBTOOL AC_PROG_INSTALL dnl **** Check for some compiler/system characteristics AC_C_CHAR_UNSIGNED AC_CHECK_SIZEOF(char,0) AC_CHECK_SIZEOF(short,0) AC_CHECK_SIZEOF(int,0) AC_CHECK_SIZEOF(long,0) AC_CHECK_SIZEOF(long long,0) AC_CHECK_SIZEOF(float,0) AC_CHECK_SIZEOF(double,0) AC_CHECK_SIZEOF(long double,0) AC_CHECK_SIZEOF(void *,0) dnl **** Check for gcc strength-reduce bug **** if test "x${GCC}" = "xyes" then dnl We don'use CFLAGS="$CFLAGS" AC_CACHE_CHECK( "for gcc strength-reduce bug", ac_cv_c_gcc_strength_bug, AC_TRY_RUN([ int main(void) { static int Array[[3]]; unsigned int B = 3; int i; for(i=0; i conftest_asm.s < we do it by hand: if test "$no_x" = "yes" then CFLAGS="${CFLAGS} -DT1LIB_NO_X11_SUPPORT" MAKEFILES="Makefile \ lib/Makefile \ lib/type1/Makefile \ lib/t1lib/Makefile \ type1afm/Makefile \ examples/Makefile \ doc/Makefile" else MAKEFILES="Makefile \ lib/Makefile \ lib/type1/Makefile \ lib/t1lib/Makefile \ xglyph/Makefile \ type1afm/Makefile \ examples/Makefile \ doc/Makefile" fi AC_OUTPUT([ $MAKEFILES ]) echo echo "Configure finished!" echo " Do: 'make' to compile the t1lib-package." echo " Do: 'make without_doc' to compile if you do not have LaTeX." echo " Do: 'make install' to install the t1lib-package." echo "" dnl echo " Do: 'make t1python-all' to compile the t1python-package." dnl echo "" dnl Local Variables: dnl comment-start: "dnl " dnl comment-end: "" dnl comment-start-skip: "\\bdnl\\b\\s *" dnl compile-command: "autoconf" dnl End: