[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #63185] configure fails to detect getloadavg declaration on sun and
From: |
Dmitry Goncharov |
Subject: |
[bug #63185] configure fails to detect getloadavg declaration on sun and aix. |
Date: |
Wed, 26 Oct 2022 15:28:57 -0400 (EDT) |
Follow-up Comment #7, bug #63185 (project make):
i guess, it is possible that sys/loadavg.h exists, but still doesn't declare
getloadavg.
It is also possible that configure sets HAVE_DECL_GETLOADAVG to 0 and also
defines HAVE_SYS_LOADAVG_H and in this case there is a declaraion in
sys/loadavg.h and also in job.c. Which should be benign as long as the
declarations match.
This alone
++++
#if HAVE_DECL_GETLOADAVG == 0
int getloadavg (double loadavg[], int nelem);
#endif
----
gets the job done.
Btw, why do you include sys/time.h?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63185>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #63185] configure fails to detect getloadavg declaration on sun and aix., Dmitry Goncharov, 2022/10/08
- [bug #63185] configure fails to detect getloadavg declaration on sun and aix., Dmitry Goncharov, 2022/10/08
- [bug #63185] configure fails to detect getloadavg declaration on sun and aix., Paul D. Smith, 2022/10/15
- [bug #63185] configure fails to detect getloadavg declaration on sun and aix., Paul D. Smith, 2022/10/18
- [bug #63185] configure fails to detect getloadavg declaration on sun and aix., Dmitry Goncharov, 2022/10/18
- [bug #63185] configure fails to detect getloadavg declaration on sun and aix., Dmitry Goncharov, 2022/10/18
- [bug #63185] configure fails to detect getloadavg declaration on sun and aix., Dmitry Goncharov, 2022/10/25
- [bug #63185] configure fails to detect getloadavg declaration on sun and aix., Paul D. Smith, 2022/10/26
- [bug #63185] configure fails to detect getloadavg declaration on sun and aix.,
Dmitry Goncharov <=
- [bug #63185] configure fails to detect getloadavg declaration on sun and aix., Paul D. Smith, 2022/10/27