% Public domain.
% History:
% 2010/06/06 v1.2
% 2010/07/13 v1.3
% * Use `epstopdf' instead of `repstopdf' if \pdfshellescape == 1
%
\ProvidesFile{epstopdf-sys.cfg}%
  [2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live]%
\def\epstopdf@sys@cmd{repstopdf}% default is restricted epstopdf
% epstopdf-sys loads pdftexcmds, \pdf@shellescape is provided
% for LuaTeX as well
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname pdf@shellescape\endcsname\relax
\else
  \ifcase\pdf@shellescape
  \or
    \def\epstopdf@sys@cmd{epstopdf}% unrestricted if \pdfshellescape == 1
  \fi
\fi
\epstopdfsetup{%
  program@epstopdf=\epstopdf@sys@cmd
}%
\endinput
