tlbuild: Macros for Windows

 
 6.3.6 Macros for Windows
 ------------------------
 
 Windows differs in several aspects from Unix-like systems, many of them
 due to the lack of symbolic links.
 
  -- Macro: KPSE_CHECK_WIN32
      Check if compiling for a Windows system.  The result is either 'no'
      for Unix-like systems (including Cygwin), 'mingw32' for Windows
      with GCC, or 'native' for Windows with MSVC. The result is cached
      in the 'kpse_cv_have_win32' variable.
 
  -- Macro: KPSE_COND_WIN32
      Call 'KPSE_CHECK_WIN32' and define the Automake conditional 'WIN32'
      ('true' if the value of 'kpse_cv_have_win32' is not 'no').
 
  -- Macro: KPSE_COND_MINGW32
      Call 'KPSE_COND_WIN32' and define the Automake conditional
      'MINGW32' ('true' if the value of 'kpse_cv_have_win32' is
      'mingw32').
 
  -- Macro: KPSE_COND_WIN32_WRAP
      Call 'KPSE_COND_WIN32' and define the Automake conditional
      'WIN32_WRAP' ('true' if the standard Windows wrapper
      ('texk/texlive/w32_wrapper/runscript.exe') exists.  This wrapper is
      used on Windows instead of symlinks for the "linked scripts" (⇒
      Linked scripts).
 
  -- Macro: KPSE_WIN32_CALL
      Call 'KPSE_COND_WIN32' and check if the file
      'texk/texlive/w32_wrapper/callexe.c' exists; if it does, create a
      symlink in the build tree.  Compiling 'callexe.c' with
      '-DEXEPROG='"FOO.exe"'' and installing 'callexe.exe' as 'BAR.exe'
      is used on Windows instead of a symlink 'BAR->FOO' for Unix-like
      systems.