add configure time checks for WHOLE_ARCHIVE
@@ -5051,6 +5051,7 @@ _WHOLE_ARCHIVE_PEERS_VALUE=
### @usage: WHOLE_ARCHIVE(dirnames...) # internal
macro WHOLE_ARCHIVE(PEERS...) {
SET_APPEND(_WHOLE_ARCHIVE_PEERS_VALUE ${PEERS})
+ REQUIRES(${PEERS})
}
### @usage: MAPKIT_ENABLE_WHOLE_ARCHIVE() # internal deprecated
