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
7bf8d057
Commit
7bf8d057
authored
Aug 29, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Check for mpg123_feed function since we require it.
parent
06064d22
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
+14
-14
configure
configure
+12
-12
configure.ac
configure.ac
+2
-2
No files found.
configure
View file @
7bf8d057
...
...
@@ -11273,9 +11273,9 @@ fi
if
test
"
$ac_cv_header_mpg123_h
"
=
"yes"
then
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for mpg123_
init
in -lmpg123"
>
&5
$as_echo_n
"checking for mpg123_
init
in -lmpg123... "
>
&6
;
}
if
test
"
${
ac_cv_lib_mpg123_mpg123_
init
+set
}
"
=
set
;
then
:
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for mpg123_
feed
in -lmpg123"
>
&5
$as_echo_n
"checking for mpg123_
feed
in -lmpg123... "
>
&6
;
}
if
test
"
${
ac_cv_lib_mpg123_mpg123_
feed
+set
}
"
=
set
;
then
:
$as_echo_n
"(cached) "
>
&6
else
ac_check_lib_save_LIBS
=
$LIBS
...
...
@@ -11289,27 +11289,27 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
#ifdef __cplusplus
extern "C"
#endif
char mpg123_
init
();
char mpg123_
feed
();
int
main ()
{
return mpg123_
init
();
return mpg123_
feed
();
;
return 0;
}
_ACEOF
if
ac_fn_c_try_link
"
$LINENO
"
;
then
:
ac_cv_lib_mpg123_mpg123_
init
=
yes
ac_cv_lib_mpg123_mpg123_
feed
=
yes
else
ac_cv_lib_mpg123_mpg123_
init
=
no
ac_cv_lib_mpg123_mpg123_
feed
=
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_mpg123_mpg123_
init
"
>
&5
$as_echo
"
$ac_cv_lib_mpg123_mpg123_
init
"
>
&6
;
}
if
test
"x
$ac_cv_lib_mpg123_mpg123_
init
"
=
x
""
yes
;
then
:
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$ac_cv_lib_mpg123_mpg123_
feed
"
>
&5
$as_echo
"
$ac_cv_lib_mpg123_mpg123_
feed
"
>
&6
;
}
if
test
"x
$ac_cv_lib_mpg123_mpg123_
feed
"
=
x
""
yes
;
then
:
LIBMPG123
=
"-lmpg123"
fi
...
...
@@ -11317,9 +11317,9 @@ fi
fi
if
test
"x
$ac_cv_lib_mpg123_mpg123_init
"
!=
xyes
;
then
:
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
)
;;
*
)
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
;;
esac
fi
...
...
configure.ac
View file @
7bf8d057
...
...
@@ -1411,10 +1411,10 @@ WINE_WARNING_WITH(png,[test "x$ac_cv_lib_soname_png" = "x"],
dnl **** Check for mpg123 ****
if test "$ac_cv_header_mpg123_h" = "yes"
then
AC_CHECK_LIB(mpg123,mpg123_
init
,[AC_SUBST(LIBMPG123,"-lmpg123")])
AC_CHECK_LIB(mpg123,mpg123_
feed
,[AC_SUBST(LIBMPG123,"-lmpg123")])
fi
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}
dnl **** Check for libkstat ****
...
...
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