bug-autoconf
[Top][All Lists]
Advanced

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

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


From: Zack Weinberg
Subject: [sr #110983] AC_SYS_LARGEFILE doesn't honor AC_LANG setting
Date: Tue, 19 Dec 2023 13:46:25 -0500 (EST)

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/




reply via email to

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