configure.ac: pass option name to MPD_OPTIONAL_FUNC()

This commit is contained in:
Max Kellermann
2013-08-07 19:23:00 +02:00
parent 355dd5cb24
commit fdc7d13ad1
2 changed files with 7 additions and 7 deletions

View File

@@ -140,8 +140,8 @@ AC_SEARCH_LIBS([socket], [socket])
AC_SEARCH_LIBS([gethostbyname], [nsl])
AC_CHECK_FUNCS(pipe2 accept4)
MPD_OPTIONAL_FUNC(eventfd, USE_EVENTFD)
MPD_OPTIONAL_FUNC(signalfd, USE_SIGNALFD)
MPD_OPTIONAL_FUNC(eventfd, eventfd, USE_EVENTFD)
MPD_OPTIONAL_FUNC(signalfd, signalfd, USE_SIGNALFD)
AC_SEARCH_LIBS([exp], [m],,
[AC_MSG_ERROR([exp() not found])])