Source: fakeroot
Version: 1.31-1.2
User: [email protected]
Usertags: ftcbfs
Tags: patch upstream
Hi,
earlier, I sent a patch #980188 to make cross building just work for
linux. Unfortunately, I missed the 32bit arm case there. While it cross
builds successfully on most release architectures now, we need another
change to support them. I'm attaching the fix for your convenience.
Helmut
--- fakeroot-1.31.orig/configure.ac
+++ fakeroot-1.31/configure.ac
@@ -54,13 +54,16 @@
}]])],[ac_cv_use_ipc=sysv],[ac_cv_use_ipc=tcp],[ac_cv_use_ipc=cross])
if test $ac_cv_use_ipc = cross; then
- if test "$host_os" = linux-gnu; then
- ac_cv_use_ipc=sysv
- AC_MSG_RESULT([cross, guessing yes])
- else
- (set -o posix; set)
- AC_MSG_ERROR([cross compiling, unknown result for $host_os])
- fi
+ case "$host_os" in
+ (linux-gnu*)
+ ac_cv_use_ipc=sysv
+ AC_MSG_RESULT([cross, guessing yes])
+ ;;
+ (*)
+ (set -o posix; set)
+ AC_MSG_ERROR([cross compiling, unknown result for $host_os])
+ ;;
+ esac
elif test $ac_cv_use_ipc = "tcp"; then
AC_MSG_RESULT([No, using TCP])
else