Re: autoconf and gtkmm

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

 



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/


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux