autoconf
[Top][All Lists]
Advanced

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

Re: Overriding PACKAGE_TARNAME?


From: Ralf Wildenhues
Subject: Re: Overriding PACKAGE_TARNAME?
Date: Fri, 5 Aug 2005 16:40:16 +0200
User-agent: Mutt/1.4.1i

Hi Warren,

* Warren Young wrote on Fri, Aug 05, 2005 at 04:30:25PM CEST:
> I maintain a package called MySQL++, which uses autoconf.  In previous 
> versions of the library, we used AM_INIT_AUTOMAKE, calling the package 
> 'mysql++'.  For the upcoming version of the library, we have switched 
> over to the newer AC_INIT syntax.
> 
> But now, 'make dist' is creating tarballs called mysql---x.y.z.tar.gz 
> instead of mysql++-x.y.z.tar.gz.  I can see why this is happening in the 
> configure file, but I don't like it.
> 
> How do we either prevent AC_INIT from turning + signs into - signs when 
> creating the PACKAGE_TARNAME macro, or override PACKAGE_TARNAME once 
> it's been defined?

Quoting "info Autoconf 'Initializing configure'":
|
|  -- Macro: AC_INIT (PACKAGE, VERSION, [BUG-REPORT], [TARNAME])

So do it like this:

AC_INIT([MySQL++], [1.2345], address@hidden, [mysql++])

Cheers,
Ralf




reply via email to

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