Changes in / [308ace3:79fe0ad]


Ignore:
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.