autoconf
[Top][All Lists]
Advanced

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

Re: how to add this function to the aclole.m4


From: Ralph Blach
Subject: Re: how to add this function to the aclole.m4
Date: Thu, 20 May 2010 14:27:02 -0400
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100402 Fedora/2.0.4-1.fc12 SeaMonkey/2.0.4

I am quite happy with aclocal, but and the default macros,

Is there anyway I can add a directory, and still have aclocal use new macro.

Chip

Eric Blake wrote:
On 05/19/2010 05:21 PM, Ralph Blach wrote:
I want to add this function to the aclocal.m4

How do I do it.
Are you using automake?  If so, just stick the function in a file in the
same directory as where you tell 'aclocal -I dir' to look.  If not, just
paste it in.

AC_DEFUN(AC_CHECK_FUNC_PROTO,
Underquoted.  You _really_ need to write this as:

AC_DEFUN([AC_CHECK_FUNC_PROTO],

to avoid annoying users using newer autoconf that warns them about your
quoting error.

AC_CHECK_FUNC_PROTO(gethostname, unistd.h)
Likewise underquoted, but not as severe.

AC_CHECK_FUNC_PROTO([gethostname], [unistd.h])





reply via email to

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