Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
de417974
Commit
de417974
authored
Oct 29, 2010
by
Andrew Nguyen
Committed by
Alexandre Julliard
Oct 29, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Check for GStreamer functionality present in 0.10.26.
parent
b10fb86a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
48 additions
and
2 deletions
+48
-2
configure
configure
+44
-0
configure.ac
configure.ac
+4
-2
No files found.
configure
View file @
de417974
...
...
@@ -10501,8 +10501,47 @@ then
done
ac_gst_libs
=
"
`
$PKG_CONFIG
--libs
gstreamer-app-0.10 2>/dev/null
`
"
CPPFLAGS
=
"
$CPPFLAGS
$ac_gst_incl
"
ac_fn_c_check_header_mongrel
"
$LINENO
"
"gst/gstpad.h"
"ac_cv_header_gst_gstpad_h"
"
$ac_includes_default
"
if
test
"x
$ac_cv_header_gst_gstpad_h
"
=
x
""
yes
;
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
"
=
x
""
yes
;
then
:
{
$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
test
"
${
ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
+set
}
"
=
set
;
then
:
$as_echo_n
"(cached) "
>
&6
else
ac_check_lib_save_LIBS
=
$LIBS
LIBS
=
"-lgstreamer-0.10
$LIBS
"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char gst_pad_get_caps_reffed ();
int
main ()
{
return gst_pad_get_caps_reffed ();
;
return 0;
}
_ACEOF
if
ac_fn_c_try_link
"
$LINENO
"
;
then
:
ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=
yes
else
ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=
no
fi
rm
-f
core conftest.err conftest.
$ac_objext
\
conftest
$ac_exeext
conftest.
$ac_ext
LIBS
=
$ac_check_lib_save_LIBS
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
"
>
&5
$as_echo
"
$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
"
>
&6
;
}
if
test
"x
$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
"
=
x
""
yes
;
then
:
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for gst_app_buffer_new in -lgstapp-0.10"
>
&5
$as_echo_n
"checking for gst_app_buffer_new in -lgstapp-0.10... "
>
&6
;
}
if
test
"
${
ac_cv_lib_gstapp_0_10_gst_app_buffer_new
+set
}
"
=
set
;
then
:
...
...
@@ -10548,6 +10587,11 @@ fi
fi
fi
fi
fi
CPPFLAGS
=
"
$ac_save_CPPFLAGS
"
...
...
configure.ac
View file @
de417974
...
...
@@ -1418,10 +1418,12 @@ then
done
ac_gst_libs="`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`"
CPPFLAGS="$CPPFLAGS $ac_gst_incl"
AC_CHECK_HEADER([gst/app/gstappsink.h],
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_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])])
])])
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