Bug 4061

Summary: automake fails to generate Makefile.in when project contains Objective-C sources
Product: Sisyphus Reporter: Sir Raorn <raorn>
Component: automake_1.8Assignee: Dmitry V. Levin <ldv>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: major    
Priority: P2    
Version: unstable   
Hardware: all   
OS: Linux   
Attachments:
Description Flags
Objective-C compiles support via AM_PROG_OBJC (aclocal) none

Description Sir Raorn 2004-04-30 10:05:09 MSD
Objective-C support in automake >= 1.6 is broken.

When project contains *.m sources (Objective-C), automake wants OBJCDEPMOD
variable to be defined. This variable can only be defined with
_AM_DEPENDENCIES(OBJC) macro. This macro documented as "private macros you
should not call directly"

There is no any documented way to define OBJCDEPMOD.

On the other side, where is gcj.m4 file, that defines AM_PROG_GCJ macro. This
macro defines GCJ, GCJFLAGS and GCJDEPMOD variables.
Comment 1 Sir Raorn 2004-04-30 11:55:54 MSD
Created attachment 401 [details]
Objective-C compiles support via AM_PROG_OBJC (aclocal)
Comment 2 Dmitry V. Levin 2004-08-04 21:01:12 MSD
Applied in automake_1.8-1.8.3-alt3.
Comment 3 Mikhail Zabaluev 2005-01-05 02:53:46 MSK
The file did not make it to the installed files.
You have to add it to dist_m4data_DATA variable in m4/Makefile to have it installed.
Comment 4 Dmitry V. Levin 2010-01-24 20:07:03 MSK
It was fixed a long time ago.