summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipng
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvipng')
-rw-r--r--Build/source/texk/dvipng/ChangeLog6
-rw-r--r--Build/source/texk/dvipng/Makefile.am6
-rw-r--r--Build/source/texk/dvipng/Makefile.in8
-rw-r--r--Build/source/texk/dvipng/config.h.in3
-rwxr-xr-xBuild/source/texk/dvipng/configure15
-rw-r--r--Build/source/texk/dvipng/configure.ac2
6 files changed, 30 insertions, 10 deletions
diff --git a/Build/source/texk/dvipng/ChangeLog b/Build/source/texk/dvipng/ChangeLog
index 3ac7a91cc4b..d62115ec589 100644
--- a/Build/source/texk/dvipng/ChangeLog
+++ b/Build/source/texk/dvipng/ChangeLog
@@ -1,3 +1,9 @@
+2015-03-07 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * configure.ac: Check for texlive_gs_init(), if Windows.
+ * Makefile.am: Add '-DTEXLIVE' to AM_CPPFLAGS.
+ Drop unused DVIPS and TEXI2HTML.
+
2015-03-03 Peter Breitenlohner <peb@mppmu.mpg.de>
* Imported release 1.15 from savannah.nongnu.org.
diff --git a/Build/source/texk/dvipng/Makefile.am b/Build/source/texk/dvipng/Makefile.am
index 72e1d9c1cbb..09289c3c256 100644
--- a/Build/source/texk/dvipng/Makefile.am
+++ b/Build/source/texk/dvipng/Makefile.am
@@ -25,15 +25,11 @@ EXTRA_DIST += $(DVIPNG_TREE)-PATCHES
include $(srcdir)/../../am/dist_hook.am
NEVER_NAMES += $(NEVER_NAMES_SUB)
-AM_CPPFLAGS = -I$(top_srcdir)/$(DVIPNG_TREE)
+AM_CPPFLAGS = -DTEXLIVE -I$(top_srcdir)/$(DVIPNG_TREE)
AM_CPPFLAGS += $(KPATHSEA_INCLUDES) $(FREETYPE2_INCLUDES) $(GD_INCLUDES)
AM_CPPFLAGS += $(LIBPNG_INCLUDES) $(ZLIB_INCLUDES)
AM_CFLAGS = $(WARNING_CFLAGS)
-DVIPS = dvips -Ppdf
-
-TEXI2HTML = texi2html
-
# In order that `make distcheck' succeeds, we must not attempt to rebuild
# dvipng.info if dvipng.help has not changed, Thus we delegate rebuilding
# dvipng.help and dvipng.info, if necessary, to subdirectories.
diff --git a/Build/source/texk/dvipng/Makefile.in b/Build/source/texk/dvipng/Makefile.in
index 9d89dda0b85..d7ce577e537 100644
--- a/Build/source/texk/dvipng/Makefile.in
+++ b/Build/source/texk/dvipng/Makefile.in
@@ -647,12 +647,10 @@ NEVER_DIST = `find . $(NEVER_NAMES)`
NEVER_NAMES = -name .svn $(NEVER_NAMES_SUB)
NEVER_NAMES_SUB = -o -name .deps -o -name .dirstamp -o -name '*.$(OBJEXT)'
NEVER_NAMES_LT = -o -name .libs -o -name '*.lo'
-AM_CPPFLAGS = -I$(top_srcdir)/$(DVIPNG_TREE) $(KPATHSEA_INCLUDES) \
- $(FREETYPE2_INCLUDES) $(GD_INCLUDES) $(LIBPNG_INCLUDES) \
- $(ZLIB_INCLUDES)
+AM_CPPFLAGS = -DTEXLIVE -I$(top_srcdir)/$(DVIPNG_TREE) \
+ $(KPATHSEA_INCLUDES) $(FREETYPE2_INCLUDES) $(GD_INCLUDES) \
+ $(LIBPNG_INCLUDES) $(ZLIB_INCLUDES)
AM_CFLAGS = $(WARNING_CFLAGS)
-DVIPS = dvips -Ppdf
-TEXI2HTML = texi2html
# In order that `make distcheck' succeeds, we must not attempt to rebuild
# dvipng.info if dvipng.help has not changed, Thus we delegate rebuilding
diff --git a/Build/source/texk/dvipng/config.h.in b/Build/source/texk/dvipng/config.h.in
index ee3777b4ce0..dc860749206 100644
--- a/Build/source/texk/dvipng/config.h.in
+++ b/Build/source/texk/dvipng/config.h.in
@@ -195,6 +195,9 @@
/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
#undef HAVE_SYS_WAIT_H
+/* Define to 1 if you have the `texlive_gs_init' function. */
+#undef HAVE_TEXLIVE_GS_INIT
+
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
diff --git a/Build/source/texk/dvipng/configure b/Build/source/texk/dvipng/configure
index 6695da3b8cc..b7f3e7dc63a 100755
--- a/Build/source/texk/dvipng/configure
+++ b/Build/source/texk/dvipng/configure
@@ -16471,6 +16471,21 @@ fi
done
+if test "x$kpse_cv_have_win32" != xno; then :
+ for ac_func in texlive_gs_init
+do :
+ ac_fn_c_check_func "$LINENO" "texlive_gs_init" "ac_cv_func_texlive_gs_init"
+if test "x$ac_cv_func_texlive_gs_init" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_TEXLIVE_GS_INIT 1
+_ACEOF
+
+fi
+done
+
+fi
+
+
# We need enc, cmap, and sfd formats.
# Introduced together with opentype format (Dec 2003).
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kpathsea declares the kpse_opentype_format" >&5
diff --git a/Build/source/texk/dvipng/configure.ac b/Build/source/texk/dvipng/configure.ac
index 16103dc8f93..a951c47be47 100644
--- a/Build/source/texk/dvipng/configure.ac
+++ b/Build/source/texk/dvipng/configure.ac
@@ -131,6 +131,8 @@ AC_CHECK_FUNC([kpse_set_program_name],
AC_CHECK_FUNCS([kpse_program_basename])
+KPSE_DO_IF_WIN32([AC_CHECK_FUNCS([texlive_gs_init])])
+
# We need enc, cmap, and sfd formats.
# Introduced together with opentype format (Dec 2003).
KPSE_CHECK_KPSE_FORMAT([opentype],