mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
24 lines
768 B
Diff
24 lines
768 B
Diff
ref: https://github.com/fvwmorg/fvwm/pull/106
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 97ab9e7..a5452e1 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -218,17 +218,6 @@ fi
|
|
AC_ISC_POSIX
|
|
AC_MINIX
|
|
|
|
-# catch -Werror and similar options when running configure
|
|
-AC_TRY_COMPILE([#include <stdio.h>],
|
|
-[int i; static j; int *p; char *c;
|
|
- switch (*p = p = *c) { case 0: printf("%Q", c, p); }
|
|
- *c = &i; c = p;
|
|
- while (1 || (unsigned int)3 >= 0 || ((int)-1) == ((unsigned int)1));
|
|
-], , AC_MSG_ERROR("
|
|
-configure is not able to compile programs with warnings. Please
|
|
-remove all offending options like -Werror from the CFLAGS and
|
|
-CPPFLAGS variables and run configure again."))
|
|
-
|
|
# check size of some types
|
|
ac_save_CFLAGS="$CFLAGS"
|
|
CFLAGS="$CFLAGS $X_CFLAGS"
|