Hello,

one more compatibility problem showed up with libbacktrace on SPU:
we do not have the fcntl routine.  This does not cause any failure
on building the library, but when linking the final executable.

Fixed by disabling have_fcntl for SPU (just as is already done
for mingw).

Tested on x86_64-linux and spu-elf.

OK for mainline?

Bye,
Ulrich


ChangeLog:

        * configure.ac: For spu-*-* targets, set have_fcntl to no.
        * configure: Regenerate.

Index: libbacktrace/configure.ac
===================================================================
*** libbacktrace/configure.ac   (revision 227304)
--- libbacktrace/configure.ac   (working copy)
*************** fi
*** 325,330 ****
--- 331,337 ----
  if test -n "${with_target_subdir}"; then
     case "${host}" in
     *-*-mingw*) have_fcntl=no ;;
+    spu-*-*) have_fcntl=no ;;
     *) have_fcntl=yes ;;
     esac
  else
-- 
  Dr. Ulrich Weigand
  GNU/Linux compilers and toolchain
  ulrich.weig...@de.ibm.com

Reply via email to