[PR #1504] [MERGED] [FIX] linux/configure.ac: Fix tesseract conditional problem. #2227

Closed
opened 2026-01-29 17:20:58 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/CCExtractor/ccextractor/pull/1504
Author: @apteryks
Created: 3/17/2023
Status: Merged
Merged: 3/17/2023
Merged by: @cfsmp3

Base: masterHead: fix-tesseract-conditional-bug


📝 Commits (2)

  • 23619c3 linux/configure.ac: Fix tesseract conditional problem.
  • bbe9f7b Merge branch 'master' into fix-tesseract-conditional-bug

📊 Changes

2 files changed (+2 additions, -1 deletions)

View changed files

📝 docs/CHANGES.TXT (+1 -0)
📝 linux/configure.ac (+1 -1)

📄 Description

Fixes #1503.

Using tesseract-ocr's stock pkg-config, it would produce an error due to unquoted whitespace:

$ test ! -z pkg-config --libs-only-l --silence-errors tesseract
bash: test: syntax error: `-larchive' unexpected

  • linux/configure.ac: Use a positive test, and double-quote the $() command substitution.

In raising this pull request, I confirm the following (please check boxes):

  • I have read and understood the contributors guide.
  • I have checked that another pull request for this purpose does not exist.
  • I have considered, and confirmed that this submission will be valuable to others.
  • I accept that this submission may not be used, and the pull request closed at the will of the maintainer.
  • I give this submission freely, and claim no ownership to its content.
  • I have mentioned this change in the changelog.

My familiarity with the project is as follows (check one):

  • I have never used CCExtractor.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/CCExtractor/ccextractor/pull/1504 **Author:** [@apteryks](https://github.com/apteryks) **Created:** 3/17/2023 **Status:** ✅ Merged **Merged:** 3/17/2023 **Merged by:** [@cfsmp3](https://github.com/cfsmp3) **Base:** `master` ← **Head:** `fix-tesseract-conditional-bug` --- ### 📝 Commits (2) - [`23619c3`](https://github.com/CCExtractor/ccextractor/commit/23619c3bae99a57402be8f6040568828f54006e4) linux/configure.ac: Fix tesseract conditional problem. - [`bbe9f7b`](https://github.com/CCExtractor/ccextractor/commit/bbe9f7b4ae56864dc308c04e849701b380717269) Merge branch 'master' into fix-tesseract-conditional-bug ### 📊 Changes **2 files changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/CHANGES.TXT` (+1 -0) 📝 `linux/configure.ac` (+1 -1) </details> ### 📄 Description Fixes #1503. Using tesseract-ocr's stock pkg-config, it would produce an error due to unquoted whitespace: $ test ! -z `pkg-config --libs-only-l --silence-errors tesseract` bash: test: syntax error: `-larchive' unexpected * linux/configure.ac: Use a positive test, and double-quote the $() command substitution. **In raising this pull request, I confirm the following (please check boxes):** - [x] I have read and understood the [contributors guide](https://github.com/CCExtractor/ccextractor/blob/master/.github/CONTRIBUTING.md). - [x] I have checked that another pull request for this purpose does not exist. - [x] I have considered, and confirmed that this submission will be valuable to others. - [x] I accept that this submission may not be used, and the pull request closed at the will of the maintainer. - [x] I give this submission freely, and claim no ownership to its content. - [x] **I have mentioned this change in the [changelog](https://github.com/CCExtractor/ccextractor/blob/master/docs/CHANGES.TXT).** **My familiarity with the project is as follows (check one):** - [x] I have never used CCExtractor. --- --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 17:20:58 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#2227