From 0522fe98691775d4401503c70036b6a401222f66 Mon Sep 17 00:00:00 2001 From: ShengHuo ZHU Date: Thu, 27 Sep 2001 18:05:24 +0000 Subject: [PATCH] 2001-09-27 14:00:00 ShengHuo ZHU * aclocal.m4 (GNUS_CHECK_FONTS): Typo. Use /dev/null as latex input. --- ChangeLog | 4 ++++ aclocal.m4 | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2e1fa7882..fd7854ad1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-09-27 14:00:00 ShengHuo ZHU + + * aclocal.m4 (GNUS_CHECK_FONTS): Typo. Use /dev/null as latex input. + 2001-09-27 09:00:00 ShengHuo ZHU * aclocal.m4, configure.in: Check commercial fonts. diff --git a/aclocal.m4 b/aclocal.m4 index 62887f2e4..0996cb044 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -186,7 +186,7 @@ test "$LATEX" = t && LATEX= test "$LATEX" || AC_PATH_PROGS(LATEX, latex, no) AC_MSG_CHECKING(for commercial fonts) AC_ARG_WITH(fonts,[ --with-fonts Use commercial fonts],[USE_FONTS="$withval"]) -if test -z "${WITH_FONTS}"; then +if test -z "${USE_FONTS}"; then if test "${LATEX}" = no; then WITH_FONTS_bembo='%' WITHOUT_FONTS_bembo= @@ -197,7 +197,7 @@ if test -z "${WITH_FONTS}"; then else OUTPUT=./conftest-$$ echo '\nonstopmode\documentclass{article}\usepackage{bembo}\begin{document}\end{document}' > ${OUTPUT} - if ${LATEX} ${OUTPUT}>& AC_FD_CC 2>&1 ; then + if ${LATEX} ${OUTPUT} & AC_FD_CC 2>&1 ; then if test -z "${USE_FONTS}"; then USE_FONTS="Adobe Bembo" else @@ -210,7 +210,7 @@ if test -z "${WITH_FONTS}"; then WITHOUT_FONTS_bembo= fi echo '\nonstopmode\documentclass{article}\begin{document}{\fontfamily{pfu}\fontsize{10pt}{10}\selectfont test}\end{document}' > ${OUTPUT} - if ${LATEX} ${OUTPUT} 2>& AC_FD_CC | grep 'Some font shapes were not available' >& AC_FD_CC 2>&1 ; then + if ${LATEX} ${OUTPUT} & AC_FD_CC | grep 'Some font shapes were not available' >& AC_FD_CC 2>&1 ; then WITH_FONTS_pfu='%' WITHOUT_FONTS_pfu= else @@ -223,7 +223,7 @@ if test -z "${WITH_FONTS}"; then WITHOUT_FONTS_pfu='%' fi echo '\nonstopmode\documentclass{article}\begin{document}{\fontfamily{bcr}\fontsize{10pt}{10}\selectfont test}\end{document}' > ${OUTPUT} - if ${LATEX} ${OUTPUT} 2>& AC_FD_CC | grep 'Some font shapes were not available' >& AC_FD_CC 2>&1 ; then + if ${LATEX} ${OUTPUT} & AC_FD_CC | grep 'Some font shapes were not available' >& AC_FD_CC 2>&1 ; then WITH_FONTS_bcr='%' WITHOUT_FONTS_bcr= else -- 2.34.1