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 6723317
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T09:33:17+00:00 2026-05-26T09:33:17+00:00

I am forced to learn some things about autotools for my job, and I

  • 0

I am forced to learn some things about autotools for my job, and I really don’t know what I’m doing. Our project is often distributed using rpms, and we want to remove our test code from our rpm builds. To fix this problem, I edited AC_OUTPUT in configure.ac to only include the check Makefile if configured to do so (before it did this regardless).

Since making this change, automake has stopped generating Makefile.in from Makefile.am in the test directories. I’m thinking that I need some way to tell automake to generate these Makefile.in files, but I can’t figure out how to do it. I can’t seem to find how to specify this separately. Can show me how to do that or point me in the right direction?

  • 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-26T09:33:18+00:00Added an answer on May 26, 2026 at 9:33 am

    It turns out that the way to solve this problem for me was to use AC_CONFIG_FILES instead of tinkering with SUBDIRS. In configure.ac, instead of adding the test directories to the AC_OUTPUT list, the way to resolve it was to include them using the AC_CONFIG_FILES. This solves my problem so that:

    1. The Makefiles aren’t built unless configured to do so.
    2. The Makefile.in files are built.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was trying to learn some more about the inner workings of vtables and
I am starting to learn Python, but I'm forced to use a v2.6.2 interpreter.
I was forced into a software project at work a few years ago, and
Soon enough I will be forced to present a project in Haskell that is
I want to learn the answer for different DB engines but in our case;
Am trying to learn Python the Atlantic way and am stuck on Project Euler
I was forced to learn the Delphi .NET language even though it is kinda
First I'm not mad, because I use MVVM in WinForms-) I know about MVP
in an attempt to learn something about ARM assembly, i have written a simple
I'm developing an N-body algorithm in CUDA and I would like to learn some

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.