mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 07:05:57 -05:00
Fixed -lpthread thing
This commit is contained in:
parent
c2b27f1836
commit
0a28e1feda
@ -20,6 +20,7 @@ STATIC_LIBS=no
|
|||||||
CPPFLAGS="${CPPFLAGS} -g"
|
CPPFLAGS="${CPPFLAGS} -g"
|
||||||
|
|
||||||
AC_CHECK_LIB(z,compress,LDFLAGS="$LDFLAGS -lz",echo "Must have zlib";exit)
|
AC_CHECK_LIB(z,compress,LDFLAGS="$LDFLAGS -lz",echo "Must have zlib";exit)
|
||||||
|
AC_CHECK_LIB(pthread,pthread_create,LDFLAGS="$LDFLAGS -lpthread")
|
||||||
|
|
||||||
AC_ARG_ENABLE(debug,[ --enable-debug Enable debugging features],
|
AC_ARG_ENABLE(debug,[ --enable-debug Enable debugging features],
|
||||||
CPPFLAGS="${CPPFLAGS} -Wall")
|
CPPFLAGS="${CPPFLAGS} -Wall")
|
||||||
@ -85,8 +86,6 @@ case $host in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
dnl Checks for libraries.
|
dnl Checks for libraries.
|
||||||
AC_CHECK_LIB(pthread,pthread_create,LDFLAGS="$LDFLAGS -lpthread")
|
|
||||||
|
|
||||||
AC_ARG_WITH(static-libs,
|
AC_ARG_WITH(static-libs,
|
||||||
[--with-static-libs[[=DIR]] use static libs in DIR],[
|
[--with-static-libs[[=DIR]] use static libs in DIR],[
|
||||||
if test "$withval" != "no" -a "$withval" != "yes"; then
|
if test "$withval" != "no" -a "$withval" != "yes"; then
|
||||||
|
Loading…
Reference in New Issue
Block a user