Changeset 255


Ignore:
Timestamp:
Oct 28, 2009, 8:32:43 PM (15 years ago)
Author:
katerina
Message:

Add --disable-ssp configure option (ticket #172).

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/aclocal.m4

    r238 r255  
    409409x_libraries=NONE
    410410DESTDIR=
    411 SH_ENABLE_OPTS="db-reload xml-log message-queue login-watch process-check port-check mounts-check logfile-monitor userfiles debug ptrace static network udp nocl stealth micro-stealth install-name identity khide suidcheck base largefile mail external-scripts encrypt srp dnmalloc"
     411SH_ENABLE_OPTS="ssp db-reload xml-log message-queue login-watch process-check port-check mounts-check logfile-monitor userfiles debug ptrace static network udp nocl stealth micro-stealth install-name identity khide suidcheck base largefile mail external-scripts encrypt srp dnmalloc"
    412412SH_WITH_OPTS="prelude libprelude-prefix database libwrap cflags libs console altconsole timeserver alttimeserver rnd egd-socket port logserver altlogserver kcheck gpg keyid checksum fp recipient sender trusted tmp-dir config-file log-file pid-file state-dir data-file html-file"
    413413
  • trunk/configure.ac

    r252 r255  
    635635AM_SA_SIGACTION_WORKS
    636636
     637AC_ARG_ENABLE(ssp,
     638        [  --disable-ssp                disable the GCC stack protector],
     639        [],
     640        [enable_ssp=yes;]
     641)
     642
    637643if test "x$GCC" = "xyes"; then
    638    GCC_STACK_PROTECT_LIB
    639    GCC_STACK_PROTECT_CC
     644
     645   if test x"${enable_ssp}" = xno; then
     646      :
     647   else
     648        GCC_STACK_PROTECT_LIB
     649        GCC_STACK_PROTECT_CC
    640650dnl   GCC_STACK_CHECK_CC
    641    GCC_PIE_CC
     651      GCC_PIE_CC
     652   fi   
     653
    642654fi
    643655
Note: See TracChangeset for help on using the changeset viewer.