<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -40,6 +40,18 @@ class Libtool (target.AutoBuild):
         return d
     def update_libtool (self):
         pass
+    def config_cache_overrides (self, string):
+        # Workraound for bug in libtool-2.2.6a: it will use CC=$F77
+        # (==/usr/bin/gfortran) -print-search-dirs instead of
+        # &lt;cross-toolchain-prefix&gt;-gcc -print-search-dirs to determine
+        # sys_lib_search_path_spec; breaking all linkages.
+        # http://lists.gnu.org/archive/html/bug-libtool/2009-02/msg00017.html
+        return (string
+                + '''
+ac_cv_prog_F77=${ac_cv_prog_F77=no}
+ac_cv_prog_FC=${ac_cv_prog_FC=no}
+ac_cv_prog_GCJ=${ac_cv_prog_GCJ=no}
+''')
     def configure_command (self):
         # libtool's build breaks with SHELL=; CONFIG_SHELL works
         # and adds dash to libtools' #! </diff>
      <filename>gub/specs/libtool.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>4ab1fc19218b0d52b488c0354fb51a7a72e8415b</id>
    </parent>
  </parents>
  <author>
    <name>Jan Nieuwenhuizen</name>
    <email>janneke@gnu.org</email>
  </author>
  <url>http://github.com/janneke/gub/commit/eb391fc30525596b9843fba4dd26a22b850b5dc7</url>
  <id>eb391fc30525596b9843fba4dd26a22b850b5dc7</id>
  <committed-date>2009-02-19T04:06:44-08:00</committed-date>
  <authored-date>2009-02-19T04:06:44-08:00</authored-date>
  <message>libtool: set ac_cv_prog_F77=no.  Thanks Patrick!.

    Workraound for bug in libtool-2.2.6a: it will use CC=$F77
    (==/usr/bin/gfortran) -print-search-dirs instead of
    &lt;cross-toolchain-prefix&gt;-gcc -print-search-dirs to determine
    sys_lib_search_path_spec; breaking all linkages.

http://lists.gnu.org/archive/html/bug-libtool/2009-02/msg00017.html</message>
  <tree>556572b0b14d7c3c71a2dd6f860b73a4e5dc9251</tree>
  <committer>
    <name>Jan Nieuwenhuizen</name>
    <email>janneke@gnu.org</email>
  </committer>
</commit>
