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

autogen: Report missing requirements #1394

Merged
merged 2 commits into from
Mar 17, 2018
Merged

Conversation

stweil
Copy link
Member

@stweil stweil commented Mar 17, 2018

autoconf-archive and pkg-config are required, but users often missed that requirements.

The script now detects and reports those missing requirements and removes
the incomplete generated configure script.

Signed-off-by: Stefan Weil [email protected]

stweil added 2 commits March 17, 2018 12:40
autoconf-archive is required, but users often missed that requirement.

The script now detects and reports missing autoconf-archive and removes
the incomplete generated configure script.

Signed-off-by: Stefan Weil <[email protected]>
pkg-config is required.

The script now detects and reports missing pkg-config and removes
the incomplete generated configure script.

Signed-off-by: Stefan Weil <[email protected]>
@stweil stweil changed the title autogen: Report missing autoconf-archive autogen: Report missing requirements Mar 17, 2018
@zdenop zdenop merged commit d50769d into tesseract-ocr:master Mar 17, 2018
@zdenop
Copy link
Contributor

zdenop commented Mar 17, 2018

thanks for this ;-)

autogen.sh Outdated
@@ -120,6 +120,13 @@ if grep -q AX_CHECK_COMPILE_FLAG configure; then
bail_out
fi

if grep -q PKG_CHECK_MODULES configure; then
# The generated configure is invalid because pkg-confg is unavailable.
Copy link
Collaborator

Choose a reason for hiding this comment

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

The generated configure is invalid because pkg-confg is unavailable.

pkg-confg => pkg-config

@stweil
Copy link
Member Author

stweil commented Mar 17, 2018

@amitdo, thank you for your very careful review. I fixed the typo in PR #1396.

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.

3 participants