/* Define to 1 if you have the <dlfcn.h> header file. */
#mesondefine HAVE_DLFCN_H
-/* Define to 1 if you have the `fgetpos' function. */
-#mesondefine HAVE_FGETPOS
-
/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
#mesondefine HAVE_FSEEKO
-/* Define to 1 if you have the `fsetpos' function. */
-#mesondefine HAVE_FSETPOS
-
/* Define to 1 if you have the `ftello' function. */
#mesondefine HAVE_FTELLO
/* Define to 1 if you have the <poll.h> header file. */
#mesondefine HAVE_POLL_H
-/* Define to 1 if you have the `posix_memalign' function. */
-#mesondefine HAVE_POSIX_MEMALIGN
-
/* Have posix timers */
#mesondefine HAVE_POSIX_TIMERS
[broken_poll="no (cross compiling)"])
AC_MSG_RESULT($broken_poll)
-dnl check for mmap()
-AC_FUNC_MMAP
-AM_CONDITIONAL(HAVE_MMAP, test "x$ac_cv_func_mmap_fixed_mapped" = "xyes")
-
-dnl check for posix_memalign(), getpagesize()
-AC_CHECK_FUNCS([posix_memalign])
+dnl check for getpagesize()
AC_CHECK_FUNCS([getpagesize])
dnl Check for POSIX timers
'getrusage',
'fseeko',
'ftello',
- 'fsetpos',
- 'fgetpos',
'poll',
'pselect',
'getpagesize',
endif
endforeach
-cdata.set('HAVE_MMAP', 1)
if cc.has_function('localtime_r', prefix : '#include<time.h>')
cdata.set('HAVE_LOCALTIME_R', 1)
# Needed by libcheck
cdata.set('HAVE_DECL_LOCALTIME_R', 1)
endif
-if cc.has_function('posix_memalign', prefix : '#include<stdlib.h>')
- cdata.set('HAVE_POSIX_MEMALIGN', 1)
-endif
-
# We only want to use the __declspec(dllexport/import) dance in GST_EXPORT when
# building with MSVC
if cc.get_id() == 'msvc'