553 |
[ac_have_func=no # yes means we've found a way to get the load average. |
[ac_have_func=no # yes means we've found a way to get the load average. |
554 |
|
|
555 |
# Make sure getloadavg.c is where it belongs, at configure-time. |
# Make sure getloadavg.c is where it belongs, at configure-time. |
556 |
test -f "$ac_config_libobj_dir/getloadavg.c" || |
test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || |
557 |
AC_MSG_ERROR([$ac_config_libobj_dir/getloadavg.c is missing]) |
AC_MSG_ERROR([$srcdir/$ac_config_libobj_dir/getloadavg.c is missing]) |
558 |
|
|
559 |
ac_save_LIBS=$LIBS |
ac_save_LIBS=$LIBS |
560 |
|
|
600 |
AC_CACHE_CHECK(whether getloadavg requires setgid, |
AC_CACHE_CHECK(whether getloadavg requires setgid, |
601 |
ac_cv_func_getloadavg_setgid, |
ac_cv_func_getloadavg_setgid, |
602 |
[AC_EGREP_CPP([Yowza Am I SETGID yet], |
[AC_EGREP_CPP([Yowza Am I SETGID yet], |
603 |
[#include "$ac_config_libobj_dir/getloadavg.c" |
[#include "$srcdir/$ac_config_libobj_dir/getloadavg.c" |
604 |
#ifdef LDAV_PRIVILEGED |
#ifdef LDAV_PRIVILEGED |
605 |
Yowza Am I SETGID yet |
Yowza Am I SETGID yet |
606 |
@%:@endif], |
@%:@endif], |