[sr #110983] AC_SYS_LARGEFILE doesn't honor AC_LANG setting

Zack Weinberg <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <[email protected]>
Follow-up Comment #3, sr#110983 (group autoconf):

As a workaround, make sure to invoke AC_SYS_LARGEFILE and/or AC_SYS_YEAR2038
early in configure.ac (this is a good idea anyway, as they can affect the
results of later checks), in C mode, even if nothing else uses the C compiler.
 For example:


AC_INIT([my-C++-program], [1.0], ...)
AC_PROG_CC
AC_SYS_LARGEFILE
AC_PROG_CXX
AC_LANG([C++])
# rest of the configure script
AC_OUTPUT




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?110983>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
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.