gam-server-0.1.10-armel-features.patch 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. From 05dcfcd69848e119c6a30d363bc41e896029f8af Mon Sep 17 00:00:00 2001
  2. From: Sebastian Dröge <slomo@debian.org>
  3. Date: Tue, 15 Dec 2009 12:24:25 +0000
  4. Subject: Bug 588338 - Enable linux specific features on armel
  5. ---
  6. diff --git a/configure.in b/configure.in
  7. index b0bbaec..e4b684e 100644
  8. --- a/configure.in
  9. +++ b/configure.in
  10. @@ -176,7 +176,7 @@ fi
  11. dnl check what OS we're on
  12. #AM_CONDITIONAL(HAVE_LINUX, test x$target_os = xlinux-gnu)
  13. -if test x$target_os = xlinux-gnu; then
  14. +if test x$target_os = xlinux-gnu -o x$target_os = xlinux-gnueabi; then
  15. AC_DEFINE([HAVE_LINUX],[],[Whether we are using linux or not])
  16. fi
  17. @@ -223,7 +223,7 @@ fi
  18. dnl check if inotify backend is enabled
  19. AM_CONDITIONAL(ENABLE_INOTIFY, test x$inotify = xtrue)
  20. -if test x$os = xlinux-gnu; then
  21. +if test x$os = xlinux-gnu -o x$os = xlinux-gnueabi; then
  22. AC_ARG_ENABLE(dnotify,
  23. AC_HELP_STRING([--disable-dnotify], [Disable the DNotify backend]),
  24. [dnotify="${enableval}"], [dnotify=true])
  25. @@ -297,10 +297,12 @@ else
  26. fi
  27. dnl Use weak symbols on linux/gcc to avoid imposing libpthreads to apps
  28. -if test x$os = xlinux-gnu -a x$WITH_THREADS = x1 ; then
  29. - if test "${CC}" = "gcc" ; then
  30. - echo Use weak symbols !
  31. - THREAD_LIBS=
  32. +if test x$os = xlinux-gnu -o x$os = xlinux-gnueabi ; then
  33. + if test x$WITH_THREADS = x1 ; then
  34. + if test "${CC}" = "gcc" ; then
  35. + echo Use weak symbols !
  36. + THREAD_LIBS=
  37. + fi
  38. fi
  39. fi
  40. AC_SUBST(THREAD_LIBS)
  41. --
  42. cgit v0.9.0.2