mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: wmake have_* script changes
- use local 'prefix' variable for easier override and more consistency
This commit is contained in:
@ -71,16 +71,16 @@ then
|
||||
}
|
||||
|
||||
|
||||
# True if '$1' is an empty string or matches "*-none".
|
||||
# True if '$1' is an empty string, "none" or ends in "-none"
|
||||
# Eg,
|
||||
# if isNone "$KAHIP_ARCH_PATH" ...
|
||||
# if isNone "$BOOST_ARCH_PATH" ...
|
||||
isNone()
|
||||
{
|
||||
test -z "$1" -o "${1##*-}" = none
|
||||
}
|
||||
|
||||
|
||||
# True if '$1' matches "*-system"
|
||||
# True if '$1' is "system" or ends in "-system"
|
||||
# Eg,
|
||||
# if isSystem "$BOOST_ARCH_PATH"
|
||||
isSystem()
|
||||
|
||||
Reference in New Issue
Block a user