~ubuntu-branches/ubuntu/jaunty/texlive-bin/jaunty-security

« back to all changes in this revision

Viewing changes to build/TeX/texk/dvipng/configure.in

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Preining
  • Date: 2008-06-26 23:14:59 UTC
  • mfrom: (2.1.30 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080626231459-y02rjsrgtafu83yr
Tags: 2007.dfsg.2-3
add missing source roadmap.fig of roadmap.eps in fontinst documentation
(Closes: #482915) (urgency medium due to RC bug)
(new patch add-missing-fontinst-source)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Thomas Esser, for teTeX. All settings here are my fault, don't blame
2
 
# the dvipng maintainers for it.
3
 
 
4
 
# Process this file with autoconf to produce a configure script.
5
 
AC_INIT(dvipng.c)
6
 
AC_DEFINE(PACKAGE_NAME, ["dvipng"])
7
 
AC_DEFINE(PACKAGE_VERSION, ["1.6"])
8
 
AC_DEFINE(PACKAGE_STRING, ["dvipng 1.6"])
9
 
 
10
 
# Checks for programs.
11
 
AC_SET_MAKE
12
 
AC_PROG_CC
13
 
AC_PROG_INSTALL
14
 
AC_PATH_PROG(GS, gs, :)
15
 
AC_DEFINE_UNQUOTED(GS_PATH, "$GS", [Define as the path to GhostScript.])
16
 
 
17
 
ac_cv_lib_t1_T1_InitLib=yes
18
 
PSFONTS_O=""
19
 
if test "$ac_cv_lib_t1_T1_InitLib" = yes; then
20
 
  PSFONTS_O="t1.o"
21
 
fi
22
 
AC_SUBST(PSFONTS_O)
23
 
 
24
 
if test -n "$PSFONTS_O"; then
25
 
  PSFONTS_O="$PSFONTS_O enc.o fontmap.o tfm.o"
26
 
fi
27
 
AC_HEADER_STDC
28
 
AC_HEADER_SYS_WAIT
29
 
AC_HEADER_TIME
30
 
AC_CHECK_HEADERS([inttypes.h fcntl.h sys/time.h stdbool.h])
31
 
 
32
 
# Checks for typedefs, structures, and compiler characteristics.
33
 
AC_C_CONST
34
 
AC_TYPE_PID_T
35
 
AC_TYPE_SIZE_T
36
 
 
37
 
#if test "$ac_cv_header_inttypes_h" = yes; then
38
 
  # Sometimes we want to use gcc -ansi -pedantic as a portability test
39
 
  # The typedef of int64_t is not in the system header file in that
40
 
  # case. Then, #define int64_t as "long long", which is non-ansi, but
41
 
  # is present in most modern compilers. Using a #define rather than a
42
 
  # typedef can be a problem, but in dvipng int64_t only is used as
43
 
  # typecast, and there are no problems.
44
 
 
45
 
#  MY_CHECK_TYPE(int64_t, long long)
46
 
#  MY_CHECK_TYPE(uint64_t, unsigned long long)
47
 
#fi
48
 
 
49
 
# Checks for library functions.
50
 
AC_FUNC_ALLOCA
51
 
AC_FUNC_MMAP
52
 
AC_FUNC_VPRINTF
53
 
AC_CHECK_FUNCS([dup2 strchr strrchr memchr memset putenv munmap strtol])
54
 
if test "$enable_timing" = "yes"; then
55
 
  AC_CHECK_FUNCS([ftime gettimeofday])
56
 
fi
57
 
 
58
 
sinclude(../../libs/zlib/withenable.ac)
59
 
sinclude(../../libs/zlib/zlib.ac)
60
 
sinclude(../../libs/libpng/withenable.ac)
61
 
sinclude(../../libs/libpng/libpng.ac)
62
 
sinclude(../../libs/t1lib/withenable.ac)
63
 
sinclude(../../libs/t1lib/t1lib.ac)
64
 
sinclude(../../libs/gd/withenable.ac)
65
 
sinclude(../../libs/gd/gd.ac)
66
 
sinclude(../kpathsea/withenable.ac)
67
 
 
68
 
AC_DEFINE(HAVE_KPATHSEA_KPATHSEA_H)
69
 
 
70
 
AC_CHECK_LIB(m, main)
71
 
AC_CHECK_LIB(gen, basename)
72
 
 
73
 
AC_CONFIG_HEADERS([config.h])
74
 
AC_CONFIG_FILES(Makefile)
75
 
AC_OUTPUT