Do not error about missing zstd unless --with-zstd.

	PR lto/94259
	* configure.ac: Report error only when --with-zstd
	is used.
	* configure: Regenerate.
parent 780f1cfd
2020-03-25 Martin Liska <mliska@suse.cz>
PR lto/94259
* configure.ac: Report error only when --with-zstd
is used.
* configure: Regenerate.
2020-03-25 Jakub Jelinek <jakub@redhat.com> 2020-03-25 Jakub Jelinek <jakub@redhat.com>
PR target/94308 PR target/94308
......
...@@ -10019,7 +10019,7 @@ if test $gcc_cv_header_zstd_h = yes; then ...@@ -10019,7 +10019,7 @@ if test $gcc_cv_header_zstd_h = yes; then
$as_echo "#define HAVE_ZSTD_H 1" >>confdefs.h $as_echo "#define HAVE_ZSTD_H 1" >>confdefs.h
else elif test "x$with_zstd" != x; then
as_fn_error $? "Unable to find zstd.h. See config.log for details." "$LINENO" 5 as_fn_error $? "Unable to find zstd.h. See config.log for details." "$LINENO" 5
fi fi
......
...@@ -1371,7 +1371,7 @@ AC_MSG_RESULT($gcc_cv_header_zstd_h) ...@@ -1371,7 +1371,7 @@ AC_MSG_RESULT($gcc_cv_header_zstd_h)
if test $gcc_cv_header_zstd_h = yes; then if test $gcc_cv_header_zstd_h = yes; then
AC_DEFINE(HAVE_ZSTD_H, 1, AC_DEFINE(HAVE_ZSTD_H, 1,
[Define if you have a working <zstd.h> header file.]) [Define if you have a working <zstd.h> header file.])
else elif test "x$with_zstd" != x; then
as_fn_error $? "Unable to find zstd.h. See config.log for details." "$LINENO" 5 as_fn_error $? "Unable to find zstd.h. See config.log for details." "$LINENO" 5
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment