569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
|
AC_MSG_CHECKING(for atomic operations)
AS_IF([test x"$atomic_ops" != x"none"], [
AC_DEFINE(OF_HAVE_ATOMIC_OPS, 1, [Whether we have atomic operations])
AC_SUBST(ATOMIC_H, "atomic.h")
])
AC_MSG_RESULT($atomic_ops)
AC_CHECK_FUNCS([gmtime_r localtime_r nanosleep])
AC_CHECK_HEADERS([pwd.h grp.h])
AC_CHECK_FUNC(chmod, [
AC_DEFINE(OF_HAVE_CHMOD, 1, [Whether we have chmod()])
])
AC_CHECK_FUNC(chown, [
AC_DEFINE(OF_HAVE_CHOWN, 1, [Whether we have chown()])
|
|
|
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
|
AC_MSG_CHECKING(for atomic operations)
AS_IF([test x"$atomic_ops" != x"none"], [
AC_DEFINE(OF_HAVE_ATOMIC_OPS, 1, [Whether we have atomic operations])
AC_SUBST(ATOMIC_H, "atomic.h")
])
AC_MSG_RESULT($atomic_ops)
AC_CHECK_FUNCS([sysconf gmtime_r localtime_r nanosleep])
AC_CHECK_HEADERS([pwd.h grp.h])
AC_CHECK_FUNC(chmod, [
AC_DEFINE(OF_HAVE_CHMOD, 1, [Whether we have chmod()])
])
AC_CHECK_FUNC(chown, [
AC_DEFINE(OF_HAVE_CHOWN, 1, [Whether we have chown()])
|