Only build BayLibre ACME driver if <sys/timerfd.h> is available.
This fixes bug #610 (Android build issue).
This commit is contained in:
parent
a394bd2813
commit
176c7219bb
|
@ -430,6 +430,10 @@ AM_CONDITIONAL(HAVE_CHECK, test x"$have_check" = "xyes")
|
||||||
# build it if these headers aren't available.
|
# build it if these headers aren't available.
|
||||||
AC_CHECK_HEADERS([sys/mman.h sys/ioctl.h], [], [HW_BEAGLELOGIC="no"])
|
AC_CHECK_HEADERS([sys/mman.h sys/ioctl.h], [], [HW_BEAGLELOGIC="no"])
|
||||||
|
|
||||||
|
# The BayLibre ACME driver needs sys/timerfd.h. Don't try to build it if
|
||||||
|
# this header isn't available.
|
||||||
|
AC_CHECK_HEADERS([sys/timerfd.h], [], [HW_BAYLIBRE_ACME="no"])
|
||||||
|
|
||||||
# The ACME driver can only be built for Linux.
|
# The ACME driver can only be built for Linux.
|
||||||
case "$host" in
|
case "$host" in
|
||||||
*linux*) ;;
|
*linux*) ;;
|
||||||
|
|
Loading…
Reference in New Issue