1. 05 Nov, 2014 1 commit
    • Andrew Clayton's avatar
      configure.ac: Create an UNUSED #define for parameter passing · c10f0f7c
      Andrew Clayton authored
      Some functions in libdvdread take parameters that are unused, e.g
      file_read() in dvd_input.c. These functions can't be changed to remove
      the unused parameters as they are public API.
      GCC provides a __attribute__((unused)) annotation that can be used on
      function parameters to inform the compiler of such and will squash
      warnings of the following nature
          src/dvd_input.c: In function 'file_read':
          src/dvd_input.c:218:69: warning: unused parameter 'flags'
           static int file_read(dvd_input_t dev, void *buffer, int blocks,
                                int flags)
      A check is added to configure.ac for the use of GCC and if found it
      creates an UNUSED #define set to __attribute__((unused)) otherwise it
      just sets it empty.
      If compilers on other systems have a similar feature this check can be
      adjusted to accommodate them.
      Signed-off-by: default avatarAndrew Clayton <andrew@digital-domain.net>
      Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
  2. 01 Sep, 2014 1 commit
  3. 26 Jul, 2014 1 commit
  4. 13 Jul, 2014 1 commit
  5. 20 May, 2014 1 commit
    • Thomas Petazzoni's avatar
      configure: fix build on NIOS II platform · 75f8601e
      Thomas Petazzoni authored
      NIOS II is a CPU architecture from Altera, which uses 'nios2' as the
      architecture part of the tuple. Unfortunately, 'nios2' matches the
      current '*os2*' test done by libdvdread's configure script to detect
      the OS/2 operating system. This leads to build issues as the build
      process of libdvdread then tries to use OS/2 specific compiler
      options, that do not exist in the gcc used for Linux/NIOS2.
      To fix this, this patch makes the test for OS/2 a little bit more
      specific: in the case of the OS/2 operating system, the OS part of the
      tuple contains just 'os2' (confirmed by looking at config.guess and
      config.sub in the gnuconfig project). So using '*-os2-*' will properly
      match the OS/2 operating system but not the NIOS II architecture.
      Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
  6. 12 Apr, 2014 1 commit
  7. 09 Apr, 2014 1 commit
  8. 30 Mar, 2014 1 commit
  9. 02 Mar, 2014 1 commit
  10. 02 Jan, 2014 1 commit
    • Jean-Baptiste Kempf's avatar
      We need to check for dvdcss/dvdcss.h · 2ab8c9fa
      Jean-Baptiste Kempf authored
      Else, we will not get the HAVE_DVDCSS_DVDCSS_H define and the code will
      not work when statically compiled.
      It might be clever to remove that in the future, but one would need to
      fix the code for that.
  11. 29 Dec, 2013 2 commits
  12. 18 Nov, 2013 5 commits
  13. 19 Feb, 2013 1 commit
  14. 16 Oct, 2012 1 commit
    • John Stebbins's avatar
      Improve dlopen support on mingw · f5c170bb
      John Stebbins authored
      Not all mingw build environments have libdl.  And those that do often
      only have it in dll form which would have to be distributed with the
      application.  So allowing use of the builtin version of dlopen in
      dvdread is useful. This patch does the right thing if dlopen is not
      found on the system and it adds a configure option to force use of the
      builtin dlopen.
      It also seems that building dlopen broke at some point.  #includes
      pointing to the wrong places.
  15. 17 Apr, 2012 1 commit
    • LRN's avatar
      libdvdread uses internal dlfcn on W32, unconditionally · dd5e464f
      LRN authored
      On W32 libdvdread unconditionally uses msvc/contrib/dlfcn.c
      While this allows libdvdread to be compiled out of the box, it
      prevents it from linking to any other dlfcn implementation. Namely -
      to dlfcn-win32 [1] (which is somewhat more POSIX-compliant).
      Note that LDFLAGS modification should go AFTER (!) all AC_CHECK_LIB
      calls, because -no-undefined is no longer valid as a compiler option.
      [1] http://code.google.com/p/dlfcn-win32/
  16. 30 Nov, 2011 1 commit
    • Rafaël Carré's avatar
      Add --enable-libdvdcss to the autotools install · ec537474
      Rafaël Carré authored
      This commit adds the argument --enable-libdvdcss (off by default). When
      used it directly links libdvdcss into libdvdread. This prevents
      libdvdread from having to use dlopen() to get at the libdvdcss
      Currently this feature is used when building VLC for mingw32 and darwin.
  17. 07 Oct, 2011 1 commit
  18. 31 Jul, 2010 1 commit
    • John Stebbins's avatar
      Remove the special case test for uid=0 · a9457969
      John Stebbins authored
      Some package tools run configure as fakeroot.  This triggers code in
      configure.ac that detects uid 0 to hardcode the installation path of the
      m4 macros to the system aclocal macro dir.  This ignores any DESTDIR the
      packaging tools may have set and installation fails since it attempts to
      write to a system dir without proper permissions.
  19. 26 Sep, 2009 1 commit
  20. 07 Jan, 2009 1 commit
  21. 09 Oct, 2008 1 commit
  22. 28 Sep, 2008 1 commit
  23. 30 Aug, 2008 1 commit
  24. 13 Jul, 2008 1 commit
  25. 18 Jun, 2008 2 commits
  26. 12 Jun, 2008 3 commits
  27. 05 Jun, 2008 1 commit
  28. 02 Jun, 2008 2 commits
  29. 01 Jun, 2008 2 commits