mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 13:21:28 +00:00
check: fix issues with 'make distcheck'
Seems to work now, at least on *nix. One of the configure checks caused these weird issues - but which one?
This commit is contained in:
parent
ecbea36d39
commit
572b213b79
3 changed files with 6 additions and 27 deletions
|
@ -29,6 +29,7 @@ include $(top_srcdir)/common/win32.mak
|
|||
|
||||
EXTRA_DIST = \
|
||||
gstreamer.spec gstreamer.spec.in \
|
||||
check-checks.m4 \
|
||||
gst-element-check.m4.in \
|
||||
configure.ac autogen.sh depcomp \
|
||||
MAINTAINERS ABOUT-NLS RELEASE gstreamer.doap \
|
||||
|
@ -36,6 +37,8 @@ EXTRA_DIST = \
|
|||
|
||||
CLEANFILES = gst-element-check-@GST_MAJORMINOR@.m4
|
||||
|
||||
DISTCLEANFILES = _stdint.h
|
||||
|
||||
include $(top_srcdir)/common/release.mak
|
||||
include $(top_srcdir)/common/po.mak
|
||||
|
||||
|
|
|
@ -15,31 +15,9 @@ AC_SUBST(CHECK_MINOR_VERSION)
|
|||
AC_SUBST(CHECK_MICRO_VERSION)
|
||||
AC_SUBST(CHECK_VERSION)
|
||||
|
||||
# Checks for programs.
|
||||
AC_PROG_AWK
|
||||
|
||||
# Checks for header files.
|
||||
AC_HEADER_STDC
|
||||
AC_HEADER_SYS_WAIT
|
||||
AC_CHECK_HEADERS_ONCE([unistd.h fcntl.h stddef.h stdint.h stdlib.h string.h sys/time.h])
|
||||
|
||||
# Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_C_CONST
|
||||
AC_TYPE_PID_T
|
||||
AC_TYPE_SIZE_T
|
||||
AC_HEADER_TIME
|
||||
AC_STRUCT_TM
|
||||
# Create _stdint.h in the top-level directory
|
||||
AX_CREATE_STDINT_H
|
||||
|
||||
AC_CHECK_SIZEOF(int, 4)
|
||||
AC_CHECK_SIZEOF(short, 2)
|
||||
AC_CHECK_SIZEOF(long, 4)
|
||||
|
||||
# Checks for library functions.
|
||||
AC_FUNC_FORK
|
||||
AC_FUNC_MALLOC
|
||||
AC_FUNC_REALLOC
|
||||
AC_FUNC_STRFTIME
|
||||
AC_FUNC_VPRINTF
|
||||
AC_CHECK_FUNCS([alarm gettimeofday localtime_r memmove memset putenv setenv strdup strerror strrchr strstr])
|
||||
AC_REPLACE_FUNCS([strsignal])
|
||||
])
|
||||
|
|
|
@ -28,9 +28,7 @@
|
|||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STDINT_H
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
#include "_stdint.h"
|
||||
|
||||
#include "check.h"
|
||||
#include "check_error.h"
|
||||
|
|
Loading…
Reference in a new issue