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

build: add conditional autoreconf #398

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dabrain34
Copy link

No description provided.

Copy link
Contributor

@g-maxime g-maxime left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have nothing against the changes in autogen.sh itself.
But autotools aren't supposed to be run by the final user.

Extra, this fail on our macOS build environment:
configure.ac:29: error: possibly undefined macro: AC_PROG_LIBTOOL If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: /opt/local/bin/autoconf failed with exit status: 1

else
automake -a
chmod a+x configure
if [ -z "$NOCONFIGURE" ]; then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am reluctant to have default behavior to launch ./configure, it is not the previous behavior and autogen.sh is planned for generating files for the final user, here we would have to change our build scripts in other places if we don't want to launch unnecessarily ./configure.

@JeromeMartinez
Copy link
Member

But autotools aren't supposed to be run by the final user.

I am fine with that if autotools are installed, especially if it prevents the user to launch our scripts (I understand from the issue ticket that they fail if autotools is installed).

Extra, this fail on our macOS build environment

Maybe a warning already existing due to the bad configure.ac, and failing due to added "--warnings=all"? Maybe good to fix this warning at the same time.

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

Successfully merging this pull request may close these issues.

None yet

3 participants