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

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

 



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])

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux