I got that. It would be good if `rpmlib` had a macro that can just be tested,
to save some work, and not having to write a hack to test for it. If you (or
anyone) knows of any similar code that does that, it would be great if you can
share.
--
Reply to this email directly or view it on GitHub:
FWIW, this isn't an rpm issue at all. It's like any old feature test, you test
for the symbol in cmake, and define something you *can* test with ifdef. There
are multiple ways to do that.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discus
Thanks for replying.
I have this code:
```
...
} else if (strcmp(token, "nodb") == 0){
pConf->rpmTransFlags |= RPMTRANS_FLAG_NODB;
} else if (strcmp(token, "noconfigs") == 0){
pConf->rpmTransFlags |= RPMTRANS_F