Re: _AC_PROG_CXX_EXIT_DECLARATION problem

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

 



David Thompson <dthompsn@xxxxxxxxxxxxxxxx> writes:

> Since this function has been modified at version 1.179, it now breaks
> our configure process on Windows with Microsoft compilers. The problem
> is, that the appropriate configuration is just #include <stdlib.h>
> with no prototype.

That's the first choice of _AC_PROG_CXX_EXIT_DECLARATION; it sets
ac_declaration to the empty string, and then tries to compile a program
like this:

  $ac_declaration
  @%:@include <stdlib.h>

which expands to


  #include <stdlib.h>

which is what you're asking for.

> For some reason, the case where stdlib and no prototype never runs (at
> least we never see it in the config.log.)
>
> Could this be a problem with bash or is there an error in the write of
> this function?

It could be either, but you need to investigate more what's going on.
You might try runing "configure" with "sh -x configure".



[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux