void-packages/srcpkgs/icecast/patches/cross-compile-disable-curlcheck.patch
2014-10-05 10:07:28 +02:00

56 lines
1.5 KiB
Diff

--- configure.orig 2014-10-05 09:35:51.721250204 +0200
+++ configure 2014-10-05 09:54:44.915165393 +0200
@@ -12591,17 +12591,10 @@ ac_xslt_save_LIBS="$LIBS"
ac_xslt_save_CFLAGS="$CFLAGS"
LIBS="$XSLT_LIBS $LIBS"
CFLAGS="$CFLAGS $XSLT_CFLAGS"
-for ac_func in xsltSaveResultToString
-do :
- ac_fn_c_check_func "$LINENO" "xsltSaveResultToString" "ac_cv_func_xsltSaveResultToString"
-if test "x$ac_cv_func_xsltSaveResultToString" = xyes; then :
- cat >>confdefs.h <<_ACEOF
+cat >>confdefs.h <<_ACEOF
#define HAVE_XSLTSAVERESULTTOSTRING 1
_ACEOF
-fi
-done
-
CFLAGS="$ac_xslt_save_CFLAGS"
LIBS="$ac_xslt_save_LIBS"
@@ -13999,34 +13992,6 @@ done
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl" >&5
$as_echo_n "checking for libcurl... " >&6; }
-if test "$curl_ok" = "yes"
-then
- if test "$cross_compiling" = yes; then :
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "cannot run test program while cross compiling
-See \`config.log' for more details" "$LINENO" 5; }
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-#include <curl/curl.h>
-int main()
-{
- return 0;
-}
-
-_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-
-else
- curl_ok="no"
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
- conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
-
-fi
if test "$curl_ok" = "yes"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }