Re: automake & Objective C

2002-08-19 Thread Matej Kosik

Tom Tromey wrote:
 >
 > Since there are no pre-canned macros for ObjC, you must define the
 > `OBJC' macro in configure.ac yourself.  Like so:
 >
 > OBJC=... something ...
 > AC_SUBST(OBJC)
 >
 > Tom
 >
 >

thank you, it works, (`OBJCFLAGS' should be
set and substituted as well)

-- 
Matej Kosik







Re: automake & Objective C

2002-08-18 Thread Tom Tromey

> "Matej" == Matej Kosik <[EMAIL PROTECTED]> writes:

Matej> I have put together some awful autoconf macros
Matej> cheking `Objective C' compiler's functionality.

Matej>  automake: objcprog/Makefile.am: Objective C source
Matej>  seen but `OBJC' not defined in `configure.ac'

Since there are no pre-canned macros for ObjC, you must define the
`OBJC' macro in configure.ac yourself.  Like so:

OBJC=... something ...
AC_SUBST(OBJC)

Tom





automake & Objective C

2002-08-18 Thread Matej Kosik

Hi,

I am writing a library written in `Objective C'
and I recetly realized that using `automake' would be
advantageous. I made some trivial experiments with it
and it seems to be working (I tried `C' source files).

I have put together some awful autoconf macros
cheking `Objective C' compiler's functionality.

Well, the problem I have is, that if now I try to
generate `Makefile.in' from `Makefile.am' for
any whatever simple objc program, automake
complains

 automake: objcprog/Makefile.am: Objective C source
 seen but `OBJC' not defined in `configure.ac'

Can somebody please tell me, what have I forgotten to do,
or (better) point me to some `Objective C'
program, which uses `autoconf', `automake' (`libtool'
eventually), so I can perpaps figure out the magic
I have forgotten to spell.

I use: Debian GNU/Linux 3.0,
(automake-1.4-p4, autoconf-2.53)

thanks in advance.
-- 
Matej Kosik