1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 01:51:47 +02:00

Fix build of bsdiff-4.3 on machines that don't have <err.h>, such as Solaris.

This commit is contained in:
Peter Simons 2010-06-24 17:51:31 +00:00
parent d63375d529
commit af09fe12dd
3 changed files with 17 additions and 1 deletions

View file

@ -136,6 +136,10 @@ AC_CHECK_HEADERS([locale], [], [], [])
AC_LANG_POP(C++)
# Check for <err.h>.
AC_CHECK_HEADER([err.h], [], [bsddiff_compat_include="-Icompat-include"])
AC_SUBST([bsddiff_compat_include])
# Check whether we have the personality() syscall, which allows us to
# do i686-linux builds on x86_64-linux machines.
AC_CHECK_HEADERS([sys/personality.h])