diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2008-02-29 15:40:00 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2008-02-29 15:40:00 +0000 |
commit | 2b049d253dc2dfcbddc656ee3bffedf9f65a67b2 (patch) | |
tree | 11d05560a28146f8bb03fe436ae00e5e5ffd2712 /Build/source/texk/dvipdfm/acinclude.m4 | |
parent | b18fbbf19bcc21a491e8c0145b1d7b2d3507ef21 (diff) |
next step in autotools update
add autoheader in reautoconf script and maintainer rules
(maintainer mode still has some problems)
remove need for acconfig.h (templates via AC_DEFINE)
svn:ignore atom4te.cache directories
reautoconf of the whole tree
git-svn-id: svn://tug.org/texlive/trunk@6773 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm/acinclude.m4')
-rw-r--r-- | Build/source/texk/dvipdfm/acinclude.m4 | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/Build/source/texk/dvipdfm/acinclude.m4 b/Build/source/texk/dvipdfm/acinclude.m4 index aa1ec43fb6f..879c18301f2 100644 --- a/Build/source/texk/dvipdfm/acinclude.m4 +++ b/Build/source/texk/dvipdfm/acinclude.m4 @@ -4,7 +4,9 @@ AC_DEFUN([AC_EXT_TIMEZONE], [AC_MSG_CHECKING([whether time.h defines timezone as an external variable]) AC_TRY_LINK([#include <time.h>], [ -timezone; ], - [AC_MSG_RESULT(yes); AC_DEFINE(HAVE_TIMEZONE)], [AC_MSG_RESULT(no)])]) + [AC_MSG_RESULT(yes) + AC_DEFINE([HAVE_TIMEZONE], 1, [define if <time.h> has timezone as an external variable])], + [AC_MSG_RESULT(no)])]) AC_DEFUN([AC_HAVE_BASENAME], [AC_MSG_CHECKING([whether basename is in either libgen.h or string.h]) AC_TRY_COMPILE([#include <libgen.h> @@ -13,7 +15,9 @@ AC_DEFUN([AC_HAVE_BASENAME], AC_DEFUN([AC_TZ_HAS_TM_GMTOFF], [AC_MSG_CHECKING([whether struct tz has tm_gmtoff as a member]) AC_TRY_COMPILE([#include <time.h>], [struct tm *tp; tp->tm_gmtoff], - [AC_MSG_RESULT(yes); AC_DEFINE(HAVE_TM_GMTOFF)], [AC_MSG_RESULT(no)])]) + [AC_MSG_RESULT(yes) + AC_DEFINE([HAVE_TM_GMTOFF], 1, [define if struct tm has tm_gmtoff as a member])], + [AC_MSG_RESULT(no)])]) # AC_DEFUN([AC_HAS_KPSE_FORMATS], [AC_MSG_CHECKING([whether you have kpathsea headers and they whether they know about the required file formats]) @@ -21,7 +25,8 @@ AC_DEFUN([AC_HAS_KPSE_FORMATS], #include <kpathsea/tex-file.h>], [kpse_tex_ps_header_format; kpse_type1_format;kpse_vf_format], - [AC_MSG_RESULT(yes); AC_DEFINE(HAVE_KPSE_FORMATS)], + [AC_MSG_RESULT(yes) + AC_DEFINE([HAVE_KPSE_FORMATS], 1, [define if kpathsea supports type1 and vf formats])], [AC_MSG_RESULT(no); AC_MSG_ERROR([PS_HEADER and/or VF formats not found in Kpathsea header files. @@ -38,7 +43,8 @@ AC_DEFUN([AC_HAS_OMEGA_FORMATS], AC_TRY_COMPILE([#include <stdio.h> #include <kpathsea/tex-file.h>], [kpse_ofm_format], - [AC_MSG_RESULT(yes); AC_DEFINE(HAVE_OMEGA_FORMATS)], + [AC_MSG_RESULT(yes) + AC_DEFINE([HAVE_OMEGA_FORMATS], 1, [Define if kpathsea understands Omega (OFM/OVF) formats])], [AC_MSG_RESULT(no)])]) AC_DEFUN([AC_HAS_TTF_FORMATS], [AC_MSG_CHECKING([whether your kpathsea supports Truetype (TTF) file formats]) @@ -46,7 +52,7 @@ AC_DEFUN([AC_HAS_TTF_FORMATS], #include <kpathsea/tex-file.h>], [kpse_truetype_format], [AC_MSG_RESULT(yes) - AC_DEFINE(HAVE_TTF_FORMATS) + AC_DEFINE([HAVE_TTF_FORMATS], 1 ,[define if kpathsea understands TrueType (TTF) formats]) TTF_OPT=''], [AC_MSG_RESULT(no)])]) # @@ -66,10 +72,10 @@ AC_MSG_CHECKING([for zlib header files]) AC_TRY_COMPILE([#include <zlib.h>], [z_stream p;], [AC_MSG_RESULT(yes) AC_CHECK_LIB(z, compress, -[AC_DEFINE(HAVE_ZLIB) +[AC_DEFINE([HAVE_ZLIB], 1, [define if you have zlib and its headers]) LIBS="$LIBS -lz" AC_CHECK_LIB(z, compress2, -[AC_DEFINE(HAVE_ZLIB_COMPRESS2)])])], +[AC_DEFINE([HAVE_ZLIB_COMPRESS2], 1, [define if your zlib has the compress2 function])])])], [CPPFLAGS=$_cppflags LDDFLAGS=$_ldflags AC_MSG_RESULT(no)])]) @@ -91,7 +97,7 @@ AC_MSG_CHECKING([for png header files]) AC_TRY_COMPILE([#include <png.h>], [png_infop p;], [ AC_MSG_RESULT(yes) AC_CHECK_LIB(png, png_get_image_width, [ - AC_DEFINE(HAVE_LIBPNG) + AC_DEFINE([HAVE_LIBPNG], 1, [define if you have libpng]) LIBS="$LIBS -lpng"], , -lz)], [ AC_MSG_RESULT(no)])]) # |