configure: minor improvements for BAMG and HPDDM --with-shared-libraries=0
- print a warning with
--download-bamg
and--with-shared-libraries=0
- do not set
PETSC_HAVE_BAMG
with--download-bamg
and--with-shared-libraries=0
so that tests requiring BAMG are not wrongfully run - no hard error with
--download-hpddm
and--with-shared-libraries=0
(sinceKSPHPDDM
can still be compiled), but same warning as for BAMG