Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
b113af1b
Commit
b113af1b
authored
Aug 03, 2011
by
Octavian Voicu
Committed by
Alexandre Julliard
Aug 03, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Disable gstreamer support if headers are not compatible with build environment.
parent
41cff161
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
2 deletions
+28
-2
configure
configure
+21
-0
configure.ac
configure.ac
+7
-2
No files found.
configure
View file @
b113af1b
...
...
@@ -10527,6 +10527,22 @@ then
if
test
"x
$ac_cv_header_gst_gstpad_h
"
=
xyes
;
then
:
ac_fn_c_check_header_mongrel
"
$LINENO
"
"gst/app/gstappsink.h"
"ac_cv_header_gst_app_gstappsink_h"
"
$ac_includes_default
"
if
test
"x
$ac_cv_header_gst_app_gstappsink_h
"
=
xyes
;
then
:
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit"
>
&5
$as_echo_n
"checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... "
>
&6
;
}
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
#include <gst/app/gstappsink.h>
int
main ()
{
int a[sizeof(gint64) > 4 ? 1 : -1]
;
return 0;
}
_ACEOF
if
ac_fn_c_try_compile
"
$LINENO
"
;
then
:
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: yes"
>
&5
$as_echo
"yes"
>
&6
;
}
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10"
>
&5
$as_echo_n
"checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... "
>
&6
;
}
if
${
ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
+
:
}
false
;
then
:
...
...
@@ -10609,6 +10625,11 @@ fi
fi
else
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: no"
>
&5
$as_echo
"no"
>
&6
;
}
fi
rm
-f
core conftest.err conftest.
$ac_objext
conftest.
$ac_ext
fi
...
...
configure.ac
View file @
b113af1b
...
...
@@ -1456,10 +1456,15 @@ then
CPPFLAGS="$CPPFLAGS $ac_gst_incl"
AC_CHECK_HEADER([gst/gstpad.h],
[AC_CHECK_HEADER([gst/app/gstappsink.h],
[AC_CHECK_LIB(gstreamer-0.10,gst_pad_get_caps_reffed,
[AC_MSG_CHECKING([whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <gst/app/gstappsink.h>]],
[[int a[sizeof(gint64) > 4 ? 1 : -1]]])],
[AC_MSG_RESULT([yes])
AC_CHECK_LIB(gstreamer-0.10,gst_pad_get_caps_reffed,
[AC_CHECK_LIB(gstapp-0.10,gst_app_buffer_new,
[AC_SUBST(GSTREAMER_LIBS,"$ac_gst_libs")
AC_SUBST(GSTREAMER_INCL,"$ac_gst_incl")],,[$ac_gst_libs])])])])
AC_SUBST(GSTREAMER_INCL,"$ac_gst_incl")],,[$ac_gst_libs])])],
[AC_MSG_RESULT([no])])])])
fi
CPPFLAGS="$ac_save_CPPFLAGS"
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment