[PATCH GnuPG] build: Fix GNUPG_CHECK_ENDIAN to work with gcc 14

Werner Koch wk at gnupg.org
Thu Oct 10 12:42:03 CEST 2024


On Tue,  8 Oct 2024 15:03, Alan Coopersmith said:

> -            AC_RUN_IFELSE([AC_LANG_SOURCE([[main () {
> +            AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include <stdlib.h>]],[[

Which requires a full C90 compiler.  In the old times that was not the
case and iirc this would have failed for old HP/UX installations.

Meanwhile this is all obsolete because we anyway require most of C99.
As Niibe-san explains we should better use the somwhat modern tests fro
autoconf.


Shalom-Salam,

   Werner

-- 
The pioneers of a warless world are the youth that
refuse military service.             - A. Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 247 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-devel/attachments/20241010/ffa41c54/attachment.sig>


More information about the Gnupg-devel mailing list