mirror of
https://github.com/systemd/systemd.git
synced 2025-01-20 18:04:03 +03:00
d8c8508bad
Use AC_LINK_IFELSE instead of AC_COMPILE_IFELSE to test for flags that might succeed during compilation but not during linking. An example is gcc compiled with libssp support but gnu-ld without it. In this case -fstack-protector works fine during compilation but fails during linking as several internal helpers are missing.