AC-Archive
Autoconf Macro Archive

ac-archive.sf.net: - Project CVS - Download
Macro Index
- AM Support
- C++ Support
- C Support
- Fortran Support
- Java Support
- Cross Compilation
- Installed Packages
- Miscellaneous
- LaTeX Support
- Uncategorized
- archive macros
- adl's macros
- bkorb's macros
- guidod's macros
- latex's macros
- other's macros
- rleigh's macros
- obsoleted macros
- released macros
- search index

Documentation
- Contribute!
- History
- acincludedir m4
- acinclude (tool)
- macro howto
- ax tricks
- maintainers
- License
- Topics

generated...
2007-08-05

(C) 2007 guidod
Download the M4 Source.

acltx_dvips_o_stdout

Back to the Main Page.

Synopsis
ACLTX_DVIPS_O_STDOUT
, 
Version

2006-07-16

Author

Boretti Mathieu <boretti@eig.unige.ch>

License

lgpl

Category

cryp.to ac-archive's LaTeX Support (released)

Documentation

Check if dvips accept -o-

M4 Source Code
AC_DEFUN([ACLTX_DVIPS_O_STDOUT],[
AC_REQUIRE([ACLTX_DEFAULT_CLASS])
AC_REQUIRE([ACLTX_PROG_DVIPS])
AC_CACHE_CHECK([for option -o- in dvips],ac_cv_dvips_o_stdout,[
_ACLTX_TEST([\documentclass{$defaultclass}
\begin{document}
Test
\end{document}],[],no)
cd conftest.dir/.acltx
ac_cv_dvips_o_stdout="no"; export ac_cv_dvips_o_stdout;
$dvips -o- texput.dvi   1&gt;/dev/null 2&gt;&amp;1 &amp;&amp; ac_cv_dvips_o_stdout="yes"; export ac_cv_dvips_o_stdout
cd ..
cd ..
echo "$as_me:$LINENO: executing $dvips -o- texput.dvi" &gt;&amp;5
rm -rf conftest.dir/.acltx
])
DVIPS_O_STDOUT=$ac_cv_dvips_o_stdout; export DVIPS_O_STDOUT;
if test $DVIPS_O_STDOUT = "no" ;
then
    AC_MSG_ERROR(Unable to find the option -o- in dvips)
fi
AC_SUBST(DVIPS_O_STDOUT)
])