mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2025-02-16 07:59:53 +00:00
build: add HAVE_SHA1 define when using --with-sha1 option
Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Acked-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
2ace64fd59
commit
0db323a624
@ -1110,6 +1110,11 @@ AC_MSG_RESULT([$with_sha1])
|
||||
AC_SUBST(SHA1_LIBS)
|
||||
AC_SUBST(SHA1_CFLAGS)
|
||||
|
||||
# Enable a define for SHA1
|
||||
if test "x$with_sha1" != "x"; then
|
||||
DEFINES="$DEFINES -DHAVE_SHA1"
|
||||
fi
|
||||
|
||||
# Allow user to configure out the shader-cache feature
|
||||
AC_ARG_ENABLE([shader-cache],
|
||||
AS_HELP_STRING([--disable-shader-cache], [Disable binary shader cache]),
|
||||
|
Loading…
x
Reference in New Issue
Block a user