   <!ENTITY languages_c
    '<languages>C</languages>'
   >
   <!ENTITY languages_cpp
    '<languages>C++</languages>'
   >

   <!ENTITY if_no_ada
   '<compilers negate="true" >
       <compiler language="Ada" />
    </compilers>'
   >

   <!ENTITY if_ada
   '<compilers>
       <compiler language="Ada" />
    </compilers>'
   >

   <!ENTITY if_adacore_c
   '<compilers>
       <compiler name="^GCC_Pro$" />
    </compilers>'
   >

   <!ENTITY if_cpp
   '<compilers>
       <compiler language="C++" />
    </compilers>'
   >

   <!ENTITY if_no_cpp
   '<compilers negate="true">
       <compiler language="C++" />
    </compilers>'
   >

   <!ENTITY if_adacore_cpp
   '<compilers>
       <compiler name="^G\+\+_Pro$" />
    </compilers>'
   >

   <!ENTITY if_c_only
   '<compilers negate="true">
       <compiler language="C++" />
       <compiler language="Fortran" />
       <compiler language="Ada" />
    </compilers>
    <compilers>
       <compiler language="C" />
    </compilers>'
   >

   <!ENTITY if_this_target
    '<targets>
       <target name="^&this_target;$" />
     </targets>'>

   <!ENTITY config_gnat_ar
    '<config>
   for Archive_Builder  use ("&this_target;-ar", "cr");
   for Archive_Builder_Append_Option use ("q");
   for Archive_Indexer  use ("&this_target;-ranlib");
   for Archive_Suffix   use ".a";
     </config>'
   >

   <!ENTITY configurations_gnat_ar
    '<configuration>
     &if_this_target;

     &config_gnat_ar;
     </configuration>'
   >

   <!ENTITY config_ada_partial_link
    '<config>
   for Library_Partial_Linker use
         (PATH_ADA &amp; PREFIX_ADA &amp; "gcc", "-nostdlib", "-Wl,-r", "-o");
     </config>'
   >

   <!ENTITY config_cpp_partial_link
    '<config>
   for Library_Partial_Linker use
         (PATH_CPP &amp; EXEC_CPP, "-nostdlib", "-Wl,-r", "-o");
     </config>'
   >

   <!ENTITY config_c_partial_link
    '<config>
   for Library_Partial_Linker use
         (PATH_C &amp; EXEC_C, "-nostdlib", "-Wl,-r", "-o");
     </config>'
   >

  <!ENTITY gnat_post_20
     '<compiler language="Ada" version="[2-3][0-9]" />
      <compiler name="^GCC_Pro$" language="C" version="([8-9]|1[0-9]).*" />
      <compiler name="^G\+\+_Pro$" language="C++" version="([8-9]|1[0-9]).*" />'
  >

  <!ENTITY if_gnat_20_pre
   '<compilers negate="true" >
      &gnat_post_20;
    </compilers>'
  >

  <!ENTITY if_gnat_20_and_later
   '<compilers>
      &gnat_post_20;
    </compilers>'
  >
