[PR #715] [IMPROVEMENT] Add Autoconf scripts to make CCExtractor more linux standard compliant #1543

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

Original Pull Request: https://github.com/CCExtractor/ccextractor/pull/715

State: closed
Merged: No


Please prefix your pull request with one of the following: [FEATURE] [FIX] [IMPROVEMENT].

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.

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

  • I have never used CCExtractor.
  • I have used CCExtractor just a couple of times.
  • I absolutely love CCExtractor, but have not contributed previously.
  • I am an active contributor to CCExtractor.

This PR add autoconf scripts (mainly configure.ac and Makefile.am) to allow the standard configure / make / make install process for building and installing CCExtractor on Linux systems.

Makefile.am is mostly derived from the existing Makefile (removed in this PR as it is no longer required) with target renaming as appropriate.

All the lib checking (tesseract, leptonica, etc.) and option parsing (--enable-ocr, --enable-ffmpeg, etc.) is now moved to the configure step after the addition of relevant macros in configure.ac

The other files added (Makefile.in, config.h.in, etc.) allow the building and installation to take place on systems where autotools is not installed.

pre-build.sh was modified to use relative paths with respect to the directory in which the shell script exists and not the current build directory.

Tested on
Kernel : Linux 4.4.48-1-MANJARO (x86_64)
C Library : GNU C Library version 2.24 (stable)
Default C Compiler : GNU C Compiler version 6.3.1 20170109 (GCC)
Distribution : Manjaro Linux

Part 1 of 3 to resolve Issue #678

**Original Pull Request:** https://github.com/CCExtractor/ccextractor/pull/715 **State:** closed **Merged:** No --- Please prefix your pull request with one of the following: **[FEATURE]** **[FIX]** **[IMPROVEMENT]**. **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. **My familiarity with the project is as follows (check one):** - [ ] I have never used CCExtractor. - [x] I have used CCExtractor just a couple of times. - [ ] I absolutely love CCExtractor, but have not contributed previously. - [ ] I am an active contributor to CCExtractor. --- This PR add autoconf scripts (mainly configure.ac and Makefile.am) to allow the standard configure / make / make install process for building and installing CCExtractor on Linux systems. Makefile.am is mostly derived from the existing Makefile (removed in this PR as it is no longer required) with target renaming as appropriate. All the lib checking (tesseract, leptonica, etc.) and option parsing (--enable-ocr, --enable-ffmpeg, etc.) is now moved to the configure step after the addition of relevant macros in configure.ac The other files added (Makefile.in, config.h.in, etc.) allow the building and installation to take place on systems where autotools is not installed. pre-build.sh was modified to use relative paths with respect to the directory in which the shell script exists and not the current build directory. Tested on Kernel : Linux 4.4.48-1-MANJARO (x86_64) C Library : GNU C Library version 2.24 (stable) Default C Compiler : GNU C Compiler version 6.3.1 20170109 (GCC) Distribution : Manjaro Linux Part 1 of 3 to resolve Issue #678
claunia added the pull-request label 2026-01-29 17:17:04 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#1543