Closed stigtsp closed 12 months ago
I agree that this change is needed. However, other changes are needed for the configure script to work properly and detect e.g. fopen()
behavior and whether char
is signed. I have opened #94 with those changes as well as the one here.
Note that the CI workflow currently only builds Perl/Tk against system libjpeg (the configure step output contains Using system's -ljpeg
rather than Building jpeg/libjpeg.a
) and so will not test the changes proposed to this configure script.
Ok will close this PR in favor of #94
The jpeg
configure
script fails to detect clang as a functioning C compiler because it uses a test with amain
that returns an implicitint
, which results in an error with clang 16.From https://github.com/NixOS/nixpkgs/pull/253730
Cc: @reckenrode