Hello,
This is my configure.ac file:
AC_INIT([my-project], [20160412])
AM_INIT_AUTOMAKE
AM_PROG_CC_C_O
AC_CHECK_HEADER([avr/io.h], [], [AC_MSG_ERROR([missing header: avr/io.h])])
AC_CHECK_HEADER([util/delay.h], [], [AC_MSG_ERROR([missing header:
util/delay.h])])
AC_CHECK_HEADER([stdio.h
Hi,
On 2016-04-12, YuGiOhJCJ Mailing-List
wrote:
[snip exposition]
> So, I would like to call the AC_CHECK_HEADER macro on a condition:
> AC_INIT([my-project], [20160412])
> AM_INIT_AUTOMAKE
> AM_PROG_CC_C_O
> if test "x$host" == xavr; then
> AC_CHECK_HEADER([
On 04/12/2016 09:05 AM, Nick Bowler wrote:
>
> But in your second instance, the first expansion of AC_CHECK_HEADER
> expands AC_PROG_CPP inside an "if". The result is that no preprocessor
> is checked in the "else" case. You can see this in the configure output,
> the following line is only pri
On Tue, 12 Apr 2016 11:05:51 -0400
Nick Bowler wrote:
> Hi,
>
> On 2016-04-12, YuGiOhJCJ Mailing-List
> wrote:
> [snip exposition]
> > So, I would like to call the AC_CHECK_HEADER macro on a condition:
> > AC_INIT([my-project], [20160412])
> > AM_INIT_AUTOMAKE