[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sr #110399] turning off preference for newest supported C?
From: |
Paul Eggert |
Subject: |
[sr #110399] turning off preference for newest supported C? |
Date: |
Fri, 11 Dec 2020 21:11:32 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0 |
Follow-up Comment #4, sr #110399 (project autoconf):
For what it's worth, I ran into a similar problem on Fedora 33 with Gnulib,
and found that it occurred because the Gnulib stdint module assumed that
AC_INCLUDES_DEFAULT was being called and that it set ac_cv_header_inttypes_h
and ac_cv_header_sys_types_h. This assumption is no longer true in Autoconf
2.70 (not sure whether that was intended). I fixed the problem by calling
AC_CHECK_HEADERS_ONCE([inttypes.h]) before using ac_cv_header_inttypes_h, and
by calling AC_CHECK_HEADERS_ONCE([sys/types.h]) before using
ac_cv_header_sys_types_h; see:
https://lists.gnu.org/r/bug-gnulib/2020-12/msg00118.html
I notice at least one similar issue in texlive, namely
texk/dvipng/dvipng-src/configure.ac uses ac_cv_header_inttypes_h without
invoking AC_CHECK_HEADERS([inttypes.h]). There may be other occurrences of the
problem.
I can't easily test the obvious fix for texk/dvipng/dvipng-src/configure.ac,
as texlive doesn't build for me on Fedora 33 (with the old Autoconf, not that
this matters when building without changing configure.ac etc.); the build
fails as follows:
checking for FT_Init_FreeType... no
configure: error: libfreetype2 not found
=== configuring in gd failed
make[2]: *** [Makefile:918: recurse] Error 1
make[2]: Leaving directory '/home/eggert/src/tug/source/Work/libs'
make[1]: *** [Makefile:488: all-recursive] Error 1
make[1]: Leaving directory '/home/eggert/src/tug/source/Work/libs'
make: *** [Makefile:582: all-recursive] Error 1
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/support/?110399>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/