2013-02-15 02:24:45 +01:00
|
|
|
dnl library version number
|
2011-11-17 21:09:04 +01:00
|
|
|
m4_define([bluray_major], 0)
|
2015-10-02 11:18:21 +02:00
|
|
|
m4_define([bluray_minor], 9)
|
2016-05-15 16:14:10 +02:00
|
|
|
m4_define([bluray_micro], 3)
|
2011-11-17 21:09:04 +01:00
|
|
|
m4_define([bluray_version],[bluray_major.bluray_minor.bluray_micro])
|
|
|
|
|
2013-02-15 02:24:45 +01:00
|
|
|
dnl shared library version (.so version)
|
|
|
|
dnl
|
|
|
|
dnl - If there are no interface changes, increase revision.
|
|
|
|
dnl - If interfaces have been added, increase current and age. Set revision to 0.
|
|
|
|
dnl - If interfaces have been changed or removed, increase current and set age and revision to 0.
|
|
|
|
dnl
|
|
|
|
dnl Library file name will be libbluray.so.(current-age).age.revision
|
|
|
|
dnl
|
2016-05-15 16:14:10 +02:00
|
|
|
m4_define([lt_current], 11)
|
|
|
|
m4_define([lt_revision], 0)
|
|
|
|
m4_define([lt_age], 10)
|
2011-11-21 07:55:36 +01:00
|
|
|
|
2013-02-15 02:24:45 +01:00
|
|
|
dnl initilization
|
2011-11-30 02:13:21 +01:00
|
|
|
AC_INIT([libbluray], bluray_version, [http://www.videolan.org/developers/libbluray.html])
|
2009-10-20 04:19:21 +02:00
|
|
|
AC_CONFIG_AUX_DIR([build-aux])
|
2010-05-27 05:48:50 +02:00
|
|
|
AC_CONFIG_MACRO_DIR([m4])
|
2013-02-15 02:25:15 +01:00
|
|
|
AC_CANONICAL_HOST
|
2013-10-09 11:38:54 +02:00
|
|
|
AM_INIT_AUTOMAKE([foreign tar-ustar dist-bzip2 no-dist-gzip subdir-objects])
|
2013-01-22 20:56:22 +01:00
|
|
|
AC_CONFIG_HEADERS(config.h)
|
2009-10-20 04:19:21 +02:00
|
|
|
|
2014-07-13 03:35:58 +02:00
|
|
|
dnl Enable silent rules only when available (automake 1.11 or later).
|
|
|
|
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
|
|
|
|
2010-08-24 16:15:49 +02:00
|
|
|
case "${host_os}" in
|
|
|
|
"")
|
|
|
|
SYS=unknown
|
|
|
|
;;
|
|
|
|
*mingw32* | *cygwin* | *wince* | *mingwce*)
|
|
|
|
case "${host_os}" in
|
|
|
|
*wince* | *mingwce* | *mingw32ce*)
|
|
|
|
SYS=mingwce
|
|
|
|
;;
|
|
|
|
*mingw32*)
|
|
|
|
SYS=mingw32
|
2014-05-27 11:55:35 +02:00
|
|
|
AC_DEFINE([_WIN32_WINNT], 0x0502, [Define to '0x0502' for Windows XP SP2 APIs.])
|
2013-09-18 10:46:12 +02:00
|
|
|
AC_DEFINE([_WIN32_IE], 0x0501, [Define to '0x0501' for IE 5.01.])
|
2014-05-27 11:49:51 +02:00
|
|
|
CPPFLAGS="${CPPFLAGS} -D__USE_MINGW_ANSI_STDIO=1"
|
2010-08-24 16:15:49 +02:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
;;
|
2013-03-13 08:13:28 +01:00
|
|
|
*darwin*)
|
|
|
|
SYS=darwin
|
|
|
|
;;
|
2015-04-10 08:43:44 +02:00
|
|
|
netbsd*)
|
|
|
|
SYS=netbsd
|
|
|
|
CFLAGS="${CFLAGS} -D_NETBSD_SOURCE"
|
|
|
|
;;
|
2010-08-24 16:15:49 +02:00
|
|
|
*)
|
|
|
|
SYS="${host_os}"
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
2013-03-13 08:13:28 +01:00
|
|
|
AM_CONDITIONAL(HAVE_WIN32, test "${SYS}" = "mingw32")
|
|
|
|
AM_CONDITIONAL(HAVE_DARWIN, test "${SYS}" = "darwin")
|
|
|
|
|
2013-02-15 02:24:45 +01:00
|
|
|
dnl messages
|
2010-05-27 05:15:20 +02:00
|
|
|
library_not_found="Could not find required library!"
|
2010-05-27 06:48:04 +02:00
|
|
|
function_not_found="Could not find required function!"
|
2010-05-29 08:41:36 +02:00
|
|
|
|
2013-02-15 02:24:45 +01:00
|
|
|
dnl configure options
|
2014-05-16 22:29:00 +02:00
|
|
|
AC_ARG_VAR([JDK_HOME], [Path to the JDK])
|
2010-07-02 20:10:32 +02:00
|
|
|
|
2010-05-30 11:19:26 +02:00
|
|
|
AC_ARG_ENABLE([werror],
|
2013-02-15 02:43:44 +01:00
|
|
|
[AS_HELP_STRING([--enable-werror], [set warnings as errors via -Werror @<:@default=disabled@:>@])])
|
2010-05-31 03:20:01 +02:00
|
|
|
|
2010-05-31 05:12:45 +02:00
|
|
|
AC_ARG_ENABLE([extra-warnings],
|
2013-02-15 02:43:44 +01:00
|
|
|
[AS_HELP_STRING([--disable-extra-warnings], [set extra warnings @<:@default=enabled@:>@])])
|
2010-05-31 05:12:45 +02:00
|
|
|
|
2010-05-30 11:19:26 +02:00
|
|
|
AC_ARG_ENABLE([optimizations],
|
2013-02-15 02:43:44 +01:00
|
|
|
[AS_HELP_STRING([--disable-optimizations], [disable optimizations @<:@default=enabled@:>@])])
|
2009-10-20 04:19:21 +02:00
|
|
|
|
2010-09-11 02:50:19 +02:00
|
|
|
AC_ARG_ENABLE([examples],
|
|
|
|
[AS_HELP_STRING([--enable-examples],
|
|
|
|
[build examples (default is yes)])],
|
|
|
|
[use_examples=$enableval],
|
|
|
|
[use_examples=yes])
|
|
|
|
|
2010-07-02 20:10:32 +02:00
|
|
|
AC_ARG_ENABLE([bdjava],
|
2015-02-03 10:59:21 +01:00
|
|
|
[AS_HELP_STRING([--disable-bdjava], [disable BD-Java support @<:@default=enabled@:>@])],
|
2010-07-02 20:10:32 +02:00
|
|
|
[use_bdjava=$enableval],
|
2015-02-03 10:59:21 +01:00
|
|
|
[use_bdjava=yes])
|
2010-07-02 20:10:32 +02:00
|
|
|
|
2015-02-09 14:14:50 +01:00
|
|
|
AC_ARG_ENABLE([udf],
|
2015-12-01 13:44:59 +01:00
|
|
|
[AS_HELP_STRING([--disable-udf], [disable UDF support @<:@default=enabled@:>@])],
|
|
|
|
[enable_udf=$enableval],
|
|
|
|
[enable_udf=yes])
|
2015-02-09 14:14:50 +01:00
|
|
|
|
2015-12-02 10:34:52 +01:00
|
|
|
AC_ARG_ENABLE([bdjava-jar],
|
2015-12-02 10:35:45 +01:00
|
|
|
[AS_HELP_STRING([--disable-bdjava-jar],
|
|
|
|
[disable building of BD-Java JAR file @<:@default=enabled@:>@])],
|
2015-12-02 10:34:52 +01:00
|
|
|
[use_bdjava_jar=$enableval],
|
2015-12-02 10:35:45 +01:00
|
|
|
[use_bdjava_jar=yes])
|
2015-12-02 10:34:52 +01:00
|
|
|
|
2013-02-15 02:57:35 +01:00
|
|
|
AC_ARG_WITH([libxml2],
|
|
|
|
[AS_HELP_STRING([--without-libxml2], [build without libxml2 support @<:@default=with@:>@])])
|
2011-11-30 02:23:10 +01:00
|
|
|
|
2013-02-15 02:57:35 +01:00
|
|
|
AC_ARG_WITH([freetype],
|
|
|
|
[AS_HELP_STRING([--without-freetype], [build without freetype support @<:@default=with@:>@])])
|
2012-12-21 12:44:12 +01:00
|
|
|
|
2014-06-23 10:08:01 +02:00
|
|
|
AC_ARG_WITH([fontconfig],
|
|
|
|
[AS_HELP_STRING([--without-fontconfig], [build without fontconfig support @<:@default=with@:>@])])
|
|
|
|
|
2012-12-21 12:44:12 +01:00
|
|
|
AC_ARG_WITH([bdj-type],
|
|
|
|
[AS_HELP_STRING([--with-bdj-type=TYPE],
|
|
|
|
[Specify the type of BD-J implementation (j2se, j2me). Default is j2se.])],
|
|
|
|
[BDJ_TYPE=$withval],
|
|
|
|
[BDJ_TYPE=j2se])
|
|
|
|
|
2013-02-02 20:41:09 +01:00
|
|
|
AC_ARG_WITH([bdj-bootclasspath],
|
|
|
|
[AS_HELP_STRING([--with-bdj-bootclasspath=PATH],
|
|
|
|
[Specify BD-J build-time bootclass path (example /opt/PhoneME/lib/btclasses.zip;/opt/PhoneME/lib/xmlparer.jar). Default is empty.])],
|
|
|
|
[BDJ_BOOTCLASSPATH=$withval],
|
|
|
|
[BDJ_BOOTCLASSPATH=])
|
|
|
|
|
2013-02-15 02:24:45 +01:00
|
|
|
dnl required programs
|
2009-10-21 07:39:34 +02:00
|
|
|
AC_PROG_CC
|
2013-10-09 11:38:54 +02:00
|
|
|
AM_PROG_CC_C_O
|
2010-05-27 06:16:14 +02:00
|
|
|
AC_PROG_LIBTOOL
|
2009-10-20 04:19:21 +02:00
|
|
|
|
2013-02-15 02:24:45 +01:00
|
|
|
dnl required types
|
2009-10-21 07:39:34 +02:00
|
|
|
AC_TYPE_SIGNAL
|
2009-10-20 04:19:21 +02:00
|
|
|
|
2013-02-15 02:24:45 +01:00
|
|
|
dnl required headers
|
2010-05-27 06:38:07 +02:00
|
|
|
AC_CHECK_HEADERS([stdarg.h sys/types.h dirent.h errno.h libgen.h malloc.h])
|
2011-05-06 13:56:46 +02:00
|
|
|
AC_CHECK_HEADERS([stdlib.h mntent.h linux/cdrom.h inttypes.h strings.h])
|
2012-03-19 08:54:47 +01:00
|
|
|
AC_CHECK_HEADERS([sys/time.h time.h mntent.h])
|
2009-10-21 07:39:34 +02:00
|
|
|
|
2013-02-15 02:24:45 +01:00
|
|
|
dnl required structures
|
2009-10-21 07:39:34 +02:00
|
|
|
AC_STRUCT_DIRENT_D_TYPE
|
|
|
|
|
2013-02-15 02:24:45 +01:00
|
|
|
dnl required system services
|
2009-10-21 07:39:34 +02:00
|
|
|
AC_SYS_LARGEFILE
|
|
|
|
|
2013-02-15 02:24:45 +01:00
|
|
|
dnl required functions
|
2010-05-27 06:48:04 +02:00
|
|
|
AC_CHECK_FUNC([snprintf],, [AC_MSG_ERROR($function_not_found)])
|
2009-10-21 07:39:34 +02:00
|
|
|
|
2013-02-15 02:24:45 +01:00
|
|
|
dnl required libraries
|
|
|
|
dnl pthreads (not on win32)
|
2013-02-15 03:06:24 +01:00
|
|
|
AS_IF([test "${SYS}" != "mingw32"], [
|
|
|
|
AC_CHECK_HEADERS([pthread.h], ,
|
|
|
|
[AC_MSG_ERROR([pthread required])])
|
|
|
|
AC_SEARCH_LIBS([pthread_create], [pthread], ,
|
|
|
|
[AC_MSG_ERROR([pthread required])])
|
|
|
|
AC_SEARCH_LIBS([dlopen], [dl])
|
2013-05-08 18:40:37 +02:00
|
|
|
DLOPEN_LIBS="$ac_cv_search_dlopen"
|
|
|
|
AS_CASE([$DLOPEN_LIBS],
|
|
|
|
[no|none\ required], [DLOPEN_LIBS=""])
|
|
|
|
AC_SUBST([DLOPEN_LIBS])
|
2013-02-15 03:06:24 +01:00
|
|
|
])
|
2010-05-29 08:41:36 +02:00
|
|
|
|
2013-02-15 02:24:45 +01:00
|
|
|
dnl libxml2 for metadata parser
|
2013-02-15 02:57:35 +01:00
|
|
|
AS_IF([test "x$with_libxml2" != "xno"], [
|
|
|
|
PKG_CHECK_MODULES([LIBXML2], [libxml-2.0 >= 2.6],
|
2013-03-05 09:32:30 +01:00
|
|
|
[with_libxml2=yes; AC_DEFINE([HAVE_LIBXML2], [1],
|
2013-02-15 02:57:35 +01:00
|
|
|
[Define to 1 if libxml2 is to be used for metadata parsing])])
|
|
|
|
])
|
2010-12-23 17:03:12 +01:00
|
|
|
|
2012-12-21 12:44:12 +01:00
|
|
|
dnl FreeType2
|
2013-06-17 14:31:11 +02:00
|
|
|
AS_IF([test "x$with_freetype" != "xno"], [
|
2013-02-15 02:57:35 +01:00
|
|
|
PKG_CHECK_MODULES([FT2], [freetype2],
|
2013-03-05 09:32:30 +01:00
|
|
|
[with_freetype=yes; AC_DEFINE([HAVE_FT2], 1, [Define this if you have FreeType2 library])])
|
2014-06-23 10:08:01 +02:00
|
|
|
|
|
|
|
dnl fontconfig support
|
|
|
|
AS_IF([test "${SYS}" != "mingw32"], [
|
|
|
|
AS_IF([test "x$with_fontconfig" != "xno"], [
|
|
|
|
PKG_CHECK_MODULES([FONTCONFIG], [fontconfig],
|
|
|
|
[with_fontconfig=yes; AC_DEFINE([HAVE_FONTCONFIG], 1, [Define this if you have fontconfig library])])
|
|
|
|
])
|
2014-11-24 12:13:08 +01:00
|
|
|
],[
|
|
|
|
FONTCONFIG_LIBS="-lgdi32"
|
|
|
|
AC_SUBST([FONTCONFIG_LIBS])
|
2014-06-23 10:08:01 +02:00
|
|
|
])
|
2013-02-15 02:57:35 +01:00
|
|
|
])
|
2012-12-21 12:44:12 +01:00
|
|
|
|
2013-02-15 02:43:44 +01:00
|
|
|
CC_CHECK_CFLAGS_APPEND([-Wall -Wdisabled-optimization -Wpointer-arith ]dnl
|
|
|
|
[-Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef ]dnl
|
|
|
|
[-Wmissing-prototypes -Wshadow])
|
2010-05-30 11:19:26 +02:00
|
|
|
|
2013-02-15 02:43:44 +01:00
|
|
|
CC_CHECK_CFLAGS_APPEND([-Werror=implicit-function-declaration ]dnl
|
|
|
|
[-Werror-implicit-function-declaration],
|
|
|
|
[break;])
|
2010-05-31 05:12:45 +02:00
|
|
|
|
2013-02-15 02:43:44 +01:00
|
|
|
CC_CHECK_WERROR
|
|
|
|
AS_IF([test "x$enable_werror" = "xyes"], [
|
|
|
|
CFLAGS="${CFLAGS} $cc_cv_werror"
|
|
|
|
])
|
2010-05-27 08:33:11 +02:00
|
|
|
|
2013-02-15 02:43:44 +01:00
|
|
|
AS_IF([test "x$enable_extra_warnings" != "xno"], [
|
|
|
|
CC_CHECK_CFLAGS_APPEND([-Wextra -Winline])
|
|
|
|
])
|
|
|
|
|
|
|
|
AS_IF([test "x$enable_optimizations" != "xno"], [
|
|
|
|
CC_CHECK_CFLAGS_APPEND([-O3 -fomit-frame-pointer])
|
|
|
|
])
|
2010-06-02 07:57:37 +02:00
|
|
|
|
2013-02-15 02:24:45 +01:00
|
|
|
dnl use examples
|
2010-09-11 02:50:19 +02:00
|
|
|
AM_CONDITIONAL([USING_EXAMPLES], [ test $use_examples = "yes" ])
|
|
|
|
|
2013-02-15 02:24:45 +01:00
|
|
|
dnl use bdjava
|
2010-07-02 20:10:32 +02:00
|
|
|
if [[ $use_bdjava = "yes" ]]; then
|
2013-02-15 02:25:15 +01:00
|
|
|
case $host_cpu in
|
2010-07-02 20:10:32 +02:00
|
|
|
x86_64) java_arch=amd64 ;;
|
|
|
|
i?86) java_arch=i386 ;;
|
2014-05-26 10:28:40 +02:00
|
|
|
arm*) java_arch=arm ;;
|
2013-02-15 02:25:15 +01:00
|
|
|
*) java_arch=$host_cpu ;;
|
2010-07-02 20:10:32 +02:00
|
|
|
esac
|
2013-02-15 02:25:15 +01:00
|
|
|
case $host_os in
|
2011-02-22 13:27:22 +01:00
|
|
|
linux*) java_os=linux ;;
|
|
|
|
win*) java_os=win32 ;;
|
2013-10-09 10:41:31 +02:00
|
|
|
mingw*) java_os=win32 ;;
|
2011-02-22 13:27:22 +01:00
|
|
|
freebsd*) java_os=freebsd ;;
|
2013-09-07 20:31:47 +02:00
|
|
|
solaris*) java_os=solaris ;;
|
2014-07-16 02:04:48 +02:00
|
|
|
darwin*) java_os=darwin ;;
|
2013-02-15 02:25:15 +01:00
|
|
|
*) java_os=$host_os ;;
|
2010-07-02 20:10:32 +02:00
|
|
|
esac
|
|
|
|
|
2014-05-16 22:29:00 +02:00
|
|
|
AS_IF([test "x${JDK_HOME}" != "x"], [
|
|
|
|
BDJAVA_CFLAGS="-I${JDK_HOME}/include -I${JDK_HOME}/include/$java_os"
|
|
|
|
|
|
|
|
temp_CPPFLAGS="$CPPFLAGS"
|
|
|
|
CPPFLAGS="$BDJAVA_CFLAGS $CPPFLAGS"
|
|
|
|
AC_CHECK_HEADERS([jni.h], [], [AC_MSG_ERROR(could not find jni.h)])
|
|
|
|
CPPFLAGS="$temp_CPPFLAGS"
|
|
|
|
], [
|
2014-05-21 12:45:23 +02:00
|
|
|
BDJAVA_CFLAGS='-I${abs_top_srcdir}/jni -I${abs_top_srcdir}/jni/'"${java_os}"
|
2014-05-16 22:29:00 +02:00
|
|
|
])
|
2010-07-02 20:10:32 +02:00
|
|
|
|
2014-07-16 02:25:36 +02:00
|
|
|
AC_CHECK_PROG(HAVE_ANT, [ant], yes, no)
|
2015-12-02 10:34:52 +01:00
|
|
|
if test "x$use_bdjava_jar" = "xyes" && test "x$HAVE_ANT" = "xno"; then
|
2014-07-16 02:25:36 +02:00
|
|
|
AC_MSG_ERROR([BD-J requires ANT, but ant was not found. Please install it.])
|
|
|
|
fi
|
|
|
|
|
2010-07-02 20:10:32 +02:00
|
|
|
AC_DEFINE([USING_BDJAVA], [1], ["Define to 1 if using BD-Java"])
|
2010-07-06 22:46:03 +02:00
|
|
|
AC_DEFINE_UNQUOTED([JAVA_ARCH], ["$java_arch"], ["Defines the architecture of the java vm."])
|
2013-02-02 20:41:09 +01:00
|
|
|
AC_DEFINE_UNQUOTED([JDK_HOME], ["$JDK_HOME"], [""])
|
2010-07-05 04:16:41 +02:00
|
|
|
fi
|
2010-07-02 20:10:32 +02:00
|
|
|
AM_CONDITIONAL([USING_BDJAVA], [ test $use_bdjava = "yes" ])
|
2015-12-02 10:34:52 +01:00
|
|
|
AM_CONDITIONAL([USING_BDJAVA_BUILD_JAR], [ test $use_bdjava_jar = "yes" ])
|
2010-07-02 20:10:32 +02:00
|
|
|
|
2013-02-15 02:24:45 +01:00
|
|
|
dnl BD-J type
|
2012-12-21 12:44:12 +01:00
|
|
|
if test "$BDJ_TYPE" = "j2me"; then
|
|
|
|
AC_DEFINE([HAVE_BDJ_J2ME], [1], [Define to 1 if using libbluray J2ME stack])
|
|
|
|
else
|
|
|
|
BDJ_TYPE=j2se
|
|
|
|
fi
|
|
|
|
AC_SUBST(BDJ_TYPE)
|
2013-02-15 02:24:45 +01:00
|
|
|
dnl bootclasspath
|
2013-02-02 20:41:09 +01:00
|
|
|
AC_SUBST(BDJ_BOOTCLASSPATH)
|
2012-12-21 12:44:12 +01:00
|
|
|
|
2015-02-09 14:14:50 +01:00
|
|
|
dnl udf support (using git submodule)
|
2015-02-15 11:35:09 +01:00
|
|
|
AS_IF([test "x$enable_udf" = "xyes"], [
|
|
|
|
if test ! -f "${srcdir}/contrib/libudfread/src/udfread.h"; then
|
|
|
|
AC_MSG_ERROR("libudfread source tree not found")
|
|
|
|
fi
|
2015-02-09 14:14:50 +01:00
|
|
|
AC_CHECK_HEADERS([unistd.h fcntl.h])
|
|
|
|
AS_IF([test "${SYS}" != "mingw32"], [
|
|
|
|
AC_CHECK_FUNC([pread],, [AC_MSG_ERROR("Function pread not found. Try with --disable-udf.")])
|
|
|
|
])
|
|
|
|
|
|
|
|
AC_DEFINE([ENABLE_UDF], [1], [Define to 1 if libudfread is to be used for disc image access])
|
|
|
|
UDF_CFLAGS='-I${srcdir}/contrib/libudfread/src/'
|
|
|
|
AC_SUBST(UDF_CFLAGS)
|
|
|
|
],
|
|
|
|
[enable_udf=no])
|
|
|
|
|
|
|
|
AM_CONDITIONAL([ENABLE_UDF], [test $enable_udf = "yes" ])
|
|
|
|
|
2013-02-15 02:24:45 +01:00
|
|
|
dnl generate documentation
|
2010-07-20 00:52:18 +02:00
|
|
|
DX_INIT_DOXYGEN(libbluray, doc/doxygen-config, [doc/doxygen])
|
|
|
|
|
2013-02-15 02:24:45 +01:00
|
|
|
dnl export library version number
|
2011-11-18 08:32:04 +01:00
|
|
|
BLURAY_VERSION_MAJOR=bluray_major()
|
|
|
|
AC_SUBST(BLURAY_VERSION_MAJOR)
|
|
|
|
BLURAY_VERSION_MINOR=bluray_minor()
|
|
|
|
AC_SUBST(BLURAY_VERSION_MINOR)
|
|
|
|
BLURAY_VERSION_MICRO=bluray_micro()
|
|
|
|
AC_SUBST(BLURAY_VERSION_MICRO)
|
|
|
|
|
2013-02-15 02:24:45 +01:00
|
|
|
dnl export library (.so) version
|
2011-11-21 07:55:36 +01:00
|
|
|
LT_VERSION_INFO="lt_current():lt_revision():lt_age()"
|
|
|
|
AC_SUBST(LT_VERSION_INFO)
|
|
|
|
|
2013-02-15 02:24:45 +01:00
|
|
|
dnl generate output files
|
2010-07-05 04:16:41 +02:00
|
|
|
AC_SUBST(BDJAVA_CFLAGS)
|
2015-02-04 08:13:39 +01:00
|
|
|
AC_CONFIG_FILES([Makefile src/libbluray.pc src/libbluray/bluray-version.h])
|
2009-10-20 04:19:21 +02:00
|
|
|
AC_OUTPUT
|
2011-11-30 10:07:06 +01:00
|
|
|
|
|
|
|
|
|
|
|
dnl ---------------------------------------------
|
|
|
|
dnl Some infos:
|
|
|
|
dnl ---------------------------------------------
|
|
|
|
|
|
|
|
echo " Summary:"
|
|
|
|
echo " --------"
|
2012-12-21 12:44:12 +01:00
|
|
|
echo " BD-J support: $use_bdjava"
|
|
|
|
if [[ $use_bdjava = "yes" ]]; then
|
|
|
|
echo " BD-J type: $BDJ_TYPE"
|
2015-12-02 10:34:52 +01:00
|
|
|
echo " build JAR: $use_bdjava_jar"
|
2013-02-02 20:41:09 +01:00
|
|
|
if test x"$BDJ_BOOTCLASSPATH" != x""; then
|
|
|
|
echo " BD-J bootclasspath: $BDJ_BOOTCLASSPATH"
|
|
|
|
fi
|
2012-12-21 12:44:12 +01:00
|
|
|
fi
|
2013-06-17 14:31:11 +02:00
|
|
|
echo " Font support (freetype2): $with_freetype"
|
2014-06-23 10:08:01 +02:00
|
|
|
if [[ $with_freetype = "yes" ]]; then
|
|
|
|
if [[ $use_bdjava = "yes" ]]; then
|
|
|
|
if test "${SYS}" != "mingw32"; then
|
|
|
|
echo " Use system fonts (fontconfig): $with_fontconfig"
|
|
|
|
else
|
2014-11-24 12:13:08 +01:00
|
|
|
echo " Use system fonts: yes"
|
2014-06-23 10:08:01 +02:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
2013-03-05 09:32:30 +01:00
|
|
|
echo " Metadata support (libxml2): $with_libxml2"
|
2015-02-09 14:14:50 +01:00
|
|
|
echo " UDF filesystem support: $enable_udf"
|
2012-12-21 12:44:12 +01:00
|
|
|
echo " Build examples: $use_examples"
|
2011-11-30 10:07:06 +01:00
|
|
|
|