Contribs: portaudio, AC_CHECK_SIZEOF works now in Xcompile

This commit is contained in:
Jean-Baptiste Kempf 2010-06-08 11:53:28 +02:00
parent 2c7bfe8001
commit f3b61b5f06

View File

@ -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"])