Commit 7340c76d authored by Reinhard Tartler's avatar Reinhard Tartler

Imported Upstream version 4.2.0+20130219

parent 407da148
......@@ -57,7 +57,8 @@ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
config.sub depcomp install-sh ltmain.sh missing
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
......@@ -128,16 +129,16 @@ distuninstallcheck_listfiles = find . -type f -print
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
distcleancheck_listfiles = find . -type f -print
ACLOCAL = ${SHELL} /home/user/libdvdread/missing --run aclocal-1.11
ACLOCAL = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run aclocal-1.11
AMTAR = $${TAR-tar}
AR = ar
AUTOCONF = ${SHELL} /home/user/libdvdread/missing --run autoconf
AUTOHEADER = ${SHELL} /home/user/libdvdread/missing --run autoheader
AUTOMAKE = ${SHELL} /home/user/libdvdread/missing --run automake-1.11
AUTOCONF = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run autoconf
AUTOHEADER = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run autoheader
AUTOMAKE = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run automake-1.11
AWK = mawk
CC = gcc
CCDEPMODE = depmode=gcc3
CFLAGS = -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
CFLAGS = -mno-ms-bitfields -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
CPP = gcc -E
CPPFLAGS =
CSS_LIBS =
......@@ -178,7 +179,7 @@ LIBTOOL_DEPS = ./ltmain.sh
LIPO =
LN_S = ln -s
LTLIBOBJS =
MAKEINFO = ${SHELL} /home/user/libdvdread/missing --run makeinfo
MAKEINFO = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run makeinfo
MANIFEST_TOOL = :
MKDIR_P = /bin/mkdir -p
NM = /usr/bin/nm -B
......@@ -202,10 +203,10 @@ SHELL = /bin/bash
STATIC =
STRIP = strip
VERSION = 4.2.0
abs_builddir = /home/user/libdvdread
abs_srcdir = /home/user/libdvdread
abs_top_builddir = /home/user/libdvdread
abs_top_srcdir = /home/user/libdvdread
abs_builddir = /home/user/libdvdread-4.2.0+20130219
abs_srcdir = /home/user/libdvdread-4.2.0+20130219
abs_top_builddir = /home/user/libdvdread-4.2.0+20130219
abs_top_srcdir = /home/user/libdvdread-4.2.0+20130219
ac_ct_AR = ar
ac_ct_CC = gcc
ac_ct_DUMPBIN =
......@@ -234,7 +235,7 @@ host_vendor = pc
htmldir = ${docdir}
includedir = ${prefix}/include
infodir = ${datarootdir}/info
install_sh = ${SHELL} /home/user/libdvdread/install-sh
install_sh = ${SHELL} /home/user/libdvdread-4.2.0+20130219/install-sh
libdir = ${exec_prefix}/lib
libexecdir = ${exec_prefix}/libexec
localedir = ${datarootdir}/locale
......@@ -257,8 +258,7 @@ top_srcdir = .
MOSTLYCLEANFILES = *~ \\\ $(PACKAGE)_$(VERSION).tar.gz \
$(distdir).tar.gz $(PACKAGE).tgz package_descriptions
MAINTAINERCLEANFILES = Makefile.in configure $(ACLOCAL_M4) config.h.in \
ltmain.sh config.guess config.sub install-sh missing \
mkinstalldirs
ltmain.sh config.guess config.sub install-sh missing
SUBDIRS = src misc m4
EXTRA_DIST = autogen.sh \
AUTHORS \
......@@ -272,7 +272,6 @@ EXTRA_DIST = autogen.sh \
libtool \
ltmain.sh \
missing \
mkinstalldirs \
README \
TODO
......
......@@ -15,7 +15,6 @@ EXTRA_DIST = autogen.sh \
libtool \
ltmain.sh \
missing \
mkinstalldirs \
README \
TODO
......@@ -23,8 +22,7 @@ MOSTLYCLEANFILES += $(PACKAGE)_$(VERSION).tar.gz \
$(distdir).tar.gz $(PACKAGE).tgz package_descriptions
MAINTAINERCLEANFILES += configure $(ACLOCAL_M4) config.h.in \
ltmain.sh config.guess config.sub install-sh missing \
mkinstalldirs
ltmain.sh config.guess config.sub install-sh missing
world:
@$(MAKE) clean all install 2> warnings.log
......
......@@ -57,7 +57,8 @@ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
config.sub depcomp install-sh ltmain.sh missing
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
......@@ -257,8 +258,7 @@ top_srcdir = @top_srcdir@
MOSTLYCLEANFILES = *~ \\\ $(PACKAGE)_$(VERSION).tar.gz \
$(distdir).tar.gz $(PACKAGE).tgz package_descriptions
MAINTAINERCLEANFILES = Makefile.in configure $(ACLOCAL_M4) config.h.in \
ltmain.sh config.guess config.sub install-sh missing \
mkinstalldirs
ltmain.sh config.guess config.sub install-sh missing
SUBDIRS = src misc m4
EXTRA_DIST = autogen.sh \
AUTHORS \
......@@ -272,7 +272,6 @@ EXTRA_DIST = autogen.sh \
libtool \
ltmain.sh \
missing \
mkinstalldirs \
README \
TODO
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -437,7 +437,7 @@ Copyright (C) 2012 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it."
ac_pwd='/home/user/libdvdread'
ac_pwd='/home/user/libdvdread-4.2.0+20130219'
srcdir='.'
INSTALL='/usr/bin/install -c'
MKDIR_P='/bin/mkdir -p'
......@@ -599,7 +599,7 @@ old_postuninstall_cmds=''
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $tool_oldlib'
lock_old_archive_extraction='no'
CC='gcc'
CFLAGS='-O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE '
CFLAGS='-mno-ms-bitfields -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE '
compiler='gcc'
GCC='yes'
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
......@@ -675,7 +675,7 @@ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
finish_eval=''
hardcode_into_libs='yes'
sys_lib_search_path_spec='/usr/lib/gcc/i486-linux-gnu/4.7 /usr/lib/i386-linux-gnu /usr/lib /lib/i386-linux-gnu /lib '
sys_lib_dlsearch_path_spec='/lib /usr/lib /lib/i386-linux-gnu /usr/lib/i386-linux-gnu /lib/i486-linux-gnu /usr/lib/i486-linux-gnu /usr/local/lib '
sys_lib_dlsearch_path_spec='/lib /usr/lib /lib/i386-linux-gnu /usr/lib/i386-linux-gnu /lib/i486-linux-gnu /usr/lib/i486-linux-gnu /usr/local/lib /lib64 /usr/lib64 '
hardcode_action='immediate'
enable_dlopen='yes'
enable_dlopen_self='yes'
......@@ -868,7 +868,7 @@ S["EXEEXT"]=""
S["ac_ct_CC"]="gcc"
S["CPPFLAGS"]=""
S["LDFLAGS"]=""
S["CFLAGS"]="-O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE "
S["CFLAGS"]="-mno-ms-bitfields -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE "
S["CC"]="gcc"
S["DVDREAD_LT_REVISION"]="2"
S["DVDREAD_LT_AGE"]="1"
......@@ -894,12 +894,12 @@ S["mkdir_p"]="/bin/mkdir -p"
S["MKDIR_P"]="/bin/mkdir -p"
S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
S["STRIP"]="strip"
S["install_sh"]="${SHELL} /home/user/libdvdread/install-sh"
S["MAKEINFO"]="${SHELL} /home/user/libdvdread/missing --run makeinfo"
S["AUTOHEADER"]="${SHELL} /home/user/libdvdread/missing --run autoheader"
S["AUTOMAKE"]="${SHELL} /home/user/libdvdread/missing --run automake-1.11"
S["AUTOCONF"]="${SHELL} /home/user/libdvdread/missing --run autoconf"
S["ACLOCAL"]="${SHELL} /home/user/libdvdread/missing --run aclocal-1.11"
S["install_sh"]="${SHELL} /home/user/libdvdread-4.2.0+20130219/install-sh"
S["MAKEINFO"]="${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run makeinfo"
S["AUTOHEADER"]="${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run autoheader"
S["AUTOMAKE"]="${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run automake-1.11"
S["AUTOCONF"]="${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run autoconf"
S["ACLOCAL"]="${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run aclocal-1.11"
S["VERSION"]="4.2.0"
S["PACKAGE"]="libdvdread"
S["CYGPATH_W"]="echo"
......
......@@ -2258,6 +2258,64 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
# ===========================================================================
# http://www.gnu.org/software/autoconf-archive/ax_check_compile_flag.html
# ===========================================================================
#
# SYNOPSIS
#
# AX_CHECK_COMPILE_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS])
#
# DESCRIPTION
#
# Check whether the given FLAG works with the current language's compiler
# or gives an error. (Warnings, however, are ignored)
#
# ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on
# success/failure.
#
# If EXTRA-FLAGS is defined, it is added to the current language's default
# flags (e.g. CFLAGS) when the check is done. The check is thus made with
# the flags: "CFLAGS EXTRA-FLAGS FLAG". This can for example be used to
# force the compiler to issue an error when a bad flag is given.
#
# NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this
# macro in sync with AX_CHECK_{PREPROC,LINK}_FLAG.
#
# LICENSE
#
# Copyright (c) 2008 Guido U. Draheim <guidod@gmx.de>
# Copyright (c) 2011 Maarten Bosmans <mkbosmans@gmail.com>
#
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation, either version 3 of the License, or (at your
# option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
# Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.
#
# As a special exception, the respective Autoconf Macro's copyright owner
# gives unlimited permission to copy, distribute and modify the configure
# scripts that are the output of Autoconf when processing the Macro. You
# need not follow the terms of the GNU General Public License when using
# or distributing such scripts, even though portions of the text of the
# Macro appear in them. The GNU General Public License (GPL) does govern
# all other use of the material that constitutes the Autoconf Macro.
#
# This special exception to the GPL applies to versions of the Autoconf
# Macro released by the Autoconf Archive. When you make and distribute a
# modified version of the Autoconf Macro, you may extend this special
# exception to the GPL to apply to your modified version as well.
#serial 2
am__api_version='1.11'
ac_aux_dir=
......@@ -12928,6 +12986,42 @@ DEBUG_CFLAGS="-g -DDEBUG $CFLAGS"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mno-ms-bitfields" >&5
$as_echo_n "checking whether C compiler accepts -mno-ms-bitfields... " >&6; }
if ${ax_cv_check_cflags___mno_ms_bitfields+:} false; then :
$as_echo_n "(cached) " >&6
else
ax_check_save_flags=$CFLAGS
CFLAGS="$CFLAGS -mno-ms-bitfields"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
main ()
{
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
ax_cv_check_cflags___mno_ms_bitfields=yes
else
ax_cv_check_cflags___mno_ms_bitfields=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
CFLAGS=$ax_check_save_flags
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mno_ms_bitfields" >&5
$as_echo "$ax_cv_check_cflags___mno_ms_bitfields" >&6; }
if test x"$ax_cv_check_cflags___mno_ms_bitfields" = xyes; then :
CFLAGS="-mno-ms-bitfields $CFLAGS"
else
:
fi
# Extract the first word of "doxygen", so it can be a program name with args.
set dummy doxygen; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
......
......@@ -19,6 +19,7 @@ m4_define([dvdread_pre], [])
AC_INIT([libdvdread], [dvdread_major.dvdread_minor.dvdread_sub[]dvdread_pre])
AC_CONFIG_SRCDIR([src/dvdread/dvd_reader.h])
m4_include([m4/ax_check_compile_flag.m4])
AM_INIT_AUTOMAKE([1.6])
dnl create a config.h file (Automake will add -DHAVE_CONFIG_H)
......@@ -202,6 +203,11 @@ DEBUG_CFLAGS="-g -DDEBUG $CFLAGS"
AC_SUBST(DEBUG_CFLAGS)
dnl ---------------------------------------------
dnl Check for bitfield compiler flag
dnl ---------------------------------------------
AX_CHECK_COMPILE_FLAG([-mno-ms-bitfields], [CFLAGS="-mno-ms-bitfields $CFLAGS"])
dnl ---------------------------------------------
dnl Check for doxygen (dynamic documentation generator)
dnl ---------------------------------------------
......
......@@ -2,7 +2,7 @@
# libtool - Provide generalized library-building support services.
# Generated automatically by config.status (libdvdread) 4.2.0
# Libtool was configured on host notebook:
# Libtool was configured on host laptop.127011.internal:
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
......@@ -164,7 +164,7 @@ lock_old_archive_extraction=no
LTCC="gcc"
# LTCC compiler flags.
LTCFLAGS="-O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE "
LTCFLAGS="-mno-ms-bitfields -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE "
# Take the output of nm and produce a listing of raw symbols and C names.
global_symbol_pipe="sed -n -e 's/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p' | sed '/ __gnu_lto/d'"
......@@ -275,7 +275,7 @@ hardcode_into_libs=yes
sys_lib_search_path_spec="/usr/lib/gcc/i486-linux-gnu/4.7 /usr/lib/i386-linux-gnu /usr/lib /lib/i386-linux-gnu /lib "
# Run-time system search path for libraries.
sys_lib_dlsearch_path_spec="/lib /usr/lib /lib/i386-linux-gnu /usr/lib/i386-linux-gnu /lib/i486-linux-gnu /usr/lib/i486-linux-gnu /usr/local/lib "
sys_lib_dlsearch_path_spec="/lib /usr/lib /lib/i386-linux-gnu /usr/lib/i386-linux-gnu /lib/i486-linux-gnu /usr/lib/i486-linux-gnu /usr/local/lib /lib64 /usr/lib64 "
# Whether dlopen is supported.
dlopen_support=yes
......
......@@ -55,7 +55,8 @@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
$(top_srcdir)/misc/Makefile.common
subdir = m4
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(install_sh) -d
......@@ -99,16 +100,16 @@ am__uninstall_files_from_dir = { \
am__installdirs = "$(DESTDIR)$(m4datadir)"
DATA = $(m4data_DATA)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = ${SHELL} /home/user/libdvdread/missing --run aclocal-1.11
ACLOCAL = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run aclocal-1.11
AMTAR = $${TAR-tar}
AR = ar
AUTOCONF = ${SHELL} /home/user/libdvdread/missing --run autoconf
AUTOHEADER = ${SHELL} /home/user/libdvdread/missing --run autoheader
AUTOMAKE = ${SHELL} /home/user/libdvdread/missing --run automake-1.11
AUTOCONF = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run autoconf
AUTOHEADER = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run autoheader
AUTOMAKE = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run automake-1.11
AWK = mawk
CC = gcc
CCDEPMODE = depmode=gcc3
CFLAGS = -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
CFLAGS = -mno-ms-bitfields -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
CPP = gcc -E
CPPFLAGS =
CSS_LIBS =
......@@ -149,7 +150,7 @@ LIBTOOL_DEPS = ./ltmain.sh
LIPO =
LN_S = ln -s
LTLIBOBJS =
MAKEINFO = ${SHELL} /home/user/libdvdread/missing --run makeinfo
MAKEINFO = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run makeinfo
MANIFEST_TOOL = :
MKDIR_P = /bin/mkdir -p
NM = /usr/bin/nm -B
......@@ -173,10 +174,10 @@ SHELL = /bin/bash
STATIC =
STRIP = strip
VERSION = 4.2.0
abs_builddir = /home/user/libdvdread/m4
abs_srcdir = /home/user/libdvdread/m4
abs_top_builddir = /home/user/libdvdread
abs_top_srcdir = /home/user/libdvdread
abs_builddir = /home/user/libdvdread-4.2.0+20130219/m4
abs_srcdir = /home/user/libdvdread-4.2.0+20130219/m4
abs_top_builddir = /home/user/libdvdread-4.2.0+20130219
abs_top_srcdir = /home/user/libdvdread-4.2.0+20130219
ac_ct_AR = ar
ac_ct_CC = gcc
ac_ct_DUMPBIN =
......@@ -205,7 +206,7 @@ host_vendor = pc
htmldir = ${docdir}
includedir = ${prefix}/include
infodir = ${datarootdir}/info
install_sh = ${SHELL} /home/user/libdvdread/install-sh
install_sh = ${SHELL} /home/user/libdvdread-4.2.0+20130219/install-sh
libdir = ${exec_prefix}/lib
libexecdir = ${exec_prefix}/libexec
localedir = ${datarootdir}/locale
......
......@@ -55,7 +55,8 @@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
$(top_srcdir)/misc/Makefile.common
subdir = m4
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(install_sh) -d
......
# ===========================================================================
# http://www.gnu.org/software/autoconf-archive/ax_check_compile_flag.html
# ===========================================================================
#
# SYNOPSIS
#
# AX_CHECK_COMPILE_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS])
#
# DESCRIPTION
#
# Check whether the given FLAG works with the current language's compiler
# or gives an error. (Warnings, however, are ignored)
#
# ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on
# success/failure.
#
# If EXTRA-FLAGS is defined, it is added to the current language's default
# flags (e.g. CFLAGS) when the check is done. The check is thus made with
# the flags: "CFLAGS EXTRA-FLAGS FLAG". This can for example be used to
# force the compiler to issue an error when a bad flag is given.
#
# NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this
# macro in sync with AX_CHECK_{PREPROC,LINK}_FLAG.
#
# LICENSE
#
# Copyright (c) 2008 Guido U. Draheim <guidod@gmx.de>
# Copyright (c) 2011 Maarten Bosmans <mkbosmans@gmail.com>
#
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation, either version 3 of the License, or (at your
# option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
# Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.
#
# As a special exception, the respective Autoconf Macro's copyright owner
# gives unlimited permission to copy, distribute and modify the configure
# scripts that are the output of Autoconf when processing the Macro. You
# need not follow the terms of the GNU General Public License when using
# or distributing such scripts, even though portions of the text of the
# Macro appear in them. The GNU General Public License (GPL) does govern
# all other use of the material that constitutes the Autoconf Macro.
#
# This special exception to the GPL applies to versions of the Autoconf
# Macro released by the Autoconf Archive. When you make and distribute a
# modified version of the Autoconf Macro, you may extend this special
# exception to the GPL to apply to your modified version as well.
#serial 2
AC_DEFUN([AX_CHECK_COMPILE_FLAG],
[AC_PREREQ(2.59)dnl for _AC_LANG_PREFIX
AS_VAR_PUSHDEF([CACHEVAR],[ax_cv_check_[]_AC_LANG_ABBREV[]flags_$4_$1])dnl
AC_CACHE_CHECK([whether _AC_LANG compiler accepts $1], CACHEVAR, [
ax_check_save_flags=$[]_AC_LANG_PREFIX[]FLAGS
_AC_LANG_PREFIX[]FLAGS="$[]_AC_LANG_PREFIX[]FLAGS $4 $1"
AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
[AS_VAR_SET(CACHEVAR,[yes])],
[AS_VAR_SET(CACHEVAR,[no])])
_AC_LANG_PREFIX[]FLAGS=$ax_check_save_flags])
AS_IF([test x"AS_VAR_GET(CACHEVAR)" = xyes],
[m4_default([$2], :)],
[m4_default([$3], :)])
AS_VAR_POPDEF([CACHEVAR])dnl
])dnl AX_CHECK_COMPILE_FLAGS
......@@ -58,7 +58,8 @@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
$(top_srcdir)/misc/Makefile.common
subdir = misc
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(install_sh) -d
......@@ -104,16 +105,16 @@ am__can_run_installinfo = \
esac
DATA = $(pkgconfig_DATA)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = ${SHELL} /home/user/libdvdread/missing --run aclocal-1.11
ACLOCAL = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run aclocal-1.11
AMTAR = $${TAR-tar}
AR = ar
AUTOCONF = ${SHELL} /home/user/libdvdread/missing --run autoconf
AUTOHEADER = ${SHELL} /home/user/libdvdread/missing --run autoheader
AUTOMAKE = ${SHELL} /home/user/libdvdread/missing --run automake-1.11
AUTOCONF = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run autoconf
AUTOHEADER = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run autoheader
AUTOMAKE = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run automake-1.11
AWK = mawk
CC = gcc
CCDEPMODE = depmode=gcc3
CFLAGS = -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
CFLAGS = -mno-ms-bitfields -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
CPP = gcc -E
CPPFLAGS =
CSS_LIBS =
......@@ -154,7 +155,7 @@ LIBTOOL_DEPS = ./ltmain.sh
LIPO =
LN_S = ln -s
LTLIBOBJS =
MAKEINFO = ${SHELL} /home/user/libdvdread/missing --run makeinfo
MAKEINFO = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run makeinfo
MANIFEST_TOOL = :
MKDIR_P = /bin/mkdir -p
NM = /usr/bin/nm -B
......@@ -178,10 +179,10 @@ SHELL = /bin/bash
STATIC =
STRIP = strip
VERSION = 4.2.0
abs_builddir = /home/user/libdvdread/misc
abs_srcdir = /home/user/libdvdread/misc
abs_top_builddir = /home/user/libdvdread
abs_top_srcdir = /home/user/libdvdread
abs_builddir = /home/user/libdvdread-4.2.0+20130219/misc
abs_srcdir = /home/user/libdvdread-4.2.0+20130219/misc
abs_top_builddir = /home/user/libdvdread-4.2.0+20130219
abs_top_srcdir = /home/user/libdvdread-4.2.0+20130219
ac_ct_AR = ar
ac_ct_CC = gcc
ac_ct_DUMPBIN =
......@@ -210,7 +211,7 @@ host_vendor = pc
htmldir = ${docdir}
includedir = ${prefix}/include
infodir = ${datarootdir}/info
install_sh = ${SHELL} /home/user/libdvdread/install-sh
install_sh = ${SHELL} /home/user/libdvdread-4.2.0+20130219/install-sh
libdir = ${exec_prefix}/lib
libexecdir = ${exec_prefix}/libexec
localedir = ${datarootdir}/locale
......
......@@ -58,7 +58,8 @@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
$(top_srcdir)/misc/Makefile.common
subdir = misc
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(install_sh) -d
......
......@@ -56,7 +56,8 @@ DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \
$(srcdir)/Makefile.in $(top_srcdir)/misc/Makefile.common
subdir = src
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(install_sh) -d
......@@ -125,16 +126,16 @@ HEADERS = $(include_HEADERS)
ETAGS = etags
CTAGS = ctags
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = ${SHELL} /home/user/libdvdread/missing --run aclocal-1.11
ACLOCAL = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run aclocal-1.11
AMTAR = $${TAR-tar}
AR = ar
AUTOCONF = ${SHELL} /home/user/libdvdread/missing --run autoconf
AUTOHEADER = ${SHELL} /home/user/libdvdread/missing --run autoheader
AUTOMAKE = ${SHELL} /home/user/libdvdread/missing --run automake-1.11
AUTOCONF = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run autoconf
AUTOHEADER = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run autoheader
AUTOMAKE = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run automake-1.11
AWK = mawk
CC = gcc
CCDEPMODE = depmode=gcc3
CFLAGS = -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
CFLAGS = -mno-ms-bitfields -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
CPP = gcc -E
CPPFLAGS =
CSS_LIBS =
......@@ -175,7 +176,7 @@ LIBTOOL_DEPS = ./ltmain.sh
LIPO =
LN_S = ln -s
LTLIBOBJS =
MAKEINFO = ${SHELL} /home/user/libdvdread/missing --run makeinfo
MAKEINFO = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run makeinfo
MANIFEST_TOOL = :
MKDIR_P = /bin/mkdir -p
NM = /usr/bin/nm -B
......@@ -199,10 +200,10 @@ SHELL = /bin/bash
STATIC =
STRIP = strip
VERSION = 4.2.0
abs_builddir = /home/user/libdvdread/src
abs_srcdir = /home/user/libdvdread/src
abs_top_builddir = /home/user/libdvdread
abs_top_srcdir = /home/user/libdvdread
abs_builddir = /home/user/libdvdread-4.2.0+20130219/src
abs_srcdir = /home/user/libdvdread-4.2.0+20130219/src
abs_top_builddir = /home/user/libdvdread-4.2.0+20130219
abs_top_srcdir = /home/user/libdvdread-4.2.0+20130219
ac_ct_AR = ar
ac_ct_CC = gcc
ac_ct_DUMPBIN =
......@@ -231,7 +232,7 @@ host_vendor = pc
htmldir = ${docdir}
includedir = ${prefix}/include/dvdread
infodir = ${datarootdir}/info
install_sh = ${SHELL} /home/user/libdvdread/install-sh
install_sh = ${SHELL} /home/user/libdvdread-4.2.0+20130219/install-sh
libdir = ${exec_prefix}/lib
libexecdir = ${exec_prefix}/libexec
localedir = ${datarootdir}/locale
......
......@@ -56,7 +56,8 @@ DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \
$(srcdir)/Makefile.in $(top_srcdir)/misc/Makefile.common
subdir = src
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(install_sh) -d
......
......@@ -67,6 +67,12 @@
#define B2N_32(x) x = be32toh(x)
#define B2N_64(x) x = be64toh(x)
#elif defined(__QNXNTO__)
#include <gulliver.h>
#define B2N_16(x) x = ENDIAN_RET16(x)
#define B2N_32(x) x = ENDIAN_RET32(x)
#define B2N_64(x) x = ENDIAN_RET64(x)
/* This is a slow but portable implementation, it has multiple evaluation
* problems so beware.
* Old FreeBSD's and Solaris don't have <byteswap.h> or any other such
......
......@@ -1192,7 +1192,7 @@ void ifo_print(dvd_reader_t *dvd, int title) {
printf("No Menu VOBU address map present\n");
}
printf("\nCell Adress table\n");
printf("\nCell Address table\n");
printf( "-----------------\n");
ifoPrint_C_ADT(ifohandle->vts_c_adt);
......
......@@ -1448,7 +1448,6 @@ int ifoRead_VTS_TMAPT(ifo_handle_t *ifofile) {
if(ifofile->vtsi_mat->vts_tmapt == 0) { /* optional(?) */
ifofile->vts_tmapt = NULL;
fprintf(stderr,"libdvdread: No VTS_TMAPT available - skipping.\n");
return 1;
}
......@@ -1928,7 +1927,6 @@ static void ifoFree_PGCIT_internal(pgcit_t *pgcit) {
for(i = 0; i < pgcit->nr_of_pgci_srp; i++)
{
ifoFree_PGC(pgcit->pgci_srp[i].pgc);
free(pgcit->pgci_srp[i].pgc);
}
free(pgcit->pgci_srp);
}
......
......@@ -23,7 +23,7 @@
#include <stdio.h>
#if defined HAVE_LIMITS_H || _LIBC
#if defined HAVE_LIMITS_H || defined _LIBC
# include <limits.h>
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment