% $Id$
% Originally written 2004 by Karl Berry.  Public domain.
% Check that PDF primitives are undefined when running "latex" (which
% uses the pdfetex engine, as of 2004).
\documentclass{article}
\begin{document}
\ifx\pdfoutput\undefined
  The pdfoutput primitive is undefined.  Good.
  But this will change in 2005, so use ifpdf.sty instead.
\else
  The pdfoutput primitived is defined.  Bad.
  We shouldn't have to use ifpdf.sty yet.
\fi
\end{document}
