X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=configure.ac;h=36e9840fd1b2fd1837785c2f1501f6959e1e0b2d;hb=cd48da60b55fbc701ed2387cadd1829799875559;hp=c4ef5c383cc03137c67e85ade7ab495e812f7e3a;hpb=7336ff446d319598ea3826430500e1f1c8e759d7;p=vlc diff --git a/configure.ac b/configure.ac index c4ef5c383c..36e9840fd1 100644 --- a/configure.ac +++ b/configure.ac @@ -559,6 +559,8 @@ AC_PREPROC_IFELSE([ work-around for this. Check with your distribution vendor on how to update the glibc run-time. Alternatively, build with --disable-nls --disable-mozilla and be sure to not use LibVLC from other applications/wrappers.]) + ], [ + AC_DEFINE(DISABLE_BUGGY_GLIBC_CHECK, 1, [Disables runtime check for buggy glibc.]) ]) ]) @@ -578,6 +580,9 @@ AC_FUNC_ALLOCA AC_CHECK_FUNCS(fcntl) AC_REPLACE_FUNCS([asprintf atof atoll gmtime_r lldiv localtime_r rewind strcasecmp strcasestr strdup strlcpy strncasecmp strndup strnlen strsep strtof strtoll vasprintf swab]) AC_CHECK_FUNCS([stricmp strnicmp]) +AC_CHECK_FUNCS(fdatasync,, + [AC_DEFINE(fdatasync, fsync, [Alias fdatasync() to fsync() if missing.]) +]) dnl Check for Linux system calls AC_CHECK_FUNCS([vmsplice]) @@ -4705,10 +4710,10 @@ if test "${enable_oss}" != "no" && (test "${SYS}" != "mingw32" -a "${SYS}" != "mingwce" || test "${enable_oss}" = "yes") then - AC_CHECK_HEADERS(soundcard.h sys/soundcard.h machine/soundcard.h, [ + AC_CHECK_HEADERS([soundcard.h sys/soundcard.h], [ VLC_ADD_PLUGIN([oss]) VLC_ADD_PLUGIN([access_oss]) - AC_CHECK_LIB(ossaudio,main,VLC_ADD_LIBS([oss],[-lossaudio])) + AC_CHECK_LIB(ossaudio,main,[VLC_ADD_LIBS([oss],[-lossaudio])]) ]) fi