[Box Backup] Compile Error on OpenBSD 4.4 AMD64

Mitja Muženič boxbackup at boxbackup.org
Mon Oct 27 08:16:58 GMT 2008


> Thank you all for your help. I believe I have fixed the=20
> problem in the=20
> trunk and I'd appreciate your help testing it, if you have time.

Chris, have you seen this?

-----Original Message-----
From: boxbackup-admin at fluffy.co.uk [mailto:boxbackup-admin at fluffy.co.uk] =
Behalf Of Mitja Mu=BEeni=E8
Sent: Monday, February 11, 2008 11:19 PM
To: boxbackup at fluffy.co.uk
Subject: [Box Backup] 0.11rc2 - logic error in autoconf


While testing 0.11rc2 on OpenBSD/i386 I noticed that the logic criteria =
"__syscall needing definition" configure test were inverted. This test =
never executed during configure and because of that, the regress tests
failed in intercept.cpp.

The following patch fixes that:

--- infrastructure/m4/ax_func_syscall.m4.orig   Tue Feb 12 00:11:49 2008
+++ infrastructure/m4/ax_func_syscall.m4        Tue Feb 12 00:12:19 2008
@@ -16,8 +16,8 @@
   AC_CHECK_HEADERS([sys/syscall.h unistd.h])
   AC_CHECK_FUNCS([syscall __syscall])
-  if test "x$ac_cv_func_syscall" !=3D "xyes" &&
-     test "x$ac_cv_func___syscall" !=3D "xyes"; then
+  if test "x$ac_cv_func_syscall" =3D "xyes" &&
+     test "x$ac_cv_func___syscall" =3D "xyes"; then
     AC_CACHE_CHECK([for __syscall needing definition],

(regenerate configure after applying)

Regards, Mitja

boxbackup mailing list
boxbackup at fluffy.co.uk

More information about the Boxbackup mailing list