On Monday, July 11, 2011 16:44:25 Eric Blake wrote:
> On 07/11/2011 02:27 PM, Mike Frysinger wrote:
> > On Monday, July 11, 2011 15:50:42 Eric Blake wrote:
> >> 2.68 outputs a fixed configure, at the expense of
> >> outputting the code for AC_PROG_CC twice; the warning exists to tell you
> >> that
On 07/11/2011 02:27 PM, Mike Frysinger wrote:
> On Monday, July 11, 2011 15:50:42 Eric Blake wrote:
>> On 07/11/2011 01:31 PM, Mike Frysinger wrote:
>>> with this little bit of code:
>>> $ cat common.m4
>>> AC_DEFUN([SIM_AC_COMMON],[
>>> AC_PROG_CC
>>
>> Change this to AC_REQUIRE([AC_PROG_CC]), and
On Monday, July 11, 2011 15:50:42 Eric Blake wrote:
> On 07/11/2011 01:31 PM, Mike Frysinger wrote:
> > with this little bit of code:
> > $ cat common.m4
> > AC_DEFUN([SIM_AC_COMMON],[
> > AC_PROG_CC
>
> Change this to AC_REQUIRE([AC_PROG_CC]), and that should also avoid the
> warning.
seems to w
On 07/11/2011 01:31 PM, Mike Frysinger wrote:
> with this little bit of code:
> $ cat common.m4
> AC_DEFUN([SIM_AC_COMMON],[
> AC_PROG_CC
Change this to AC_REQUIRE([AC_PROG_CC]), and that should also avoid the
warning.
> AC_CHECK_HEADERS(stdlib.h string.h strings.h unistd.h time.h)
> ])
>
> $ ca
with this little bit of code:
$ cat common.m4
AC_DEFUN([SIM_AC_COMMON],[
AC_PROG_CC
AC_CHECK_HEADERS(stdlib.h string.h strings.h unistd.h time.h)
])
$ cat configure.ac
sinclude(common.m4)
AC_INIT(Makefile.in)
SIM_AC_COMMON
running autoconf (2.64 and 2.68) results in the warnings:
$ autoconf
confi