Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
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
Иван Мажукин
mpd
Commits
8459f273
Commit
8459f273
authored
Dec 10, 2011
by
Avuton Olrich
Committed by
Max Kellermann
Dec 12, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure.ac: AC_HAVE_LIBRARY has been depreciated, move to AC_CHECK_LIB
parent
7dfbdef5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
configure.ac
configure.ac
+4
-5
No files found.
configure.ac
View file @
8459f273
...
@@ -1000,19 +1000,18 @@ MPD_AUTO_PRE(sidplay, [sidplay decoder plugin], [No C++ compiler found])
...
@@ -1000,19 +1000,18 @@ MPD_AUTO_PRE(sidplay, [sidplay decoder plugin], [No C++ compiler found])
if test x$enable_sidplay != xno; then
if test x$enable_sidplay != xno; then
# we're not using pkg-config here
# we're not using pkg-config here
# because libsidplay2's .pc file requires libtool
# because libsidplay2's .pc file requires libtool
AC_HAVE_LIBRARY(sidplay2, [found_sidplay=yes], [found_sidplay=no])
AC_CHECK_LIB([sidplay2],[main],[found_sidplay=yes],[found_sidplay=no],[])
MPD_AUTO_PRE(sidplay, [sidplay decoder plugin],
MPD_AUTO_PRE(sidplay, [sidplay decoder plugin],
[libsidplay2 not found])
[libsidplay2 not found])
fi
fi
if test x$enable_sidplay != xno; then
if test x$enable_sidplay != xno; then
# can't use AC_HAVE_LIBRARY here, because the dash in the
AC_CHECK_LIB([resid-builder], [main],
# library name triggers an autoconf bug
AC_CHECK_LIB(resid-builder, main,
[found_sidplay=yes], [found_sidplay=no])
[found_sidplay=yes], [found_sidplay=no])
if test x$found_sidplay = xyes; then
if test x$found_sidplay = xyes; then
AC_
HAVE_LIBRARY(sidutils,, [found_sidplay=no
])
AC_
CHECK_LIB([sidutils],[main],[],[found_sidplay=no],[
])
fi
fi
MPD_AUTO_RESULT(sidplay, [sidplay decoder plugin],
MPD_AUTO_RESULT(sidplay, [sidplay decoder plugin],
...
...
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