Revert "Handle error without set +e"

This reverts commit d6f612f0738337f0e9499b53bf2cc1f668c51fb5.

Revert "Check relro directly"

This reverts commit 365647e4f2b5cfd3d4b81d98bc87fef9c4b4219d.

Revert "Check for PIE, RELRO and stack protector during configure"

This reverts commit f1ccad0d6555d06bf3c0e790de469a2680eba693.