autoconf
[Top][All Lists]
Advanced

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

Re: Using $bindir in configure.ac


From: Stepan Kasal
Subject: Re: Using $bindir in configure.ac
Date: Mon, 10 Jan 2005 15:29:58 +0100
User-agent: Mutt/1.4.1i

Hello,

On Sat, Jan 08, 2005 at 11:43:25AM +0100, Magnus Therning wrote:
>  http://www.gnu.org/software/ac-archive/htmldoc/ac_define_dir.html

This code contains the following:

   ifelse($3, ,
     AC_DEFINE_UNQUOTED($1, "$ac_define_dir"),
     AC_DEFINE_UNQUOTED($1, "$ac_define_dir", $3))

First, the `$3' argument is underquoted.  It is a description, so it could
easily contain a comma.  Second, I see no need for the `ifelse'.

So I propose the patch attached to this mail.
BTW: what does it mean that the macro is in the legacy section of the CVS?

Regards,
        Stepan

Attachment: ac-archive-ac_define_dir.patch
Description: Text document


reply via email to

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