AC_*/AM_* macros for options

2013-10-28 Thread Jeffrey Walton
I'm reading Vaughan, Elliston, Tromey and Taylor's book on Autotools. At page 22, they list some macros and begin to explain them. The macros are AC_PROG_CC. AM_PROG_LEX, AC_PROG_YACC, and a few others. What are the canned macros to specify ASLR (-fPIE/-pie for a program; -fPIC/-shared for shared

Re: AC_*/AM_* macros for options

2013-10-28 Thread Eric Blake
On 10/28/2013 05:05 PM, Jeffrey Walton wrote: What are the canned macros to specify ASLR (-fPIE/-pie for a program; -fPIC/-shared for shared objects), Fortified Sources (-DFORTIFY_SOURCE), Stack Protector (-fstack-protector-all and --param ssp-buffer-size), NX Stack (-Wl,-z,noexecstack), NX

Re: AC_*/AM_* macros for options

2013-10-28 Thread Gary V. Vaughan
Hi Jeff, On Oct 29, 2013, at 12:05 PM, Jeffrey Walton noloa...@gmail.com wrote: I'm reading Vaughan, Elliston, Tromey and Taylor's book on Autotools. At page 22, they list some macros and begin to explain them. The macros are AC_PROG_CC. AM_PROG_LEX, AC_PROG_YACC, and a few others. Thanks