bug-gnulib
[Top][All Lists]
Advanced

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

Re: [bug-gnulib] AC_FUNC_GETMNTENT problem on UNICOS


From: Stepan Kasal
Subject: Re: [bug-gnulib] AC_FUNC_GETMNTENT problem on UNICOS
Date: Mon, 6 Dec 2004 20:56:09 +0100
User-agent: Mutt/1.4.1i

Hello,

On Mon, Dec 06, 2004 at 09:44:51AM -0800, Mark D. Baushke wrote:
> RCS file: /cvsroot/gnulib/gnulib/m4/ls-mntd-fs.m4,v
> retrieving revision 1.28
> diff -u -p -u -p -r1.28 ls-mntd-fs.m4
> --- ls-mntd-fs.m4       7 Aug 2004 00:09:39 -0000       1.28
> +++ ls-mntd-fs.m4       6 Dec 2004 17:44:45 -0000
> @@ -64,7 +64,10 @@ ac_list_mounted_fs=
> 
>  # If the getmntent function is available but not in the standard library,
>  # make sure LIBS contains -lsun (on Irix4) or -lseq (on PTX).
> -AC_FUNC_GETMNTENT
> +# However, AC_FUNC_GETMNTENT will introduce a -lsun even if getmntent is
> +# in the C library, for example on UNICOS which does not have a -lsun
> +# library.
> +AC_CHECK_FUNC(getmntent, [], [AC_FUNC_GETMNTENT])

this is not enough as it doesn't define HAVE_GETMNTENT.  You should also
add the line:

AC_CHECK_FUNCS(getmntent)

Regards,
        Stepan Kasal




reply via email to

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