how to add translations

Andreas Pakulat apaku at gmx.de
Wed Dec 15 23:01:32 GMT 2004


On 15.Dec 2004 - 16:17:55, Steven Suson wrote:
> I believe that configure.in is created using Perl scripts located in the 
> admin directory (could be wrong here), but autoconf takes as input the 
> configure.in in order to generate the configure script.

Right, kdevelop basically executes WANT_AUTOMAKE_1_6="1"
WANT_AUTOCONF_2_5="1" make -f Makefile.cvs, which in turn calls make
-f admin/Makefile.common cvs. This results in:

*** Creating acinclude.m4
*** Creating list of subdirectories
*** Creating configure.in
*** Creating aclocal.m4
*** Creating configure
*** Creating config.h template
*** Creating Makefile templates
*** Postprocessing Makefile templates
*** Creating date/time stamp

> There are two forms for this, depending on the version of autoconf. For 
> 2.5n the args to AC_INIT are PackageName,Version,EmailAddressofMaintainer
> 
> For versions of autoconf prior to 2.5, the AM_INIT_AUTOMAKE macro is 
> used, with the same arguments. The form of AC_INIT that you appear to be 
> using is for pre-2.5 autconf.

Aaah...

Ok, now I'm really confused because KDEVELOP set's WANT_AUTOMAKE_1_6
WANT_AUTOCONF_2_5 before any make invocation. And I do have
AM_INIT_AUTOMAKE in configure.in.in set to $APPNAMELC$, $VERSION$).
And even worse: I do only have autoconf 2.59 installed.

Further investigation leads me to 

admin/configure.in.min, which has AC_INIT(acinclude.m4), but if I
change that to AC_INIT($APPNAMELC$,$VERSION$), I get messages from
autoconf. I could set it to literals, but then I have to change it
every time I update the version. There must be another way to do
this...

Andreas

-- 
You will be a winner today.  Pick a fight with a four-year-old.

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list