You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
transmission fails to cross build from source, because it uses
AC_RUN_IFELSE. Fortunately, the use is unnecessary and can simply be
filled with AC_COMPILE_IFELSE. The attached patch implements that.
Index: transmission-2.92/configure.ac
===================================================================
--- transmission-2.92.orig/configure.ac
+++ transmission-2.92/configure.ac
@@ -386,14 +386,12 @@
dnl MINIUPNPC_API_VERSION and we won't have to figure
dnl it out on our own
if test "x$upnp_version" = "xunknown" ; then
- AC_RUN_IFELSE(
+ AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM(
[#include <stdlib.h>
#include <miniupnpc/miniupnpc.h>],
- [#ifdef MINIUPNPC_API_VERSION
- return EXIT_SUCCESS;
- #else
- return EXIT_FAILURE;
+ [#ifndef MINIUPNPC_API_VERSION
+ #error MINIUPNPC_API_VERSION undefined
#endif]
)],
[upnp_version=">= 1.7"]
would you consider merging it?
thanks,
Sandro
The text was updated successfully, but these errors were encountered:
Hello,
this was reported in Debian as http://bugs.debian.org/885151:
transmission fails to cross build from source, because it uses
AC_RUN_IFELSE. Fortunately, the use is unnecessary and can simply be
filled with AC_COMPILE_IFELSE. The attached patch implements that.
would you consider merging it?
thanks,
Sandro
The text was updated successfully, but these errors were encountered: