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
signature.asc
Description: This is a digitally signed message part.
