summaryrefslogtreecommitdiff
path: root/storage/tokudb/PerconaFT/third_party/xz-4.999.9beta/configure
diff options
context:
space:
mode:
Diffstat (limited to 'storage/tokudb/PerconaFT/third_party/xz-4.999.9beta/configure')
-rwxr-xr-xstorage/tokudb/PerconaFT/third_party/xz-4.999.9beta/configure92
1 files changed, 0 insertions, 92 deletions
diff --git a/storage/tokudb/PerconaFT/third_party/xz-4.999.9beta/configure b/storage/tokudb/PerconaFT/third_party/xz-4.999.9beta/configure
index 2d3e2062f0d..bfa3d4ad4df 100755
--- a/storage/tokudb/PerconaFT/third_party/xz-4.999.9beta/configure
+++ b/storage/tokudb/PerconaFT/third_party/xz-4.999.9beta/configure
@@ -19870,98 +19870,6 @@ if test -n "$CFLAG_VISIBILITY" && test "$is_w32" = no; then
AM_CFLAGS="$AM_CFLAGS $CFLAG_VISIBILITY"
fi
-if test "$GCC" = yes ; then
- # Enable as much warnings as possible. These commented warnings won't
- # work for this package though:
- # * -Wunreachable-code breaks several assert(0) cases, which are
- # backed up with "return LZMA_PROG_ERROR".
- # * -Wcast-qual would break various things where we need a non-const
- # pointer although we don't modify anything through it.
- # * -Wcast-align breaks optimized CRC32 and CRC64 implementation
- # on some architectures (not on x86), where this warning is bogus,
- # because we take care of correct alignment.
- # * -Winline, -Wdisabled-optimization, -Wunsafe-loop-optimizations
- # don't seem so useful here; at least the last one gives some
- # warnings which are not bugs.
- for NEW_FLAG in \
- -Wall \
- -Wextra \
- -Wformat=2 \
- -Winit-self \
- -Wmissing-include-dirs \
- -Wstrict-aliasing \
- -Wfloat-equal \
- -Wundef \
- -Wshadow \
- -Wpointer-arith \
- -Wbad-function-cast \
- -Wwrite-strings \
- -Wlogical-op \
- -Waggregate-return \
- -Wstrict-prototypes \
- -Wold-style-definition \
- -Wmissing-prototypes \
- -Wmissing-declarations \
- -Wmissing-noreturn \
- -Wredundant-decls
- do
- { $as_echo "$as_me:$LINENO: checking if $CC accepts $NEW_FLAG" >&5
-$as_echo_n "checking if $CC accepts $NEW_FLAG... " >&6; }
- OLD_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS $NEW_FLAG"
- cat >conftest.$ac_ext <<_ACEOF
-void foo(void) { }
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-$as_echo "$ac_try_echo") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
-
- AM_CFLAGS="$AM_CFLAGS $NEW_FLAG"
- { $as_echo "$as_me:$LINENO: result: yes" >&5
-$as_echo "yes" >&6; }
-
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
- { $as_echo "$as_me:$LINENO: result: no" >&5
-$as_echo "no" >&6; }
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- CFLAGS="$OLD_CFLAGS"
- done
-
- # Check whether --enable-werror was given.
-if test "${enable_werror+set}" = set; then
- enableval=$enable_werror;
-else
- enable_werror=no
-fi
-
- if test "x$enable_werror" = "xyes"; then
- AM_CFLAGS="$AM_CFLAGS -Werror"
- fi
-fi
-
-
###############################################################################
# Create the makefiles and config.h
###############################################################################