Debian Codegraph @

texk/xdvipsk/configure.ac

raw
1 dnl Process this file with autoconf to produce a configure script.
2 dnl
3 dnl Copyright 2016-2026 Karl Berry <[email protected]>
4 dnl Copyright 2009-2015 Peter Breitenlohner <[email protected]>
5 dnl
6 dnl This file is free software; the copyright holder
7 dnl gives unlimited permission to copy and/or distribute it,
8 dnl with or without modifications, as long as this notice is preserved.
9 dnl
10 AC_INIT([xdvipsk (TeX Live)], [2026.1], [[email protected]])
11 AC_PREREQ([2.65])
12 AC_CONFIG_SRCDIR([xdvips.c])
13 AC_CONFIG_AUX_DIR([../../build-aux])
14 AC_CONFIG_MACRO_DIR([../../m4])
15
16 # Don't do anything if disabled. The 32-bit Solaris for github doesn't
17 # have main in libstdc++ (last check here). Have to figure out what's
18 # going on.
19 # https://productionresultssa15.blob.core.windows.net/actions-results/4ba3b577-6e5c-410c-a84a-aab41c3c0937/workflow-job-run-bfb09077-766b-50a7-85e6-c2be65408694/logs/job/job-logs.txt?rsct=text%2Fplain&se=2026-01-22T23%3A00%3A21Z&sig=f9XUBuDhUbo0QWKoo7xRXDBp98JkPYamHHCIyFSVm8g%3D&ske=2026-01-22T23%3A14%3A33Z&skoid=ca7593d4-ee42-46cd-af88-8b886a2f84eb&sks=b&skt=2026-01-22T22%3A14%3A33Z&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skv=2025-11-05&sp=r&spr=https&sr=b&st=2026-01-22T22%3A50%3A16Z&sv=2025-11-05
20 if test "x$enable_xdvipsk" != xyes; then
21 echo "$0: xdvipsk disabled, not configuring."
22 exit 0
23 fi
24
25 # check for C++ compiler and the library compiler
26 AC_PROG_CXX
27 AC_PROG_RANLIB
28
29 dnl Common code for all programs using libkpathsea.
30 KPSE_COMMON([xdvipsk])
31 KPSE_CANONICAL_HOST
32 AC_CANONICAL_HOST
33 AM_CONDITIONAL([cross], [test "x$cross_compiling" = xyes])
34
35 KPSE_LUA53_DEFINES
36
37 AC_CONFIG_HEADERS([c-auto.h:c-auto.in])
38
39 AC_CHECK_SIZEOF([int])
40
41 AC_SEARCH_LIBS([pow], [m])
42
43 m4_include([../../version.ac])[] dnl define tex_live_version
44 AC_DEFINE([TL_VERSION], ["TeX Live tex_live_version()"],
45 [Define to the current TeX Live version string.])
46
47 KPSE_KPATHSEA_FLAGS
48 KPSE_LUA53_FLAGS
49 KPSE_ZLIB_FLAGS
50 KPSE_LIBPNG_FLAGS
51 KPSE_FREETYPE2_FLAGS
52
53 echo timestamp >config.force
54
55 # distribute additional compiler and linker flags
56 # --> set these variables instead of CXXFLAGS or LDFLAGS
57 AC_SUBST([AM_CXXFLAGS])
58 AC_SUBST([AM_LDFLAGS])
59 AC_SUBST([LIBS])
60
61 AC_CONFIG_FILES([Makefile man/Makefile])
62
63 # The subdirectory squeeze must be configured for the build system.
64 KPSE_NATIVE_SUBDIRS([squeeze])
65
66 AC_HEADER_SYS_WAIT
67
68 AC_OUTPUT