mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 15:45:56 -05:00
Move eventfd checks to the Linux-specific portion of configure
This commit is contained in:
parent
75fb755db7
commit
bc443752b3
@ -33,8 +33,6 @@ AC_CHECK_HEADERS([sys/wait.h])
|
|||||||
AC_CHECK_HEADERS([sys/param.h])
|
AC_CHECK_HEADERS([sys/param.h])
|
||||||
AC_CHECK_HEADERS([sys/select.h])
|
AC_CHECK_HEADERS([sys/select.h])
|
||||||
AC_CHECK_HEADERS([dirent.h])
|
AC_CHECK_HEADERS([dirent.h])
|
||||||
AC_CHECK_HEADERS([sys/eventfd.h])
|
|
||||||
AC_CHECK_FUNCS(eventfd)
|
|
||||||
AC_CHECK_FUNCS(posix_fadvise)
|
AC_CHECK_FUNCS(posix_fadvise)
|
||||||
AC_CHECK_FUNCS(strptime)
|
AC_CHECK_FUNCS(strptime)
|
||||||
AC_CHECK_FUNCS(strtok_r)
|
AC_CHECK_FUNCS(strtok_r)
|
||||||
@ -163,6 +161,9 @@ case "$host" in
|
|||||||
AC_DEFINE(LAUDIO_USE_ALSA, 1, [define if local audio output uses ALSA])
|
AC_DEFINE(LAUDIO_USE_ALSA, 1, [define if local audio output uses ALSA])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
AC_CHECK_HEADERS([sys/eventfd.h])
|
||||||
|
AC_CHECK_FUNCS(eventfd)
|
||||||
|
|
||||||
AC_CHECK_HEADER(sys/signalfd.h, , AC_MSG_ERROR([signalfd required; glibc 2.9+ recommended]))
|
AC_CHECK_HEADER(sys/signalfd.h, , AC_MSG_ERROR([signalfd required; glibc 2.9+ recommended]))
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user