diff --git a/urjtag/ChangeLog b/urjtag/ChangeLog index 71dd2bc4..35b97789 100644 --- a/urjtag/ChangeLog +++ b/urjtag/ChangeLog @@ -3,6 +3,8 @@ * configure.ac: Unify duplicate driver logic into one macro which also allows unifying of the duplicated lists. + * configure.ac: Unify calls to AC_CHECK_FUNCS. + 2010-01-28 Mike Frysinger * src/cmd/cmd_bfin.c: Replace one-insn-a-file option with dynamic instruction diff --git a/urjtag/configure.ac b/urjtag/configure.ac index 2aec7909..6b4a39d1 100644 --- a/urjtag/configure.ac +++ b/urjtag/configure.ac @@ -110,12 +110,14 @@ else fi fi -AC_CHECK_FUNCS(swprintf) +AC_CHECK_FUNCS(m4_flatten([ + nanosleep + swprintf + usleep +])) AC_CHECK_FUNC(clock_gettime, [], [ AC_CHECK_LIB(rt, clock_gettime) ]) -AC_CHECK_FUNCS(usleep) -AC_CHECK_FUNCS(nanosleep) dnl check for sigaction with SA_ONESHOT or SA_RESETHAND AC_TRY_COMPILE([#include ], [