Hey,
i want to compile a program for mac os x, using AC_PROG_OBJC. Actually, i
didn't write that part. Here is what is used to check the compiler in the
configure.ac file:
m4_ifdef([AC_PROG_OBJC],
[AC_PROG_OBJC],
[AC_CHECK_TOOL([OBJC], [gcc])
AC_SUBST([OBJC])
AC_SUBST([OBJCFLAGS])
])
The .m file in the Makefile.am file is just in the source variable:
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).
I don't know why the author use m4_ifdef to check the compiler. So I would
like to know what is the best way to check for objective c compiler and
what are the possible problems with respect to automake versions.
thank you
Vincent Torri