summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2020-06-05 06:42:34 +0300
committerAndrei Karas <akaras@inbox.ru>2020-06-16 03:43:42 +0300
commite6be5b2441baa5bc10613f1576ed6d6f3335bbef (patch)
treec70738bcdd850c858eb040920fef6f56eec013ca /configure
parent9b89425550094f51d633e5b5d6e86af65bffbf39 (diff)
downloadhercules-e6be5b2441baa5bc10613f1576ed6d6f3335bbef.tar.gz
hercules-e6be5b2441baa5bc10613f1576ed6d6f3335bbef.tar.bz2
hercules-e6be5b2441baa5bc10613f1576ed6d6f3335bbef.tar.xz
hercules-e6be5b2441baa5bc10613f1576ed6d6f3335bbef.zip
Force to use signed chars
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure31
1 files changed, 29 insertions, 2 deletions
diff --git a/configure b/configure
index a8ca071cb..9341c504a 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.ac 2b51b41ab.
+# From configure.ac 6d5542195.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69.
#
@@ -6460,7 +6460,6 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fsanitize=pointer-compare" >&5
$as_echo_n "checking whether $CC supports -fsanitize=pointer-compare... " >&6; }
OLD_CFLAGS="$CFLAGS"
@@ -6708,6 +6707,34 @@ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fsigned-char" >&5
+$as_echo_n "checking whether $CC supports -fsigned-char... " >&6; }
+ OLD_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS -fsigned-char"
+ OLD_LDFLAGS="$LDFLAGS"
+ LDFLAGS="$LDFLAGS -fsigned-char"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+int foo;
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+else
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ CFLAGS="$OLD_CFLAGS"
+ LDFLAGS="$OLD_LDFLAGS"
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
+
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-unused-parameter" >&5
$as_echo_n "checking whether $CC supports -Wno-unused-parameter... " >&6; }
OLD_CFLAGS="$CFLAGS"