Re: pango configure problem



James Henstridge <james daa com au> writes:

> according to the autoconf docs, AC_INIT should be the first statement in
> configure.in.  This doesn't seem to be the case in the pango
> configure.in.  It has a couple of AC_SUBST calls before AC_INIT.  Is it
> okay to apply this patch that fixes the problem?

Go ahead.
                                        Owen
 
> Index: configure.in
> ===================================================================
> RCS file: /cvs/gnome/pango/configure.in,v
> retrieving revision 1.54
> diff -u -r1.54 configure.in
> --- configure.in	2001/04/03 19:07:34	1.54
> +++ configure.in	2001/04/13 08:38:24
> @@ -1,13 +1,14 @@
>  dnl Process this file with autoconf to create configure.
>  
> +AC_INIT(ChangeLog)
> +
>  PANGO_MAJOR_VERSION=0
>  PANGO_MINOR_VERSION=14
>  
>  AC_SUBST(PANGO_MAJOR_VERSION)
>  AC_SUBST(PANGO_MINOR_VERSION)
>  
> -AC_INIT(ChangeLog)
> -AM_INIT_AUTOMAKE(pango, 0.14)
> +AM_INIT_AUTOMAKE(pango, $PANGO_MAJOR_VERSION.$PANGO_MINOR_VERSION)
>  
>  AM_CONFIG_HEADER(config.h)




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