Re: [gtkmm] Problem with autoconf and Gtkmm



Adam Olsen <adamolsen net-bizz com> writes:

> Now I'm almost sure that this has nothing to do with gtkmm, but I
> thought I would ask you guys anyway, since it's a Gtkmm project.  I
> have this configure.ac file that I am trying on a small test project.
> The configure.ac can be found here:
> Every time I run autoconf, I have to run it twice.  The first time I
> get the errors:
>
> configure:1728: error: possibly undefined macro: AC_PACKAGE_TARNAME
>        If this token and others are legitimate, please use m4_pattern_allow.
>        See the Autoconf documentation.
> configure:1729: error: possibly undefined macro: AC_PACKAGE_VERSION
>
> The second time I run it, it works.
>
> What am I doing wrong in the configure.ac?

Did you run aclocal first?  m4 can't expand some macros because they
haven't been defined.

"autoconf at gnu dot org" is a more appropriate list.


-- 
Roger Leigh

                Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.



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