diff options
author | František Dvořák <valtri@users.sourceforge.net> | 2006-10-02 15:56:03 +0000 |
---|---|---|
committer | František Dvořák <valtri@users.sourceforge.net> | 2006-10-02 15:56:03 +0000 |
commit | e1f238b9b1cccad4627be4716320e767b621289d (patch) | |
tree | 7aaa4538c811dce87fcc4908dc5fef268fa207e9 /configure.ac | |
parent | 6822d8e82afac62170ddb7e88f4fb26c2adbb3a6 (diff) | |
download | xine-lib-e1f238b9b1cccad4627be4716320e767b621289d.tar.gz xine-lib-e1f238b9b1cccad4627be4716320e767b621289d.tar.bz2 |
build cdio for builddir != .
update for attic platforms (mainly older MinGW)
unsupported attributes not used (fixes warnings)
added check for sentinel attribute
enabled TrueSpeech codec
CVS patchset: 8327
CVS date: 2006/10/02 15:56:03
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 3ff1df316..84e2a48a7 100644 --- a/configure.ac +++ b/configure.ac @@ -1662,7 +1662,6 @@ if test x"$enable_vcd" = "xyes"; then dnl check twice, fallback is internal copy if test x"$internal_vcdnav" = "xyes"; then AC_DEFINE_UNQUOTED(HOST_ARCH, "$host_os/$host_cpu", [host os/cpu identifier]) - AC_CHECK_FUNCS(snprintf vsnprintf, , [AC_MSG_ERROR(required function not found)]) AC_DEFINE(_DEVELOPMENT_, [], enable warnings about being development release) AC_DEFINE(_GNU_SOURCE, [], enable GNU libc extension) @@ -1969,7 +1968,17 @@ dnl --------------------------------------------- AC_SYS_LARGEFILE AC_CHECK_LIB(posix4, sched_get_priority_min) -AC_CHECK_FUNCS([_vsnprintf _snprintf _stricmp _strnicmp vsscanf sigaction sigset getpwuid_r nanosleep lstat memset readlink strchr strcasecmp strncasecmp]) +AC_CHECK_FUNCS([vsscanf sigaction sigset getpwuid_r nanosleep lstat memset readlink strchr va_copy]) +AC_CHECK_FUNCS([_snprintf snprintf], [some_snprintf="yes"]) +AC_CHECK_FUNCS([_vsnprintf vsnprintf], [some_vsnprintf="yes"]) +AC_CHECK_FUNCS([_stricmp strcasecmp], [some_strcasecmp="yes"]) +AC_CHECK_FUNCS([_strnicmp strncasecmp], [some_strncasecmp="yes"]) +if test "x$some_snprintf" != "xyes" -o \ + "x$some_vsnprintf" != "xyes" -o \ + "x$some_strcasecmp" != "xyes" -o \ + "x$some_strncasecmp" != "xyes"; then + AC_MSG_ERROR([required function not found]) +fi AC_FUNC_FSEEKO AC_DEFINE(_GNU_SOURCE) AC_CHECK_HEADERS(assert.h byteswap.h malloc.h execinfo.h ucontext.h sys/mman.h sys/mixer.h libgen.h netdb.h dirent.h sys/times.h sys/ioctl.h sys/param.h) @@ -2028,6 +2037,8 @@ CC_FLAG_VISIBILITY([ AC_SUBST([VISIBILITY_FLAG]) +CC_ATTRIBUTE_SENTINEL + dnl Common cflags for all platforms CFLAGS="-DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE \$(MULTIPASS_CFLAGS) $CFLAGS" DEBUG_CFLAGS="-D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE $DEBUG_CFLAGS" |