Browse Source

Contribs: portaudio, AC_CHECK_SIZEOF works now in Xcompile

pull/2/head
Jean-Baptiste Kempf 16 years ago
parent
commit
f3b61b5f06
  1. 17
      extras/contrib/src/Patches/portaudio-cross.patch

17
extras/contrib/src/Patches/portaudio-cross.patch

@ -10,20 +10,3 @@ diff -ruN portaudio/Makefile.in portaudio.n/Makefile.in
tests: bin-stamp $(TESTS)
diff -ruN portaudio/configure.in portaudio.n/configure.in
--- portaudio/configure.in 2007-11-13 22:22:56.000000000 +0100
+++ portaudio.n/configure.in 2007-12-18 05:43:14.000000000 +0100
@@ -95,9 +95,10 @@
dnl sizeof checks: we will need a 16-bit and a 32-bit type
-AC_CHECK_SIZEOF(short)
-AC_CHECK_SIZEOF(int)
-AC_CHECK_SIZEOF(long)
+dnl don't work if you crosscompile
+dnl AC_CHECK_SIZEOF(short)
+dnl AC_CHECK_SIZEOF(int)
+dnl AC_CHECK_SIZEOF(long)
save_LIBS="${LIBS}"
AC_CHECK_LIB(rt, clock_gettime, [rt_libs=" -lrt"])

Loading…
Cancel
Save