Skip to content
Snippets Groups Projects
  1. Sep 19, 2012
    • Ron's avatar
      Just fix opus-uninstalled.pc instead of tweaking the build dir · ff16ab09
      Ron authored
      Doing it this way means it's only the weird corner case that actually
      pays for being weird, and we don't litter the build dir with an extra
      link that normal builds really don't need at all.
      
      It also avoids the problem of platforms where LN_S isn't well defined.
      ff16ab09
  2. Sep 18, 2012
    • Ron's avatar
      Link the include dir into out-of-tree build dirs · c40d5004
      Ron authored
      Mostly this is for people building other things using an uninstalled
      opus tree so that the opus-uninstalled.pc will return a working -I
      with --cflags when PKG_CONFIG_PATH is set to point to the build dir.
      
      The version of AC_OUTPUT that takes parameters has long been
      deprecated now, and replaced by AC_CONFIG_* macros, so pass them
      with AC_CONFIG_FILES, since we're now using AC_CONFIG_COMMANDS
      to do the above.
      c40d5004
  3. Sep 17, 2012
    • Ralph Giles's avatar
      Opus custom requires libm unconditionally. · 3ef8a166
      Ralph Giles authored
      3ef8a166
    • Ralph Giles's avatar
      Add -lm to the pkg-config link line. · d47ddfb4
      Ralph Giles authored
      The floating-point build calls a number of math library
      functions, and linking with libm is technically necessary.
      It wasn't obvious because most systems support shlib
      dependencies and pulled it in that way, or supply the
      referenced functions with intrinsics. Discovered the issue
      trying to build libopusfile against the uninstalled static
      libopus, which unlike opus-tools, doesn't itself need libm.
      
      The -lm argument is only added to Libs for the floating-
      point (default) build. It's not necessary for the fixed-
      point build.
      
      Also mark which build was used in the .pc file description.
      d47ddfb4
    • Ralph Giles's avatar
      Remove FLOATING_POINT from config.h. · a66642a5
      Ralph Giles authored
      This isn't used anywhere in the code, floating point is just the
      default unless FIXED_POINT is defined.
      
      In the speex codebase, arch.h has a check that both FIXED_POINT
      and FLOATING_POINT aren't defined simultaneously, in part as a
      check that the build system was constructed with thought about
      these and other defines. However, we don't have such a check
      and to me it seems unnecessary code.
      a66642a5
  4. Sep 01, 2012
  5. Aug 29, 2012
    • Gregory Maxwell's avatar
      Completely remove the built-in autotools -fstatck-protector detection. · 5ae062a7
      Gregory Maxwell authored
       On some systems (HPPA+HPUX+GCC) -fstatck-protector was causing failures not
      at build or link time but at actual runtime. This is much less reasonable to
      detect from autotools. It looks this this really can only safely be a white-
      list, and the systems which would be whitelisted often already pick up the
      setting from the OS build environment in any case.  It isn't important for
      OPUS, we were just using it as belt-and-suspenders security and because it
      makes some failure types easier to troubleshoot.
      5ae062a7
  6. Aug 21, 2012
    • Ralph Giles's avatar
      Clarify a comment. · 11dd5522
      Ralph Giles authored
      Further cleanup of the confusion with the version string settings.
      11dd5522
    • Ralph Giles's avatar
      Propagate OPUS_VERSION to config.h. · d6067378
      Ralph Giles authored
      I'm not sure how this worked before, the the previous version
      string fiddling commit ended up not defining OPUS_VERSION in
      the autoconf build, so opus_get_version_string() returned
      'unknown'.
      d6067378
  7. Aug 16, 2012
    • Ralph Giles's avatar
      Move the release version string to version.mk. · 59c5a82e
      Ralph Giles authored
      Previously we defined the release version string in configure.ac,
      and overrode that with 'git describe --tags' if possible. This
      made it difficult for non-autoconf builds to set their version
      string correctly.
      
      Instead we create, and check into version control, a file called
      version.mk which defines OPUS_VERSION. The configure script reads
      that file and uses it as a fallback if the git revision isn't available.
      
      The expectation is that version.mk will be manually updated for
      releases, just as the previous configure.ac version was. However,
      since this is a simpler format, it is easier for alternate build
      systems to use, reducing the number of places which must be updated.
      
      Also removes the OPUS_MINOR_VERSION, etc. defines from config.h.
      59c5a82e
  8. Aug 15, 2012
  9. Aug 10, 2012
  10. Aug 09, 2012
  11. Aug 08, 2012
  12. Jul 07, 2012
  13. Jun 29, 2012
  14. Jun 11, 2012
  15. May 18, 2012
    • Ralph Giles's avatar
      Remove the obsolete LIBOPUS_SUFFIX define. · 9d9bad48
      Ralph Giles authored
      As best we recall, this was used to version the
      library filename during rapid development. It's
      no longer needed now that the bitstream is frozen
      and isn't hooked up to anything in the build system.
      9d9bad48
    • Ralph Giles's avatar
      Move the various version defines to be together. · 3164fcf6
      Ralph Giles authored
      The config.h version defines were declared in the
      middle of the math feature testing. This commit moves
      it to the top of configure.ac where the other version
      number code resides.
      3164fcf6
  16. May 17, 2012
  17. May 15, 2012
  18. Apr 24, 2012
  19. Feb 17, 2012
  20. Oct 31, 2011
  21. Oct 28, 2011
  22. Oct 27, 2011
  23. Oct 21, 2011
  24. Sep 15, 2011
  25. Sep 14, 2011
  26. Sep 07, 2011
    • Ralph Giles's avatar
      Add initial Doxygen support for generating api documentation. · 35d4fb78
      Ralph Giles authored
      Doxygen is a tool for generating programming documentation
      based on comments in header and source files. This commit
      adds the necessary configuration file and associated support
      in the autotools build.
      
      Right now it doesn't generate much documentation because our
      public header files aren't marked up. Warnings are printed
      for undocumented members and arguments.
      35d4fb78
  27. Sep 03, 2011
    • Ralph Giles's avatar
      Fix the 'distclean' target. · 858468ee
      Ralph Giles authored
      With subdir-objects, both the top-level makefile, and
      libcelt/Makefile, which runs celt-specific unit tests,
      were sharing libcelt/.deps for generated dependencies.
      
      Each thought it owned the directory, and so would remove
      the files it created in that directory, followed by the
      directory itself. The second makefile would then fail to
      because the files it created weren't there to remove,
      blocking a successful 'make distcheck' with in runs
      'make distclean' as part of its verification tests.
      
      We can work around the problem by generating the makefile
      for the tests in the actual test directory, so it doesn't
      share autotools scratch space with the top level makefile.
      858468ee
  28. Sep 01, 2011
  29. Aug 31, 2011
Loading