configure:27218: checking whether compiler supports __attribute__((fallthrough)) configure:27228: gcc -c -Werror conftest.c >&5 conftest.c:185:2: error: 'fallthrough' attribute at top level [-Werror=attributes] 185 | __attribute__ ((fallthrough)); | ^~~~~~~~~~~~~ cc1: all warnings being treated as errors
The parameter -e is not standard parameter for echo builtin. And therefore needn't be implemented in some shells.
e.g.
sh$ /bin/dash -c 'echo -e "#include <samba/version.h>\nSAMBA_VERSION_MAJOR"' -e #include <samba/version.h> SAMBA_VERSION_MAJOR
And it caused failures in configure
checking Samba's idmap plugin interface version... idmap test result is: 6 configure: Samba's idmap interface version: 6 configure: Samba version: -e #include <samba/version.h> SAMBA_VERSION_MAJOR -e #include <samba/version.h> SAMBA_VERSION_MINOR -e #include <samba/version.h> SAMBA_VERSION_RELEASE /home/build/sssd/configure: 21832: test: #include: unexpected operator configure: Samba's struct idmap_domain does not have dom_sid member
rebased onto 4ebfc00c460c08a0fd3eb5d609bdf0c1ec123ea4
Metadata Update from @pbrezina: - Request assigned
Thank you. I wanted to write similar patch for rawhide. It detects the attribute correctly now.
Ack.
Commit a483bfa6 fixes this pull-request
Pull-Request has been merged by pbrezina
Commit c3b98b2b fixes this pull-request
master
The parameter -e is not standard parameter for echo builtin.
And therefore needn't be implemented in some shells.
e.g.
And it caused failures in configure