gnu-misc-discuss
[Top][All Lists]
Advanced

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

Re: autoconf


From: Alfred M. Szmidt
Subject: Re: autoconf
Date: Thu, 02 Oct 2008 15:21:25 -0400

   I'm using this autogen.sh script

Use autoreconf.


   This is my top level configure.ac

Looks fine.

   This is my toplevel Makefile.am

Looks fine.

   This is my src directory Makefile.am

Looks fine.

   one_window.cc:1:19: gtkmm.h: No such file or directory

You did not specify where the compiler should look for headers (and
libraries).

   The resulting Makefile.in has 

   MYAPP_CFLAGS = @MYAPP_CFLAGS@
   MYAPP_LIBS = @MYAPP_LIBS@

CFLAGS is used for C, not C++.  CXXFLAGS is what you wish to look at,
and set.

PKG_CHECK_MODULES I have never used that variable, maybe it is buggy
and does not set CXXFLAGS accordingly, check the documentation for it.
And maybe check with the people who maintain that macro (it isn't part
of autoconf or automake).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]