
diff -r e969fc0a4925 -r d3f55965bdbf lib/texinputs/pdfsetup.sty
--- a/lib/texinputs/pdfsetup.sty	Thu Sep 29 17:02:57 2005 +0200
+++ b/lib/texinputs/pdfsetup.sty	Thu Sep 29 17:08:52 2005 +0200
@@ -4,11 +4,22 @@
 %% smart url or hyperref setup
 %%
 
-\RequirePackage{ifpdf}
-\ifpdf
+\newif\ifpdfoutput
+\ifx\pdfoutput\undefined
+\else
+  \ifx\pdfoutput\relax
+  \else
+    \ifcase\pdfoutput
+    \else\pdfoutputtrue\fi
+  \fi
+\fi
+
+\ifpdfoutput
+  \message{PDF output}
   \usepackage{color}\definecolor{darkblue}{rgb}{0,0,0.5}
   \usepackage[pdftex,a4paper,colorlinks=true,linkcolor=darkblue,citecolor=darkblue,filecolor=darkblue,pagecolor=darkblue,urlcolor=darkblue]{hyperref}
   \IfFileExists{thumbpdf.sty}{\usepackage{thumbpdf}}{}
 \else
+  \message{No PDF output}
   \usepackage{url}
 \fi




