diff options
author | Karl Berry <karl@freefriends.org> | 2006-08-24 21:19:46 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-08-24 21:19:46 +0000 |
commit | 9ff01d9320cfcd3a7309de56431b2fe981bd288c (patch) | |
tree | d857f7e7bd844672c8c67c351a4f7dd9dd289504 /Build/source/texk/dvipng/aclocal.m4 | |
parent | e2cc8329f876fc8d761568fa2df397189e18a936 (diff) |
missed checkin
git-svn-id: svn://tug.org/texlive/trunk@2009 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipng/aclocal.m4')
-rw-r--r-- | Build/source/texk/dvipng/aclocal.m4 | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/Build/source/texk/dvipng/aclocal.m4 b/Build/source/texk/dvipng/aclocal.m4 index f35e7fa0df6..332367171d1 100644 --- a/Build/source/texk/dvipng/aclocal.m4 +++ b/Build/source/texk/dvipng/aclocal.m4 @@ -197,9 +197,24 @@ AC_DEFUN(AC_HAS_KPSE_ENC_FORMATS, [AC_MSG_CHECKING([whether kpse_enc_format is in kpathsea/tex-file.h]) AC_TRY_COMPILE([ #include <stdio.h> - #include <kpathsea/tex-file.h>], + #include <kpathsea/kpathsea.h>], [kpse_enc_format;kpse_cmap_format;kpse_sfd_format], [AC_MSG_RESULT(yes) AC_DEFINE(HAVE_KPSE_ENC_FORMATS, 1, [Define to 1 if your kpathsea has kpse_enc_format])], [AC_MSG_RESULT(no)])]) + + +dnl +dnl Check devices for GS +dnl AC_GS_HAS_DEVICE(DEVICE,ACTION-IF-FAILED) +dnl +AC_DEFUN(AC_GS_HAS_DEVICE, + [AC_MSG_CHECKING([whether $GS has the $1 device]) + if $GS -h | grep $1 >/dev/null; then + AC_MSG_RESULT(yes) + else + AC_MSG_RESULT(no) + $2 + fi +]) |