diff options
Diffstat (limited to 'Build/source/texk/dvipng/m4/gs-device.m4')
-rw-r--r-- | Build/source/texk/dvipng/m4/gs-device.m4 | 31 |
1 files changed, 13 insertions, 18 deletions
diff --git a/Build/source/texk/dvipng/m4/gs-device.m4 b/Build/source/texk/dvipng/m4/gs-device.m4 index 77d34808f7e..6b726f2e91f 100644 --- a/Build/source/texk/dvipng/m4/gs-device.m4 +++ b/Build/source/texk/dvipng/m4/gs-device.m4 @@ -1,23 +1,18 @@ -# gs-device.m4 - Macros to check for GS devices. -## Copyright (C) 20xx Some One <someone@somewhere.net> -## Some affiliation -## -## Notice: -## I extracted these macros from aclocal.m4 in the dvipng-1.12 distribution -## and renamed one in order not to violate the Autoconf (AC_) namespace. -## 26 Mar 2008, Peter Breitenlohner <tex-live@tug.org> -## -## This file is free software; the copyright holder gives unlimited -## permission to copy and/or distribute it, with or without -## modifications, as long as this notice is preserved. - -# serial 1 +# Autoconf macros for dvipng. +# Copyright (C) 2002-2010 Jan-Åke Larsson <jan-ake.larsson@liu.se> +# Copyright (C) 2010-2013 Peter Breitenlohner <tex-live@tug.org> +# +# This file is free software; the copyright holders +# give unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. +# +# Extracted from dvipng-1.12/aclocal.m4 and adapted for use in TeX Live. # GS_CHECK_DEVICES # ---------------- # Check GS (ghostscript) devices. -AC_DEFUN([GS_CHECK_DEVICES], -[GS_WARN= +AC_DEFUN([GS_CHECK_DEVICES], [dnl +GS_WARN= _GS_HAS_DEVICE([pngalpha], [GS_WARN="Your EPS inclusions will be cropped to the boundingbox, and rendered on an opaque background. @@ -34,8 +29,8 @@ fi # ---------------------------------------- # Internal subroutine. Check if GS has the device DEVICE and # execute the shell code ACTION-IF-FAILED if not. -m4_define([_GS_HAS_DEVICE], -[AC_MSG_CHECKING([whether $GS has the $1 device]) +m4_define([_GS_HAS_DEVICE], [dnl +AC_MSG_CHECKING([whether $GS has the $1 device]) if $GS -h | grep $1 >/dev/null; then AC_MSG_RESULT([yes]) else |