[Nagiosplug-devel] need help with autoconf

Holger Weiß holger at cis.fu-berlin.de
Sun Oct 13 13:09:07 CEST 2013


* eponymous alias <eponymousalias at yahoo.com> [2013-10-12 21:49]:
> The issue is that the new code depends on a <xxxxx.h> header file, and I
> want to have the corresponding HAVE_XXXXX_H symbol defined.

If that's really all you need, then adding the line

	AC_CHECK_HEADERS([xxxxx.h])

to the "configure.in" file should do the trick.  Often you'll need more
checks (and maybe include Gnulib replacements if <xxxxx.h> is a system
header file), so you might want to tell us what exactly you're trying to
use.

Holger




More information about the Devel mailing list