autoconf-patches
[Top][All Lists]
Advanced

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

Re: AC_FUNC_GETMNTENT look in libc before -lsun


From: Noah Misch
Subject: Re: AC_FUNC_GETMNTENT look in libc before -lsun
Date: Mon, 6 Dec 2004 13:48:45 -0800
User-agent: Mutt/1.5.6i

Mr. Baushke,

On Mon, Dec 06, 2004 at 10:16:51AM -0800, Mark D. Baushke wrote:
> Problem: UNICOS 9 does not have a -lsun library and puts getmntent into
> the C library. AC_FUNC_GETMNTENT does not currently check to see if the
> function is found before adding the possibly non-existent -lsun library
> into LIBS.

The macro normally does find getmntent in the C library; indeed, the GNU C
Library is constructed that way, and the macro handles it correctly:

checking for getmntent in -lsun... no
checking for getmntent in -lseq... no
checking for getmntent in -lgen... no
checking for getmntent... yes

It looks like the problem is somewhere else, perhaps a false positive from
AC_CHECK_LIB(sun).  Could you post config.log?




reply via email to

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