Re: need help with autoconf

Holger Weiß <[email protected]> Sun, 13 Oct 2013 13:09:07 +0200
Newsgroups gmane.network.nagios.plugins.devel
Organization Freie Universität Berlin
Message-ID <[email protected]>
* eponymous alias <eponymousalias-/[email protected]> [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

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________________
Nagios Plugin Development Mailing List Nagiosplug-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null