ac_cv_sys_largefile_opts undocumented?

[email protected]
Newsgroups gmane.comp.lib.gnulib.bugs,gmane.comp.sysutils.autoconf.bugs
Message-ID <Zi1o1pn4kJWuRSGF@hilbert>
Hello,
I am not 100% sure whether this should go to a gnulib list or to an autoconf list,
but anyway, ac_cv_sys_largefile_opts (from a subroutine in
AC_SYS_LARGEFILE) is not documented in either gnulib manual, or in
autoconf manual. (It is documented in the source).

Thus I got questions whether a patch for a build system I submitted for 
a project is OK, as it uses an undocumented variable (thus, perhaps,
unstable).

By the way, ac_cv_sys_largefile_opts isn't fun to use - as sometimes
it's a plain text, and sometimes flags which should be added to CFLAGS.
So one has to write things like

AS_CASE([$ac_cv_sys_largefile_opts],
  ["none needed"], [],
  ["support not detected"], [],
  dnl otherwise it is a compiler flag
  [LARGEFILECFLAGS="$ac_cv_sys_largefile_opts"]
  )

which are unnecessarily complicated.

Please advice, and possibly fix.

Best,
Dima
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCAAdFiEEJVdDnfI7raAa4RJxoksLHjfJBTEFAmYtaNIACgkQoksLHjfJ
BTGG+Qf/SOc1NCI6JVQvIY2zYNsA0W7Nx/K7+5vGwAKvZEjjsqj/ARKfP4z65Xtd
lKskZsX2KXnn/PGeb6pyywWMfEtaixs0GAs6f7qwprv6lyz/csEHPgvDLI8ofBhN
QD8FqcukIidiLG5DIwlJ0Qd+cSte1Lt2aRs+Ep5SKB9DTpgdwfY51KsyojXfi+OX
cxSMr/6nnAh3j5wsOGZv/msKPQlyxV8X1Vb8YriS2Tjprcu3NVzP2Cvme90l2Rxe
woytp3KQPvgW85DQUIG7cZg5cTDwQWKNHtN/7l8RcZfJKtQjyvwvBYYHLrA9ERDh
cl//XAlTWlyobzN0TeDKMRNh+H2VTQ==
=OefG
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.