[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_CHECK_FUNCS and gcc with -Werror
From: |
Eric Blake |
Subject: |
Re: AC_CHECK_FUNCS and gcc with -Werror |
Date: |
Wed, 03 Mar 2010 16:55:14 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 |
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 address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- Re: AC_CHECK_FUNCS and gcc with -Werror, (continued)
- Re: AC_CHECK_FUNCS and gcc with -Werror, Steffen Dettmer, 2010/03/03
- Re: AC_CHECK_FUNCS and gcc with -Werror, Russ Allbery, 2010/03/03
- Re: AC_CHECK_FUNCS and gcc with -Werror, Steffen Dettmer, 2010/03/04
- Re: AC_CHECK_FUNCS and gcc with -Werror, Russ Allbery, 2010/03/04
- Re: AC_CHECK_FUNCS and gcc with -Werror, NightStrike, 2010/03/05
- Re: AC_CHECK_FUNCS and gcc with -Werror, Steffen Dettmer, 2010/03/03
- Re: AC_CHECK_FUNCS and gcc with -Werror, Ralf Corsepius, 2010/03/03
- Re: AC_CHECK_FUNCS and gcc with -Werror, Eric Blake, 2010/03/03
- Re: AC_CHECK_FUNCS and gcc with -Werror, Steffen Dettmer, 2010/03/03
- Re: AC_CHECK_FUNCS and gcc with -Werror, Eric Blake, 2010/03/03
- Re: AC_CHECK_FUNCS and gcc with -Werror,
Eric Blake <=
- Re: AC_CHECK_FUNCS and gcc with -Werror, Steffen Dettmer, 2010/03/04
- Re: AC_CHECK_FUNCS and gcc with -Werror, Ralf Wildenhues, 2010/03/06
- Re: AC_CHECK_FUNCS and gcc with -Werror, Steffen Dettmer, 2010/03/04
Re: AC_CHECK_FUNCS and gcc with -Werror, Steffen Dettmer, 2010/03/03