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

Check for includes in /usr/include/ffmpeg/libav* #21

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

Conversation

adaugherity
Copy link

Nowadays some distros (e.g. openSUSE/packman and Fedora/RPMFusion) are putting the ffmpeg includes under /usr/include/ffmpeg, e.g. /usr/include/ffmpeg/libavcodec/avcodec.h. Patch configure to find these.

Using pkg-config might be a better/more portable option, since ffmpeg-devel includes pkg-config files, but it's more difficult. I got a pkg-config version working using PKG_CHECK_MODULES and PHP_ADD_INCLINE, but only by running aclocal; autoconf after phpize and before configure, as for some reason phpize isn't loading /usr/share/aclocal/pkg.m4. Even that is way further down the autotools rabbit-hole than I ever wished to venture, so I decided to submit the simpler patch instead.

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.

1 participant