[Box Backup] Compile Error on OpenBSD 4.4 AMD64

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


=20

> 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] =
On
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

Hi!

While testing 0.11rc2 on OpenBSD/i386 I noticed that the logic criteria =
for
"__syscall needing definition" configure test were inverted. This test =
was
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_DEFUN([AX_FUNC_SYSCALL], [
   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],
[have___syscall_need_defn],
       [AC_RUN_IFELSE([AC_LANG_PROGRAM([[
           $ac_includes_default

(regenerate configure after applying)


Regards, Mitja

_______________________________________________
boxbackup mailing list
boxbackup at fluffy.co.uk
http://lists.warhead.org.uk/mailman/listinfo/boxbackup=20




More information about the Boxbackup mailing list