On 25 Jan 2018 06:11, Victor Porton wrote:
> I want to add some C flags but only when the compiler is GCC, because
> GCC command line may not work with other compilers.

if you call AC_PROG_CC, it'll export $GCC you can check against "yes"

> -ansi -g -Wall -Werror -Wpedantic

are you sure you really want -ansi/-Wpedantic ?  that's for like 1990 
standards.  it's been almost 30 years man.
-mike

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
https://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to