tech-pkg archive

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

Re: Adding fix for building GNU m4 on Debian

On Tue, Jan 17, 2012 at 11:03:37PM +0100, Hubert Feyrer wrote:
> Attached!

(The brackets question is actually irrelevant, but I certainly didn't
expect a compiler error...)

So, the odd part of your make.log is:

checking for posix_spawnattr_t... yes
checking for posix_spawn_file_actions_t... ac_fn_c_check_type:37: command not fo
und: ac_cv_type_posix_spawn_file_actions_t=yes

Can you just try creating a with:

AC_INIT(m4test, 1,
AC_CHECK_TYPES([posix_spawnattr_t], [], [], [[#include <spawn.h>]])
AC_CHECK_TYPES([posix_spawn_file_actions_t], [], [], [[#include <spawn.h>]])

$ autoconf
$ ./configure
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for posix_spawnattr_t... yes
checking for posix_spawn_file_actions_t... yes

the above on ubuntu 10.04.3. That error looks as though some fiddling of
cache variables occured - and I don't see any of that in the originals...



Home | Main Index | Thread Index | Old Index