1. 05 Feb, 2019 1 commit
    • Philip Chimento's avatar
      build: Vendor last-good version of AX_CODE_COVERAGE · fa3bb036
      Philip Chimento authored
      It's not enough to copy the ax_code_coverage.m4 file; as explained by
      Simon McVittie on gnome-hackers IRC, aclocal will still copy in a newer
      version if its #serial number is higher than the existing one.
      
      In order to prevent the macro from being overwritten with a broken
      version, we rename the file and also rename the macro.
      
      See #149 for more explanation.
      
      (Unreviewed, pushing to fix build.)
      fa3bb036
  2. 24 Jul, 2018 1 commit
    • Philip Chimento's avatar
      build: Vendor ax_code_coverage.m4 · 9510e133
      Philip Chimento authored
      The newest version of this macro changes the way you include it, which is
      a mess because we don't know which version a particular distro will have.
      We copy the old version of the macro into the m4/ directory and include
      it in git. That should prevent aclocal from installing the newer version.
      
      (It would be better to include the newer version, but that has a bug that
      clobbers the GITIGNORE variable.)
      
      Closes #149
      9510e133
  3. 24 Jan, 2018 1 commit
    • Philip Chimento's avatar
      profiler: Allow configuring with --disable-profiler · 9424ffa2
      Philip Chimento authored
      We check for the existence of timer_settime() with some M4 macros from
      gnulib. These POSIX APIs are required for building the profiler.
      
      Allow disabling the profiler with a configure switch. This keeps the API
      (and its preconditions as much as possible) but makes it a no-op and
      prints an informational message at runtime on attempted use. We also
      leave out the sysprof writer code and skip the profiler tests if the
      profiler is not being built.
      9424ffa2