Skip to content
Snippets Groups Projects
  1. Jul 02, 2013
  2. Jun 29, 2013
  3. Jun 28, 2013
    • Ron's avatar
      More autoconf housekeeping · 5bac4f26
      Ron authored
      Drop the test for getopt, it's not used anywhere anymore.
      
      Switch the last uses of AC_TRY_COMPILE to AC_COMPILE_IFELSE now.
      The former is marked as obsolete, and this will leave no confusion
      about which to cut and paste if new tests are added.
      
      Double quote all the parameters to AC_LANG_SOURCE and AC_LANG_PROGRAM.
      This is actually required, even if you can get away with not doing it
      sometimes, so again set a good example for future changes to follow,
      to hopefully avoid people getting bitten harder than they need to be.
      
      Don't bother checking for alloca if we're never going to use it
      (ie. if we have C99 variable-size array support).
      The test for this is a bit sketchy anyway ...  we separately test for
      HAVE_ALLOCA_H and USE_ALLOCA, but the test for USE_ALLOCA depends upon
      having alloca.h present, yet the use of these macros in stack_alloc.h
      only tests for HAVE_ALLOCA_H inside of a test for USE_ALLOCA.
      I'm not going to change this logic right now, since I don't know what
      crazy system it was attempting to cater for, though I suspect it was
      one that was not using the autoconf build system ... since with the
      current test that combination should not be possible to obtain.
      
      Use LT_LIB_M instead of the song and dance with testing for exp().
      This should also work for BeOS which is what the exp test was added for.
      It also means we don't unconditionally add -lm to everything via LIBS.
      
      Use LIBM now instead of hardcoding -lm everywhere.
      
      Use AS_HELP_STRING to format all option descriptions.
      
      Don't bother to test for doxygen if using it is --disable'd.
      
      Drop the SYMBOL_VISIBILITY export, it isn't used anywhere (we add the
      compiler flag to CFLAGS).
      5bac4f26
  4. Jun 27, 2013
  5. Jun 04, 2013
  6. May 26, 2013
  7. May 20, 2013
    • Ron's avatar
      Add support for autoconf macros in m4/ · 50b395bf
      Ron authored
      Needed by commit 972a34ec.
      
      Use autoreconf in autogen.sh instead of the handwritten version,
      it's simpler, and also updates things that we weren't handling.
      
      Drop the hand-written INSTALL file.  Its information content was
      ~zero, and autotools wants to overwrite it with its own version,
      so don't fight that, just .gitignore it.
      50b395bf
  8. May 10, 2013
    • Ron's avatar
      Don't fail hard if package_version does not exist · 8d925ec2
      Ron authored
      There's currently at least one way that people can legitimately get a
      tarball that doesn't include it, via the gitweb snapshots, so create
      it rather than considering that an error to be manually fixed.
      8d925ec2
    • Ron's avatar
      Fully automate version updating · 2f2f9d63
      Ron authored
      This one meets or exceeds the following requirements:
      
       - Version is checked/updated for every build action when in the git repo.
         Does not require the user to re- ./configure to get the correct version.
      
       - Version is not updated automatically when using exported tarball source.
         Avoids accidentally getting a wrong version from some other git repo in
         a parent directory of the source, and allows setting the correct version
         for distro package exports.
      
       - Automatic updating can be manually suppressed.
         For developers doing lots of change/rebuild cycles they don't plan to
         release, when they don't want a full rebuild triggered for every commit,
         and again for every change made immediately after a commit.
         The version will still always be updated if they do a `make dist`.
      
       - Does not require any manual updating of versions in the mainline git
         repo for each release aside from normal tagging.  The version is
         recorded in one file only, that is automatically generated and will
         never need to be committed.
      
       - Does not require gnu-make features for the autoconf builds.
      
      It does not currently:
      
       - Keep a checksum of every source file in tarball releases to mangle the
         version if people modify the tarball source.  Responsible people can
         manually update the version easily though in such cases.
      
      The version.mk file is now only used by the VC project files.  Once they
      are updated to use the package_version file too, then it can be deleted
      from the repository.
      2f2f9d63
  9. Dec 01, 2012
  10. Oct 19, 2012
  11. Sep 01, 2012
  12. Aug 30, 2012
  13. Aug 29, 2012
  14. Aug 19, 2012
  15. 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
  16. Aug 10, 2012
  17. Aug 09, 2012
  18. Aug 08, 2012
  19. Jul 13, 2012
  20. Jun 11, 2012
    • Ron's avatar
      Include the doc dir in DIST_SUBDIRS instead of EXTRA_DIST · 9a89d56d
      Ron authored and Gregory Maxwell's avatar Gregory Maxwell committed
      And explicitly specify what we want included in EXTRA_DIST of doc/Makefile.am,
      otherwise make dist picks up whatever random junk you might have laying around
      in that dir at the time you run it.
      
      Tweak the top level delegation targets, because this means distclean will be
      run in the doc dir by default now without our help.
      9a89d56d
  21. May 21, 2012
  22. Apr 30, 2012
  23. Apr 05, 2012
    • Ralph Giles's avatar
      Rename to header makefile fragements to .mk · cd539dfd
      Ralph Giles authored
      The opus_headers.txt, etc. files are makefile
      fragments defining variables with a list of
      required header files for the build. As such
      they should use the .mk filename extension,
      just like opus_sources.mk, etc.
      cd539dfd
  24. Mar 06, 2012
    • Ralph Giles's avatar
      Use automake's support for parallel test execution. · a69368e1
      Ralph Giles authored
      On my system this speeds up 'make -j8 check' by about
      50%. The drawback is that we don't get to see Greg's
      nice output from the test programmes. It's hidden in
      a log file, even on failure or 'make V=1'. Probably
      this is better for most people; developers can run
      the tests manually.
      a69368e1
  25. Oct 27, 2011
  26. Oct 26, 2011
  27. Sep 15, 2011
  28. Sep 14, 2011
  29. 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
  30. 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
  31. Sep 02, 2011
  32. Sep 01, 2011
  33. Aug 28, 2011
    • Ralph Giles's avatar
      Add pkg-config support files. · 9f71309a
      Ralph Giles authored and Jean-Marc Valin's avatar Jean-Marc Valin committed
      These files allow compiling and linking against the reference
      implementation with an invocation like `pkg-config --cflags
      --libs opus`. They're optional within the opus build system,
      but can simplify compilation for clients and are generally
      considered part of a normal autotools build these days.
      
      The -uninstalled version refers to local build products
      within the tree, which is helpful for testing and unprivileged
      builds. opus.pc is used once 'make install' has put the
      libraries and headers somewhere more permanent.
      9f71309a
    • Ralph Giles's avatar
      Add new public headers to the install targets. · 1ca485ce
      Ralph Giles authored and Jean-Marc Valin's avatar Jean-Marc Valin committed
      The new opus_types.h header is required to build against libopus,
      so must be installed alongside opus.h. Furthermore, opus-tools
      expects access to the multichannel support in opus_multichannel.h.
      1ca485ce
  34. Aug 10, 2011
Loading