automake
[Top][All Lists]
Advanced

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

Re: AC_PROG_OBJC and automake 1.9


From: Ralf Wildenhues
Subject: Re: AC_PROG_OBJC and automake 1.9
Date: Tue, 10 Mar 2009 19:32:23 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

Hi Vincent,

* Vincent Torri wrote on Tue, Mar 10, 2009 at 02:58:07PM CET:
> libecore_quartz_la_SOURCES = ecore_quartz.m
>
> With automake 1.9, we have the following message:
>
> /usr/share/automake-1.9/am/depend2.am: am__fastdepOBJC does not appear in 
> AM_CONDITIONAL
>
> This error does not appear with automake 1.10 (afaik).

Yes; the corresponding fix went in in 1.9a and is in 1.10:
<http://git.savannah.gnu.org/cgit/automake.git/commit/?id=b9df3285f2c32960ebeb979bbc6d76ea3e438ba4>

I suppose you can work around this bug by changing your code to this:

m4_ifdef([AC_PROG_OBJC],
   [AC_PROG_OBJC
    _AM_DEPENDENCIES(OBJC)],
   [AC_CHECK_TOOL([OBJC], [gcc])
    AC_SUBST([OBJC])
    AC_SUBST([OBJCFLAGS])
   ])

The m4_ifdef is presumably to cater to Autoconf versions before 2.60
which did not have an AC_PROG_OBJC macro.

But really, you should upgrade to Automake 1.10.2.

Cheers,
Ralf




reply via email to

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