fvwm2: minimal fix for silly configure script attempting to detect -Werror

Configure tests tend to use broken C code and fail with compiler updates.
But one that is deliberately broken to catch -Werror is a new brilliancy.

A more radical approach is https://github.com/fvwmorg/fvwm/pull/106
This commit is contained in:
tb
2026-05-27 02:30:24 +00:00
parent f891adfa62
commit 1b81614992
+9
View File
@@ -1,6 +1,15 @@
Index: configure Index: configure
--- configure.orig --- configure.orig
+++ configure +++ configure
@@ -7645,7 +7645,7 @@ main (void)
{
int i; static j; int *p; char *c;
switch (*p = p = *c) { case 0: printf("%Q", c, p); }
- *c = &i; c = p;
+ *c = &i;
while (1 || (unsigned int)3 >= 0 || ((int)-1) == ((unsigned int)1));
;
@@ -12109,7 +12109,7 @@ then : @@ -12109,7 +12109,7 @@ then :
else $as_nop else $as_nop