[Top][All Lists]

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

Re: how to test for a prototype difference

From: Eric Blake
Subject: Re: how to test for a prototype difference
Date: Mon, 19 May 2014 08:14:11 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

On 05/17/2014 11:07 AM, Thomas Klausner wrote:

>>> Here's what I came up with:
>>> AC_CACHE_CHECK([parameter type for backtrace()],
>>>   [am_cv_proto_backtrace_type],
>> The am_cv_ prefix is used by Automake so I suggest choosing a
>> different one.
> What do you suggest using as prefixes?

Something relevant to your project.  For example, gnulib uses gl_,
coreutils uses cu_, libtool uses lt_, m4 uses M4_.  It doesn't have to
be limited to 2 alphabetics; but it should be your own prefix rather
than stomping on ac_ (autoconf) or am_ (automake), so that your package
isn't hurt if the autotools later make use of that variable name in a
different way.

Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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