[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ac_check_funcs(getloadavg) with gcc 3.3

From: Thomas Dickey
Subject: Re: ac_check_funcs(getloadavg) with gcc 3.3
Date: Mon, 19 Jan 2004 12:58:09 -0500 (EST)

On Mon, 19 Jan 2004, Hanspeter Roth wrote:

>   On Jan 19 at 08:58, Bob Friesenhahn spoke:
> > The key is to not use C++ to execute these tests.  Use C while
> > checking for library functions.  Only set the language to C++ while
> > testing C++ related features.
> Does it make sense to run test in C while the function getloadavg() is
> used in a C++ Module?

no.  He's telling you how to get some use out of the tool as it is
written.  (Another one for the unwritten autoconf-FAQ).  Some of the
autoconf tests for C functions may happen to work when run from C++.

It would make sense to modify the test template to cover the standard
functions, e.g., from <stdlib.h> and <stdio.h>.

But getloadavg() is not a standard function.  There are a lot of those.

> -Hanspeter

Thomas E. Dickey

reply via email to

[Prev in Thread] Current Thread [Next in Thread]