This adds support for "make rpm"

This commit is contained in:
Brian Aker
2012-10-20 04:42:34 -04:00
parent f3b14343a5
commit 1be873533e
11 changed files with 197 additions and 15 deletions

View File

@@ -70,10 +70,12 @@
ax_append_compile_link_flags_extra=
AS_IF([test "$ac_cv_vcs_checkout" = "yes"], [
AX_CHECK_LINK_FLAG([-Werror])
],[
AX_CHECK_LINK_FLAG([-Werror],[ax_append_compile_link_flags_extra])
AX_CHECK_LINK_FLAG([-Werror])
],[
AX_CHECK_LINK_FLAG([-Werror],[
ax_append_compile_link_flags_extra=$ax_cv_check_ldflags___Werror
])
])
AX_CHECK_LINK_FLAG([-z relro -z now],,[$ax_append_compile_link_flags_extra])
AX_CHECK_LINK_FLAG([-pie],,[$ax_append_compile_link_flags_extra])
])