mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
build: Make sure AC_INCLUDES_DEFAULT is used.
Without using AC_INCLUDES_DEFAULT explicitly, certain platforms will complain that the header was found, but not usable by the compiler. This happens for instance on Solaris where certain headers are needed to pull in proper defines. https://bugzilla.gnome.org/show_bug.cgi?id=667307 Conflicts: configure.ac
This commit is contained in:
parent
97d2de4ce9
commit
afc8ce3fd5
1 changed files with 3 additions and 3 deletions
|
@ -186,11 +186,11 @@ AM_CONDITIONAL(HAVE_LIBXML_HTML, test "x$HAVE_LIBXML_HTML" = "xyes")
|
|||
|
||||
dnl used in gst/tcp
|
||||
AC_CHECK_HEADERS([sys/socket.h],
|
||||
HAVE_SYS_SOCKET_H="yes", HAVE_SYS_SOCKET_H="no")
|
||||
[HAVE_SYS_SOCKET_H="yes"], [HAVE_SYS_SOCKET_H="no"], [AC_INCLUDES_DEFAULT])
|
||||
AM_CONDITIONAL(HAVE_SYS_SOCKET_H, test "x$HAVE_SYS_SOCKET_H" = "xyes")
|
||||
|
||||
dnl used in gst-libs/gst/pbutils and associated unit test
|
||||
AC_CHECK_HEADERS([process.h sys/types.h sys/wait.h sys/stat.h])
|
||||
AC_CHECK_HEADERS([process.h sys/types.h sys/wait.h sys/stat.h], [], [], [AC_INCLUDES_DEFAULT])
|
||||
|
||||
dnl also, Windows does not have long long
|
||||
AX_CREATE_STDINT_H
|
||||
|
@ -490,7 +490,7 @@ AG_GST_CHECK_FEATURE(X, [X libraries and plugins],
|
|||
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
|
||||
|
||||
dnl now try to find the HEADER
|
||||
AC_CHECK_HEADER(X11/Xlib.h, HAVE_X="yes", HAVE_X="no")
|
||||
AC_CHECK_HEADER([X11/Xlib.h], [HAVE_X="yes"], [HAVE_X="no"], [AC_INCLUDES_DEFAULT])
|
||||
|
||||
if test "x$HAVE_X" = "xno"
|
||||
then
|
||||
|
|
Loading…
Reference in a new issue