Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
move ffi/ffi.h first since it seems to be more common too
Browse files Browse the repository at this point in the history
  • Loading branch information
embray committed Jan 29, 2019
1 parent 761c978 commit 3d2eb36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/pkgs/libffi/spkg-configure.m4
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ SAGE_SPKG_CONFIGURE([libffi], [
dnl First try checking for libffi with pkg-config
PKG_CHECK_MODULES([LIBFFI], [libffi], [], [
dnl Fallback to manually grubbing around for headers and libs
AC_CHECK_HEADERS([ffi.h ffi/ffi.h], [sage_spkg_install_libffi=no; break], [sage_spkg_install_libffi=yes])
AC_CHECK_HEADERS([ffi/ffi.h ffi.h], [sage_spkg_install_libffi=no; break], [sage_spkg_install_libffi=yes])
AC_SEARCH_LIBS([ffi_call], [ffi], [], [sage_spkg_install_libffi=yes])
])
])
Expand Down

0 comments on commit 3d2eb36

Please sign in to comment.