[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Some fixes for GNU/kFreeBSD



Hi,

thanks to Petr Salinger, which detected and fixed these problems, here
are two patches to make openal and freealut build correctly on
GNU/kFreeBSD. Please think about including them in the next releases.

Cheers,

-- 
Cyril Brulebois

PS: I'm not subscribed, Cc: welcome, thanks.
--- freealut-1.0.1~/configure.ac	2006-02-11 10:37:02.000000000 +0100
+++ freealut-1.0.1/configure.ac	2006-12-20 17:15:32.000000000 +0100
@@ -43,7 +43,7 @@
 AC_DEFINE([ALUT_BUILD_LIBRARY], [1], [Define to 1 if you want to build the ALUT DLL.])
 
 # Checks for libraries. (not perfect yet)
-AC_SEARCH_LIBS([pthread_self], [pthread])
+AC_SEARCH_LIBS([pthread_create], [pthread])
 AC_SEARCH_LIBS([alGetError], [openal32 openal])
 
 ################################################################################
--- openal-0.0.8.orig/admin/autotools/m4/acx_pthread.m4
+++ openal-0.0.8/admin/autotools/m4/acx_pthread.m4
@@ -122,7 +122,7 @@
         ;;
 
 
-        *linux*)
+        *linux*|*-k*bsd*-gnu)
 
         # On Linux we want to actually link to pthread library, so test lib first
 
--- openal-0.0.8.orig/configure
+++ openal-0.0.8/configure
@@ -20678,7 +20678,7 @@
         ;;
 
 
-        *linux*)
+        *linux*|*-k*bsd*-gnu)
 
         # On Linux we want to actually link to pthread library, so test lib first
 

Attachment: pgpOCjsg85cJB.pgp
Description: PGP signature


Reply to: