mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2025-03-03 10:49:08 +00:00
Add switch for "HAVE_VALGRIND=0" and "WANT_BENCHMARKS=0"
This commit is contained in:
parent
2629cdf25a
commit
974a62af5d
@ -95,6 +95,12 @@ if [[ "$IS_SOLARIS" -ne "0" ]]; then
|
||||
if [[ (-e "/usr/gnu/bin/awk") ]]; then AWK=/usr/gnu/bin/awk; else AWK=nawk; fi
|
||||
fi
|
||||
|
||||
# Recognize "fast" and "quick"...
|
||||
if [[ ("$#" -eq "1") && ($("$EGREP" -ix "fast" <<< "$1") || $("$EGREP" -ix "quick" <<< "$1")) ]]; then
|
||||
HAVE_VALGRIND=0
|
||||
WANT_BENCHMARKS=0
|
||||
fi
|
||||
|
||||
# We need to use the C++ compiler to determine feature availablility. Otherwise
|
||||
# mis-detections occur on a number of platforms.
|
||||
if [[ ((-z "$CXX") || ("$CXX" == "gcc")) ]]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user