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: Don't use AC_CHECK_FILE when building manpages #5289

Closed
wants to merge 1 commit into from

Conversation

jonte
Copy link
Contributor

@jonte jonte commented Aug 21, 2020

AC_CHECK_FILE does not support cross-compilation, and will only check
the host rootfs. Replace AC_CHECK_FILE with a 'test -f ' instead,
to allow building manpages when cross-compiling.

Signed-off-by: Jonatan Pålsson jonatan.p@gmail.com

AC_CHECK_FILE does not support cross-compilation, and will only check
the host rootfs. Replace AC_CHECK_FILE with a 'test -f <FILE>' instead,
to allow building manpages when cross-compiling.

Signed-off-by: Jonatan Pålsson <jonatan.p@gmail.com>
@sumit-bose
Copy link
Contributor

Hi,

thanks for the patch, it looks like other projects had to do similar changes to allow cross-compilation. So, ACK.

Btw, may I ask for which platform you are trying to cross-compile SSSD?

bye,
Sumit

@jonte
Copy link
Contributor Author

jonte commented Aug 25, 2020

Hi,

Btw, may I ask for which platform you are trying to cross-compile SSSD?

Sure. I am building for x86 right now, using Yocto. The OpenEmbedded meta-security layer has support for SSSD. There's basic support for building manual pages (i.e. the right switch can be passed to the configure script), but when enabling it, I run in to the AC_CHECK_FILE issue which this patch fixes.

I still need to do some work in the SSSD recipe in meta-security, but this patch is the first step.

Thanks!

@pbrezina pbrezina added the Ready to push Ready to push label Aug 27, 2020
@pbrezina
Copy link
Member

Pushed PR: #5289

  • master
    • 2b73285 - build: Don't use AC_CHECK_FILE when building manpages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants