Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexey Alyaev
wine
Commits
de417974
Commit
de417974
authored
14 years ago
by
Andrew Nguyen
Committed by
Alexandre Julliard
14 years ago
Browse files
Options
Downloads
Patches
Plain Diff
configure: Check for GStreamer functionality present in 0.10.26.
parent
b10fb86a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
configure
+46
-2
46 additions, 2 deletions
configure
configure.ac
+6
-4
6 additions, 4 deletions
configure.ac
with
52 additions
and
6 deletions
configure
+
46
−
2
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/app/gstappsink.h"
"ac_cv_header_gst_app_gstappsink_h"
"
$ac_includes_default
"
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
:
...
...
@@ -10542,10 +10581,15 @@ $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
if
test
"x
$ac_cv_lib_gstapp_0_10_gst_app_buffer_new
"
=
x
""
yes
;
then
:
GSTREAMER_LIBS
=
"
$ac_gst_libs
"
GSTREAMER_INCL
=
"
$ac_gst_incl
"
GSTREAMER_INCL
=
"
$ac_gst_incl
"
fi
fi
fi
fi
...
...
This diff is collapsed.
Click to expand it.
configure.ac
+
6
−
4
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_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_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])])])])
fi
CPPFLAGS="$ac_save_CPPFLAGS"
fi
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment