Changeset f2a96c0 for configure.ac
- Timestamp:
- Jun 25, 2011, 5:46:41 AM (13 years ago)
- Branches:
- master, release-1.10, release-1.8, release-1.9
- Children:
- 378ede7
- Parents:
- 2560529
- git-author:
- Anders Kaseorg <andersk@mit.edu> (06/25/11 05:40:06)
- git-committer:
- Anders Kaseorg <andersk@mit.edu> (06/25/11 05:46:41)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
r4f746f8 rf2a96c0 17 17 18 18 AS_IF([test "x$with_stack_protector" != xno], 19 [AX_C _CHECK_FLAG([-fstack-protector],[],[],19 [AX_CHECK_COMPILE_FLAG([-fstack-protector], 20 20 [AM_CFLAGS="$AM_CFLAGS -fstack-protector"], 21 21 [if test "x$with_stack_protector" != xcheck; then … … 129 129 130 130 AX_CFLAGS_WARN_ALL([AM_CFLAGS]) 131 AX_C_CHECK_FLAG([-Wstrict-prototypes],[],[],[AM_CFLAGS="$AM_CFLAGS -Wstrict-prototypes"]) 132 AX_C_CHECK_FLAG([-Wwrite-strings],[],[],[AM_CFLAGS="$AM_CFLAGS -Wwrite-strings"]) 131 AX_APPEND_COMPILE_FLAGS([-Wstrict-prototypes -Wwrite-strings],[AM_CFLAGS]) 133 132 134 133 dnl Shut gcc up about zero-length format strings; the warning's apparently for 135 134 dnl efficiency reasons, which is bogus for custom functions. 136 AX_ C_CHECK_FLAG([-Wno-format-zero-length],[],[],[AM_CFLAGS="$AM_CFLAGS -Wno-format-zero-length"])135 AX_APPEND_COMPILE_FLAGS([-Wno-format-zero-length],[AM_CFLAGS]) 137 136 138 m4_foreach([myflag], 139 [[-Wno-pointer-sign],[-Wno-empty-body],[-Wno-unused-value]], 140 [AX_C_CHECK_FLAG([myflag],[],[],[LIBFAIM_CFLAGS="$LIBFAIM_CFLAGS myflag"])]) 137 AX_APPEND_COMPILE_FLAGS([-Wno-pointer-sign -Wno-empty-body -Wno-unused-value],[LIBFAIM_CFLAGS]) 141 138 142 139 AM_CONDITIONAL([ENABLE_ZCRYPT], [test "$HAVE_DES_STRING_TO_KEY" && dnl
Note: See TracChangeset
for help on using the changeset viewer.