Re: AC_CHECK_FUNCS and gcc with -Werror

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



According to Eric Blake on 3/3/2010 4:45 PM:
>>> AM_CFLAGS = $(WERROR_CFLAGS)
>>
>> ahh ok this way.
>> Before I change my 352 Makefile.am's:

By the way, I find that mass updates like this can easily be done with a
decent scripting language, or even a few shell commands, rather than
tediously doing it all by hand.  For example, (untested, but probably
close to what you want, to append given text at the end of all existing
Makefile.am):

script='$ a\
AM_CFLAGS += $(WERROR_CFLAGS)
'
find . -name Makefile.am | xargs sed -i -e "$script"

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

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

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux