Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to create configure file with automake #49

Open
marcschumacher opened this issue Apr 24, 2024 · 0 comments
Open

Unable to create configure file with automake #49

marcschumacher opened this issue Apr 24, 2024 · 0 comments

Comments

@marcschumacher
Copy link

Describe the bug
I am trying to generate the configure file as described in INSTALL, but I get the error

configure.ac:6: error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.

After running ./configure which anyways got created, I get the following error:

❯ ./configure
./configure: line 2398: syntax error near unexpected token `-Wall'
./configure: line 2398: `AM_INIT_AUTOMAKE(-Wall -Wno-portability)'

To Reproduce

  1. Download the repo to a local folder
  2. Move into the folder using cd
  3. Run autoconf
  4. Run ./configure

Expected behavior
The configure file should be generated without errors. The generated ./configure file should not create an error.

Operating system and platform (please complete the following information):

  • MacOS Sonoma 14.4.1 (23E224)
  • Autoconf 2.72

Additional context
I found this article on Stackoverflow stating that the configuration in configure.am should not contain both AC_INIT and AM_INIT_AUTOMAKE. Is that possibly something to fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant