bug-autoconf
[Top][All Lists]
Advanced

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

Re: divert()/m4_divert() broken in autoconf-2.64+


From: Mike Frysinger
Subject: Re: divert()/m4_divert() broken in autoconf-2.64+
Date: Sat, 21 Nov 2009 19:05:28 -0500
User-agent: KMail/1.12.3 (Linux/2.6.31.4; KDE/4.3.3; x86_64; ; )

On Saturday 21 November 2009 14:14:57 Mike Frysinger wrote:
> i'm not really familiar with the diversion functionality of m4, so i'll
>  just post findings ...

ok, let's try this example then.  same as before ... things break starting 
with autoconf-2.64.

$ cat configure.in
AC_INIT
AC_PROG_CC
m4_divert(600)
AC_CHECK_FUNC(socket)
AC_OUTPUT

$ autoconf && ./configure
checking for socket... sed: can't read conftest.: No such file or directory
no
configure: creating ./config.status
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed

removing the diverts allows for the code to work properly (the first two lines 
show up last and without errors)

inserting a m4_divert() before the AC_INIT (and with different relative 
numbers) doesnt seem to make a difference
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]