1. 13 May, 2016 1 commit
    • Marvin Schmidt's avatar
      build: Replace AX_CXX_COMPILE_STDCXX_11 with latest AX_CXX_COMPILE_STDCXX · b571f84c
      Marvin Schmidt authored
      The former appended the necessary switch to enable C++11 to the CXXFLAGS
      whereas AX_CXX_COMPILE_STDCXX appends it to CXX which has the benefit
      that all C++ sources are compiled using the same C++ standard. Therefore
      it is no longer necessary to manually hardcode '-std=c++11' anywhere
      like we did in the Ruby bindings linker command and assures that the
      compilation of them is done with C++11 support as well.
      
      This fixes bug #795
      b571f84c
  2. 10 Sep, 2015 1 commit
  3. 08 Sep, 2015 2 commits
  4. 07 Sep, 2015 4 commits
  5. 25 Aug, 2015 1 commit
  6. 24 Aug, 2015 7 commits
    • Daniel Elstner's avatar
      Build: Fix SR_CHECK_COMPILE_FLAGS · 2d2240bb
      Daniel Elstner authored
      Do not put "no" into the flags if the check fails.
      2d2240bb
    • Daniel Elstner's avatar
      Build: Leave LIBS alone during configure · bc8ff24d
      Daniel Elstner authored
      Put the extra libraries into SR_EXTRA_LIBS instead of LIBS.
      Create an SR_CHECK_LIBS macro to make that easy. Substitute
      SR_EXTRA_LIBS into libsigrok.pc, too.
      bc8ff24d
    • Daniel Elstner's avatar
      Build: Add private copy of C++11 check macro · 2d143826
      Daniel Elstner authored
      Place a copy of ax_cxx_compile_stdcxx_11.m4 from the Autoconf
      macro archive into our private m4/ directory. This is cleaner
      than trying to parse M4 file versions etc. Plus, the macro is
      now always available.
      2d143826
    • Daniel Elstner's avatar
      Build: Check for accepted compiler flags · b84a7331
      Daniel Elstner authored
      Introduce the SR_CHECK_COMPILE_FLAGS macro and use it to check
      for additional compiler flags. Put the accepted flags into the
      separate substitution variable SR_EXTRA_CFLAGS.
      
      With this and the preceding changes, bug #578 should now be fixed.
      b84a7331
    • Daniel Elstner's avatar
      Build: Move package check macros to m4/sigrok.m4 · 1bb196e4
      Daniel Elstner authored
      Define generic macros for pkg-config dependency checks etc. in
      m4/sigrok.m4, so they can be easily reused by downstream modules.
      1bb196e4
    • Daniel Elstner's avatar
      Build: Make compiler warnings configurable · 4cf2f34f
      Daniel Elstner authored
      Use the SR_ARG_ENABLE_WARNINGS macro to configure and check for
      the availability of compiler warning flags. Maintain separate
      sets of warning flags for C and C++.
      
      The configure option --enable-warnings=[min|max|fatal|no] can
      be used to set the compiler warning level for all languages.
      The default level is "max".
      4cf2f34f
    • Daniel Elstner's avatar
      Build: Move custom Autoconf macros to separate file · 24138539
      Daniel Elstner authored
      Place custom Autoconf macros which other sigrok modules may
      re-use into a separate file m4/sigrok.m4. Also, introduce new
      macros for defining the package and library versions, and for
      gathering compiler warning flags.
      24138539