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
Zsolt Vadász
wine
Commits
7bf8d057
Commit
7bf8d057
authored
15 years ago
by
Alexandre Julliard
Browse files
Options
Downloads
Patches
Plain Diff
configure: Check for mpg123_feed function since we require it.
parent
06064d22
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
configure
+12
-12
12 additions, 12 deletions
configure
configure.ac
+2
-2
2 additions, 2 deletions
configure.ac
with
14 additions
and
14 deletions
configure
+
12
−
12
View file @
7bf8d057
...
@@ -11273,9 +11273,9 @@ fi
...
@@ -11273,9 +11273,9 @@ fi
if test "$ac_cv_header_mpg123_h" = "yes"
if test "$ac_cv_header_mpg123_h" = "yes"
then
then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_
init
in -lmpg123" >&5
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_
feed
in -lmpg123" >&5
$as_echo_n "checking for mpg123_
init
in -lmpg123... " >&6; }
$as_echo_n "checking for mpg123_
feed
in -lmpg123... " >&6; }
if test "${ac_cv_lib_mpg123_mpg123_
init
+set}" = set; then :
if test "${ac_cv_lib_mpg123_mpg123_
feed
+set}" = set; then :
$as_echo_n "(cached) " >&6
$as_echo_n "(cached) " >&6
else
else
ac_check_lib_save_LIBS=$LIBS
ac_check_lib_save_LIBS=$LIBS
...
@@ -11289,27 +11289,27 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
...
@@ -11289,27 +11289,27 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
#ifdef __cplusplus
#ifdef __cplusplus
extern "C"
extern "C"
#endif
#endif
char mpg123_
init
();
char mpg123_
feed
();
int
int
main ()
main ()
{
{
return mpg123_
init
();
return mpg123_
feed
();
;
;
return 0;
return 0;
}
}
_ACEOF
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_mpg123_mpg123_
init
=yes
ac_cv_lib_mpg123_mpg123_
feed
=yes
else
else
ac_cv_lib_mpg123_mpg123_
init
=no
ac_cv_lib_mpg123_mpg123_
feed
=no
fi
fi
rm -f core conftest.err conftest.$ac_objext \
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
LIBS=$ac_check_lib_save_LIBS
fi
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_
init
" >&5
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_
feed
" >&5
$as_echo "$ac_cv_lib_mpg123_mpg123_
init
" >&6; }
$as_echo "$ac_cv_lib_mpg123_mpg123_
feed
" >&6; }
if test "x$ac_cv_lib_mpg123_mpg123_
init
" = x""yes; then :
if test "x$ac_cv_lib_mpg123_mpg123_
feed
" = x""yes; then :
LIBMPG123="-lmpg123"
LIBMPG123="-lmpg123"
fi
fi
...
@@ -11317,9 +11317,9 @@ fi
...
@@ -11317,9 +11317,9 @@ fi
fi
fi
if test "x$ac_cv_lib_mpg123_mpg123_init" != xyes; then :
if test "x$ac_cv_lib_mpg123_mpg123_init" != xyes; then :
case "x$with_mpg123" in
case "x$with_mpg123" in
x) wine_notices="$wine_notices|libmpg123 ${notice_platform}development files not found, mp3 codec won't be supported." ;;
x) wine_notices="$wine_notices|libmpg123 ${notice_platform}development files not found
(or too old)
, mp3 codec won't be supported." ;;
xno) ;;
xno) ;;
*) as_fn_error "libmpg123 ${notice_platform}development files not found, mp3 codec won't be supported.
*) as_fn_error "libmpg123 ${notice_platform}development files not found
(or too old)
, mp3 codec won't be supported.
This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
esac
esac
fi
fi
...
...
This diff is collapsed.
Click to expand it.
configure.ac
+
2
−
2
View file @
7bf8d057
...
@@ -1411,10 +1411,10 @@ WINE_WARNING_WITH(png,[test "x$ac_cv_lib_soname_png" = "x"],
...
@@ -1411,10 +1411,10 @@ WINE_WARNING_WITH(png,[test "x$ac_cv_lib_soname_png" = "x"],
dnl **** Check for mpg123 ****
dnl **** Check for mpg123 ****
if test "$ac_cv_header_mpg123_h" = "yes"
if test "$ac_cv_header_mpg123_h" = "yes"
then
then
AC_CHECK_LIB(mpg123,mpg123_
init
,[AC_SUBST(LIBMPG123,"-lmpg123")])
AC_CHECK_LIB(mpg123,mpg123_
feed
,[AC_SUBST(LIBMPG123,"-lmpg123")])
fi
fi
WINE_NOTICE_WITH(mpg123,[test "x$ac_cv_lib_mpg123_mpg123_init" != xyes],
WINE_NOTICE_WITH(mpg123,[test "x$ac_cv_lib_mpg123_mpg123_init" != xyes],
[libmpg123 ${notice_platform}development files not found, mp3 codec won't be supported.])
[libmpg123 ${notice_platform}development files not found
(or too old)
, mp3 codec won't be supported.])
test "x$ac_cv_lib_mpg123_mpg123_init" = xyes || enable_winemp3_acm=${enable_winemp3_acm:-no}
test "x$ac_cv_lib_mpg123_mpg123_init" = xyes || enable_winemp3_acm=${enable_winemp3_acm:-no}
dnl **** Check for libkstat ****
dnl **** Check for libkstat ****
...
...
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