need help with autoconf
eponymous alias <eponymousalias-/[email protected]> Sat, 12 Oct 2013 21:49:44 -0700 (PDT)
| Newsgroups | gmane.network.nagios.plugins.devel |
|---|---|
| Message-ID | <[email protected]> |
I'm developing an extension to an existing plugin, which I will submit in due course back to the team. However, I'm getting hung up on the autoconf-related aspects, so the Makefile.in files (for instance) are properly constructed to pass the right stuff to the compilation. 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. I've tried looking at similar header files to see how they are treated, and experimenting a lot, but my HAVE_XXXXX_H = @HAVE_XXXXX_H@ lines are not getting substituted as expected. Is there something obvious I am missing? Some special pixie dust I haven't spread around? Some standard template for processing a header file I don't know about? I've poked through the autoconf manual, added macro invocations that seem relevant, added a gl/m4/xxxxx_h.m4 macro file and a a reference to it, but nothing seems to do the trick. Any guidance would be appreciated. ------------------------------------------------------------------------------ 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