Changeset 79fe0ad for configure.ac


Ignore:
Timestamp:
Feb 13, 2009, 12:11:56 PM (15 years ago)
Author:
Sam Hartman <hartmans@mit.edu>
Branches:
master, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
23e1110
Parents:
308ace3 (diff), 87afe92 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:
Merge branch 'support_stack_protector'
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    rd54035d r87afe92  
    4545        AC_MSG_RESULT(no)
    4646fi
     47PROTECT_CFLAGS=${PROTECT_CFLAGS-"-fstack-protector"}
     48SAVE_CFLAGS=$CFLAGS
     49CFLAGS="$CFLAGS $PROTECT_CFLAGS"
     50AC_MSG_CHECKING(whether protection cflags work)
     51AC_COMPILE_IFELSE(int i;,
     52    [AC_MSG_RESULT(yes)],
     53    [AC_MSG_RESULT(no)
     54    CFLAGS=$SAVE_CFLAGS])
    4755
     56
     57AC_CHECK_LIB(ssp, __stack_chk_guard)
    4858AC_CHECK_LIB(ncursesw, initscr,, AC_MSG_ERROR(No libncursesw found.))
    4959AC_CHECK_LIB(com_err, com_err)
Note: See TracChangeset for help on using the changeset viewer.