Source: gamin
Version: 0.1.10-6
Tags: patch upstream
User: [email protected]
Usertags: ftcbfs
gamin fails to cross build from source, because it uses AC_RUN_IFELSE
without a cross default or a cached variable. In this case, the relevant
check is a sanity check (for working abstract unix sockets when the user
requested use of abstract unix sockets). It is reasonable to skip the
check for cross compilation only. Please consider applying the attached
patch.
Helmut
--- gamin-0.1.10.orig/configure.in
+++ gamin-0.1.10/configure.in
@@ -427,10 +427,10 @@
else
exit (0);
]])],
- [have_abstract_sockets=yes],
- [have_abstract_sockets=no])
+ [have_abstract_sockets=yes; AC_MSG_RESULT(yes)],
+ [have_abstract_sockets=no; AC_MSG_RESULT(no)],
+ [have_abstract_sockets=yes; AC_MSG_RESULT(cross compiling... guessing yes)])
AC_LANG_POP(C)
-AC_MSG_RESULT($have_abstract_sockets)
if test x$enable_abstract_sockets = xyes; then
if test x$have_abstract_sockets = xno; then