"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "configure.ac" between
xine-ui-0.99.13.tar.bz2 and xine-ui-0.99.14.tar.bz2

About: xine is a free video player which plays mpeg-2 and mpeg-1 video, DVDs (unlocked/unencrypted only), video CDs, SVCDs, and AVI files (using Win32 codecs) with synchronized audio and video, and optionally fullscreen using the Xv extensions in Xfree86 4.x (user interface).

configure.ac  (xine-ui-0.99.13.tar.bz2):configure.ac  (xine-ui-0.99.14.tar.bz2)
skipping to change at line 12 skipping to change at line 12
dnl Configure.in for xine dnl Configure.in for xine
dnl dnl
dnl dnl
dnl Don't forget to update the misc/xine_splash.{xcf,png} dnl Don't forget to update the misc/xine_splash.{xcf,png}
dnl dnl
dnl Change these three m4_define lines to set the version dnl Change these three m4_define lines to set the version
dnl Presence of .cvsversion causes an "hg" suffix dnl Presence of .cvsversion causes an "hg" suffix
m4_define([xine_MAJOR], [0]) m4_define([xine_MAJOR], [0])
m4_define([xine_MINOR], [99]) m4_define([xine_MINOR], [99])
m4_define([xine_SUB], [13]) m4_define([xine_SUB], [14])
m4_define([xine_PRE], [m4_esyscmd([test -f .cvsversion && echo -n hg || :])]) m4_define([xine_PRE], [m4_esyscmd([test -f .cvsversion && echo -n hg || :])])
m4_define([xine_VERSION], [xine_MAJOR.xine_MINOR.m4_expand([xine_SUB])xine_PRE]) m4_define([xine_VERSION], [xine_MAJOR.xine_MINOR.m4_expand([xine_SUB])xine_PRE])
XINE_MAJOR=xine_MAJOR XINE_MAJOR=xine_MAJOR
XINE_MINOR=xine_MINOR XINE_MINOR=xine_MINOR
XINE_SUB=xine_SUB XINE_SUB=xine_SUB
XINE_PRE=xine_PRE XINE_PRE=xine_PRE
AC_PREREQ(2.59) AC_PREREQ(2.59)
AC_INIT([xine-ui], [xine_VERSION]) AC_INIT([xine-ui], [xine_VERSION])
dnl evilness dnl evilness
AC_CONFIG_SRCDIR([src/xitk/main.c]) AC_CONFIG_SRCDIR([src/xitk/main.c])
AM_CONFIG_HEADER(config.h) AC_CONFIG_HEADERS([config.h])
AC_CONFIG_LIBOBJ_DIR([src/common]) AC_CONFIG_LIBOBJ_DIR([src/common])
AM_INIT_AUTOMAKE([dist-xz no-dist-gzip -Wall]) AM_INIT_AUTOMAKE([dist-xz no-dist-gzip -Wall])
AM_MAINTAINER_MODE AM_MAINTAINER_MODE
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
TAR_NAME=$PACKAGE_NAME-xine_VERSION TAR_NAME=$PACKAGE_NAME-xine_VERSION
SPEC_VERSION=xine_VERSION SPEC_VERSION=xine_VERSION
AC_SUBST(XINE_MAJOR) AC_SUBST(XINE_MAJOR)
AC_SUBST(XINE_MINOR) AC_SUBST(XINE_MINOR)
AC_SUBST(XINE_SUB) AC_SUBST(XINE_SUB)
AC_SUBST(TAR_NAME) AC_SUBST(TAR_NAME)
AC_SUBST(SPEC_VERSION) AC_SUBST(SPEC_VERSION)
dnl dnl
dnl Check for programs. dnl Check for programs.
dnl dnl
dnl Save CFLAGS, AC_ISC_POSIX set some unwanted default CFLAGS dnl Save CFLAGS, AC_SEARCH_LIBS([strerror],[cposix]) set some unwanted default C FLAGS
dnl saved_CFLAGS="$CFLAGS" dnl saved_CFLAGS="$CFLAGS"
AC_ISC_POSIX AC_SEARCH_LIBS([strerror],[cposix])
dnl CFLAGS="$saved_CFLAGS" dnl CFLAGS="$saved_CFLAGS"
AC_PROG_CC AC_PROG_CC
AM_PROG_CC_C_O AM_PROG_CC_C_O
AC_MINIX dnl readline AC_MINIX dnl readline
AC_HEADER_STDC([])
AC_PROG_MAKE_SET AC_PROG_MAKE_SET
AC_PROG_INSTALL AC_PROG_INSTALL
AC_PROG_RANLIB AC_PROG_RANLIB
AC_PROG_LN_S AC_PROG_LN_S
PKG_PROG_PKG_CONFIG PKG_PROG_PKG_CONFIG
m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
dnl NLS Support dnl NLS Support
AM_GNU_GETTEXT(external) AM_GNU_GETTEXT(external)
AM_GNU_GETTEXT_VERSION([0.19.8]) AM_GNU_GETTEXT_VERSION([0.19.8])
skipping to change at line 553 skipping to change at line 552
dnl dnl
dnl Warnings dnl Warnings
dnl dnl
CFLAGS="-Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes $CFLAG S" CFLAGS="-Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes $CFLAG S"
CFLAGS="-Wnested-externs -Wcast-align $CFLAGS" CFLAGS="-Wnested-externs -Wcast-align $CFLAGS"
dnl some combinations of gcc+glibc produce useless warnings on memset dnl some combinations of gcc+glibc produce useless warnings on memset
dnl when compiling with -Wpointer-arith, so we check for this first dnl when compiling with -Wpointer-arith, so we check for this first
AC_MSG_CHECKING(for sane -Wpointer-arith) AC_MSG_CHECKING(for sane -Wpointer-arith)
SAVE_CFLAGS="$CFLAGS" SAVE_CFLAGS="$CFLAGS"
CFLAGS="-O2 -Wpointer-arith -Werror $CFLAGS" CFLAGS="-O2 -Wpointer-arith -Werror $CFLAGS"
AC_TRY_COMPILE([#include <string.h>],[int a; memset(&a, 0, sizeof(int));], AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <string.h>]],
[AC_MSG_RESULT(yes); CFLAGS="-Wpointer-arith $SAVE_CFLAGS"], [[int a; memset(&a, 0, sizeof(int));]])],
[AC_MSG_RESULT(no); CFLAGS="$SAVE_CFLAGS"]); [AC_MSG_RESULT(yes); CFLAGS="-Wpointer-arith $SAVE_CFLAGS"
],
[AC_MSG_RESULT(no); CFLAGS="$SAVE_CFLAGS"]);
fi fi
dnl Flags not supported by all *cc* variants dnl Flags not supported by all *cc* variants
AC_TRY_CFLAGS("-Wall", wall="-Wall", wall="") AC_TRY_CFLAGS("-Wall", wall="-Wall", wall="")
AC_TRY_CFLAGS("-fstrict-aliasing", falias="-fstrict-aliasing", falias="") AC_TRY_CFLAGS("-fstrict-aliasing", falias="-fstrict-aliasing", falias="")
CFLAGS="$wall $falias -D_FILE_OFFSET_BITS=64 $CFLAGS" CFLAGS="$wall $falias -D_FILE_OFFSET_BITS=64 $CFLAGS"
AC_ARG_ENABLE([debug], AC_ARG_ENABLE([debug],
AS_HELP_STRING([--enable-debug], [Compile with debug information])) AS_HELP_STRING([--enable-debug], [Compile with debug information]))
LIBEXECINFO=""
if test "x$enable_debug" = "xyes"; then if test "x$enable_debug" = "xyes"; then
CFLAGS="$CFLAGS -DDEBUG -g" CFLAGS="$CFLAGS -DDEBUG -g"
AC_CHECK_LIB(execinfo, backtrace, LIBEXECINFO="-lexecinfo",)
else else
CFLAGS="$CFLAGS -DNDEBUG" CFLAGS="$CFLAGS -DNDEBUG"
fi fi
AC_SUBST(LIBEXECINFO)
AC_ARG_ENABLE([optlevel], [AS_HELP_STRING([--enable-optlevel=0|1|2|3|s], [Optimi ze this much, default 3.])]) AC_ARG_ENABLE([optlevel], [AS_HELP_STRING([--enable-optlevel=0|1|2|3|s], [Optimi ze this much, default 3.])])
test x"$enable_optlevel" = x"yes" && enable_optlevel=3 test x"$enable_optlevel" = x"yes" && enable_optlevel=3
test x"$enable_optlevel" = x"" && enable_optlevel=3 test x"$enable_optlevel" = x"" && enable_optlevel=3
test x"$enable_optlevel" = x"no" && enable_optlevel=0 test x"$enable_optlevel" = x"no" && enable_optlevel=0
test x"$enable_optlevel" = x"0" || CFLAGS="$CFLAGS -O$enable_optlevel" test x"$enable_optlevel" = x"0" || CFLAGS="$CFLAGS -O$enable_optlevel"
AC_SUBST(CFLAGS) AC_SUBST(CFLAGS)
AC_MSG_CHECKING([whether gcc supports __attribute ((target ("inline-all-stringop s")))]) AC_MSG_CHECKING([whether gcc supports __attribute ((target ("inline-all-stringop s")))])
skipping to change at line 594 skipping to change at line 597
#include <sys/types.h> #include <sys/types.h>
size_t my_strlen (const char *s) __attribute__ ((__target__ ("inline-all-stringo ps"))); size_t my_strlen (const char *s) __attribute__ ((__target__ ("inline-all-stringo ps")));
size_t my_strlen (const char *s) { size_t my_strlen (const char *s) {
return strlen (s); return strlen (s);
} }
], [ ], [
int n = my_strlen ("what"); int n = my_strlen ("what");
])], [have_attr_iaso=yes], [have_attr_iaso=no]) ])], [have_attr_iaso=yes], [have_attr_iaso=no])
AC_MSG_RESULT([$have_attr_iaso]) AC_MSG_RESULT([$have_attr_iaso])
if test x"$have_attr_iaso" = x"yes" ; then if test x"$have_attr_iaso" = x"yes" ; then
AC_DEFINE([ATTR_INLINE_ALL_STRINGOPS], AC_DEFINE([ATTR_INLINE_ALL_STRINGOPS], [__attribute__ ((__target__ ("inline-
[__attribute__ ((__target__ ("inline-all-stringops")))], all-stringops")))],
[Define this to a function attribute that inlines string handling code])
else
AC_DEFINE([ATTR_INLINE_ALL_STRINGOPS], [],
[Define this to a function attribute that inlines string handling code]) [Define this to a function attribute that inlines string handling code])
fi fi
AC_ARG_ENABLE([asan], AC_ARG_ENABLE([asan],
[AS_HELP_STRING([--enable-asan], [Compile with address sanitizer])]) [AS_HELP_STRING([--enable-asan], [Compile with address sanitizer])])
AC_ARG_ENABLE([tsan],
[AS_HELP_STRING([--enable-tsan], [Compile with thread sanitizer])])
AC_ARG_ENABLE([lto], AC_ARG_ENABLE([lto],
[AS_HELP_STRING([--enable-lto], [Enable link-time optimization])]) [AS_HELP_STRING([--enable-lto], [Enable link-time optimization])])
AC_ARG_ENABLE([extra-warnings], AC_ARG_ENABLE([extra-warnings],
[AS_HELP_STRING([--enable-extra-warnings], [build with extra warnings enabled] )]) [AS_HELP_STRING([--enable-extra-warnings], [build with extra warnings enabled] )])
if test "x$enable_tsan" = "xyes" && test "x$enable_asan" = "xyes"; then
AC_MSG_ERROR([Both asan and tsan can't be enabled at the same time.])
fi
dnl gcc __attribute__ ((aligned ())) dnl gcc __attribute__ ((aligned ()))
AC_C_ATTRIBUTE_ALIGNED AC_C_ATTRIBUTE_ALIGNED
dnl dnl
dnl system function checks (defined _GNU_SOURCE) dnl system function checks (defined _GNU_SOURCE)
dnl dnl
AC_DEFINE([_GNU_SOURCE], [], [enable GNU libc extension]) AC_DEFINE([_GNU_SOURCE], [], [enable GNU libc extension])
AC_CHECK_LIB(posix4, nanosleep) AC_CHECK_LIB(posix4, nanosleep)
AC_CHECK_FUNCS([nanosleep]) AC_CHECK_FUNCS([nanosleep])
AC_REPLACE_FUNCS([getline getsubopt strlcat strlcpy strndup strsep]) AC_REPLACE_FUNCS([getline getsubopt strlcpy strndup strsep])
AC_CHECK_HEADERS(string.h strings.h linux/kd.h execinfo.h) AC_CHECK_HEADERS(string.h strings.h linux/kd.h execinfo.h)
AC_CHECK_HEADERS(sys/utsname.h) AC_CHECK_HEADERS(sys/utsname.h)
dnl dnl
dnl Check for clock_gettime() in librt dnl Check for clock_gettime() in librt
dnl dnl
AC_MSG_CHECKING(whether librt is needed) AC_MSG_CHECKING(whether librt is needed)
AC_TRY_COMPILE( AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>
[#include <unistd.h> #include <sys/time.h>]],
#include <sys/time.h>], [[#if _POSIX_TIMERS > 0
[#if _POSIX_TIMERS > 0 struct timespec ts;
struct timespec ts; clock_gettime(CLOCK_REALTIME, &ts);
clock_gettime(CLOCK_REALTIME, &ts); #endif]])],
#endif], [AC_MSG_RESULT(no); RT_LIBS=""],
[AC_MSG_RESULT(no); RT_LIBS=""], [AC_MSG_RESULT(yes); RT_LIBS="-lrt"]);
[AC_MSG_RESULT(yes); RT_LIBS="-lrt"]);
AC_SUBST(RT_LIBS) AC_SUBST(RT_LIBS)
dnl dnl
dnl Check for GNU getopt_long() dnl Check for GNU getopt_long()
dnl dnl
AC_MSG_CHECKING(for GNU getopt_long) AC_MSG_CHECKING(for GNU getopt_long)
AC_TRY_RUN([ AC_TRY_RUN([
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <getopt.h> #include <getopt.h>
skipping to change at line 795 skipping to change at line 805
AC_TRY_CFLAGS("-Wextra", extraflags="$extraflags -Wextra") AC_TRY_CFLAGS("-Wextra", extraflags="$extraflags -Wextra")
dnl AC_TRY_CFLAGS("-Wpedantic", extraflags="$extraflags -Wpedanti c") dnl AC_TRY_CFLAGS("-Wpedantic", extraflags="$extraflags -Wpedanti c")
AC_TRY_CFLAGS("-Wsign-compare", extraflags="$extraflags -Wsign-compar e") AC_TRY_CFLAGS("-Wsign-compare", extraflags="$extraflags -Wsign-compar e")
AC_TRY_CFLAGS("-Wno-unused-parameter", extraflags="$extraflags -Wno-unused-p arameter") AC_TRY_CFLAGS("-Wno-unused-parameter", extraflags="$extraflags -Wno-unused-p arameter")
CFLAGS="$CFLAGS $extraflags" CFLAGS="$CFLAGS $extraflags"
fi fi
if test "x$enable_asan" = "xyes"; then if test "x$enable_asan" = "xyes"; then
CFLAGS="$CFLAGS -fsanitize=address -no-pie -fno-omit-frame-pointer" CFLAGS="$CFLAGS -fsanitize=address -no-pie -fno-omit-frame-pointer"
fi fi
if test "x$enable_tsan" = "xyes"; then
CFLAGS="$CFLAGS -fsanitize=thread -fno-omit-frame-pointer"
fi
if test "x$enable_lto" = "xyes"; then if test "x$enable_lto" = "xyes"; then
CFLAGS="$CFLAGS -flto" CFLAGS="$CFLAGS -flto"
fi fi
dnl dnl
dnl It seems automake 1.5 don't take care about this script dnl It seems automake 1.5 don't take care about this script
dnl dnl
if test ! -z "$am_depcomp"; then if test ! -z "$am_depcomp"; then
DEPCOMP="depcomp" DEPCOMP="depcomp"
fi fi
skipping to change at line 845 skipping to change at line 858
doc/Makefile doc/Makefile
doc/man/Makefile doc/man/Makefile
doc/man/de/Makefile doc/man/de/Makefile
doc/man/de/xine.1 doc/man/de/xine.1
doc/man/de/aaxine.1 doc/man/de/aaxine.1
doc/man/de/xine-check.1 doc/man/de/xine-check.1
doc/man/en/Makefile doc/man/en/Makefile
doc/man/en/xine.1 doc/man/en/xine.1
doc/man/en/aaxine.1 doc/man/en/aaxine.1
doc/man/en/xine-check.1 doc/man/en/xine-check.1
doc/man/fr/Makefile
doc/man/fr/xine.1
doc/man/es/Makefile doc/man/es/Makefile
doc/man/es/xine.1 doc/man/es/xine.1
doc/man/es/aaxine.1 doc/man/es/aaxine.1
doc/man/es/xine-check.1 doc/man/es/xine-check.1
doc/man/fr/Makefile
doc/man/fr/xine.1
doc/man/nl/Makefile
doc/man/nl/xine.1
doc/man/nl/aaxine.1
doc/man/nl/xine-check.1
doc/man/pl/Makefile doc/man/pl/Makefile
doc/man/pl/xine.1 doc/man/pl/xine.1
doc/man/pl/aaxine.1 doc/man/pl/aaxine.1
misc/Makefile misc/Makefile
misc/build_rpms.sh misc/build_rpms.sh
misc/SlackBuild misc/SlackBuild
misc/xine-ui.spec misc/xine-ui.spec
misc/desktops/Makefile misc/desktops/Makefile
po/Makefile.in po/Makefile.in
]) ])
 End of changes. 17 change blocks. 
22 lines changed or deleted 41 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)