[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: autoconf and gtkmm
From: |
Baurzhan Ismagulov |
Subject: |
Re: autoconf and gtkmm |
Date: |
Sat, 4 Oct 2008 10:15:07 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Sat, Oct 04, 2008 at 01:34:00AM -0400, Ruben Safir wrote:
> On Sat, Oct 04, 2008 at 03:41:23AM +0200, Baurzhan Ismagulov wrote:
> > On Thu, Oct 02, 2008 at 11:08:15AM -0400, Ruben Safir wrote:
> > > PKG_CHECK_MODULES([MYAPP], [gtkmm-2.4 >= 2.4.0])
> > ...
> > > if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT one_window.o -MD -MP
> > ...
> > > one_window.cc:1:19: gtkmm.h: No such file or directory
> > ...
> > > MYAPP_CFLAGS = -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API
> > ...
> >
> > AM_CFLAGS or onewindow_CFLAGS should mention MYAPP_CFLAGS in every
> > Makefile.am that needs it. Alternatively, they can be AC_SUBSTed in
> > configure.ac.
>
> You guys have confused me. I changed MYAPP to onewindow. Does the
> substring MYAPP have some meaning meaning that I'm missing?
Undo these changes and add the following line to src/Makefile.am:
AM_CFLAGS = $(MYAPP_CFLAGS)
With kind regards,
--
Baurzhan Ismagulov
http://www.kz-easy.com/