Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6953081
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:25:58+00:00 2026-05-27T14:25:58+00:00

We using an automated build system which downloads and compiles source. The only interface

  • 0

We using an automated build system which downloads and compiles source. The only interface I have to control the behaviour of the compilation is by setting ENV VARs and the arguments given to `./configure’.

The issue is that the ‘configure’ script (of the particular source I’m compiling) checks for a system header file, which if found, adversely affects the compilation process. (the compilation process will avoid compiling libraries which it believes are already installed on the local system when the above mentioned system header file is found.)

Since this is an automated process, I cannot modify the ‘configure’ script in anyway, and as mentioned can only specify the environment variables and arguments passed to `configure’. The configure script uses the AC_CHECK_HEADERS macro to generate the code to do the check for the system file. Is there anyway to avoid a check of a specific system file from the configure arguments?

The troublesome header file is in the path /usr/include/pcap/.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T14:25:58+00:00Added an answer on May 27, 2026 at 2:25 pm

    Well there’s a few things you could try:

    • remove foo.h from AC_CHECK_HEADERS and always build the library
    • use AC_CHECK_HEADER for foo.h and check for /usr/include/pcap/foo.h and don’t AC_DEFINE(HAVE_FOO_H) if /usr/include/pcap/foo.h is there.
    • you could use AC_ARG_ENABLE or AC_ARG_WITH to turn off the offending test on a host-by-host basis via arguments to configure. So the answer to that question is yes.

    All of these assume you can modify configure.ac and regenerate configure. If you can’t do that you might have to modify configure (in an automated fashion, of course).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When using an automated build system, it is usually a source control entry which
I have ASP.NET web pages for which I want to build automated tests (using
We have an automated build system configured using Jenkins, integrate with Gerrit. One of
I am trying to set up an automated build system on Windows using Cygwin.
I'm trying to build a system using jqgrid which does everything on the clientside,
Our project is held in a SourceSafe database. We have an automated build, which
I'm using Hudson and Maven 2 for my automated build/CI. I can build fine
For automated testing (using Hudson) I have a script that generates a bunch of
I'm trying to setup an automated build server for my rails projects using Hudson
I want to set up automated build using CMake on Windows. I am using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.