Re: UPDATED (glib-gettextize patch)



On Sat, 2001-12-15 at 15:10, Miles Lane wrote:
> On Fri, 2001-12-14 at 22:50, Darin Adler wrote:
<snip>
> > > -AM_GNOME2_GETTEXT
> > > 
> > > -GNOME_COMMON_INIT
> > > +GETTEXT_PACKAGE=bonobo-activation
> > > +AC_SUBST(GETTEXT_PACKAGE)
> > > +AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE")
> > > +
> > > +AM_GLIB_GNU_GETTEXT
> > 
> > This looks like the real change. This part I would approve for commit
> > without reservations, although I am slightly surprised that the
> > AC_DEFINE_UNQUOTED line is needed.

<snip>

The information here makes it appear that this is a correct application
of the macro.  From:

  http://www.lns.cornell.edu/public/COMP/info/autoconf/autoconf_6.html

Macro: AC_DEFINE_UNQUOTED (variable [, value [, description]])
	Like AC_DEFINE, but three shell expansions are performed--once--on 
	variable and value: variable expansion (`$'), command substitution 
	(``'), and backslash escaping (`\'). Single and double quote 
	characters in the value have no special meaning. Use this macro 
	instead of AC_DEFINE when variable or value is a shell variable. 

Examples:

AC_DEFINE_UNQUOTED(config_machfile, "${machfile}")
AC_DEFINE_UNQUOTED(GETGROUPS_T, $ac_cv_type_getgroups)
AC_DEFINE_UNQUOTED(${ac_tr_hdr})






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