Yet another autotools fix: If any warning/devel CFLAGS would invoke
warnings in headers used to detect dependencies, those dependencies will
fail with a highly misleading/confusing error message:
configure: Found .git directory. Adding -Werror to CFLAGS.
checking if running on EC2 instance... yes
checking if want AWS platform optimizations... yes
checking for Libfabric 1.18.0 or later... no
configure: error: On AWS platforms, Libfabric 1.18.0 or later is required
ie: it is not that Libfabric 1.18 was not found, it was that its headers
produced warnings. Fix this by resolving all dependencies before
modifying CFLAGS.
Stacked PRs:
568
567
566
591
588
595
594
593
587
577
576
586
585
574
575
571
570
573
569
565
563
fix(build): check features before mangling CFLAGS
Yet another autotools fix: If any warning/devel CFLAGS would invoke warnings in headers used to detect dependencies, those dependencies will fail with a highly misleading/confusing error message:
ie: it is not that Libfabric 1.18 was not found, it was that its headers produced warnings. Fix this by resolving all dependencies before modifying CFLAGS.