f294acee08
Space Hulk is a science-fiction board game in the world of Warhammer 40000. It is aiming at providing a way to play SpaceHulk on your computer with the exact same rules as in the board version. Maintained by Antoine Jacoutot <ajacoutot@lphp.php>, thanks!
54 lines
1.6 KiB
Plaintext
54 lines
1.6 KiB
Plaintext
$OpenBSD: patch-configure,v 1.1.1.1 2005/11/26 19:18:13 alek Exp $
|
|
--- configure.orig 2003-09-15 19:38:54.000000000 +0200
|
|
+++ configure 2003-09-15 19:39:19.000000000 +0200
|
|
@@ -5793,49 +5793,6 @@ cross_compiling=$ac_cv_prog_cc_cross
|
|
|
|
|
|
|
|
-echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
|
|
-echo "configure:5798: checking for pthread_create in -lpthread" >&5
|
|
-ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
|
|
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
- echo $ac_n "(cached) $ac_c" 1>&6
|
|
-else
|
|
- ac_save_LIBS="$LIBS"
|
|
-LIBS="-lpthread $LIBS"
|
|
-cat > conftest.$ac_ext <<EOF
|
|
-#line 5806 "configure"
|
|
-#include "confdefs.h"
|
|
-/* Override any gcc2 internal prototype to avoid an error. */
|
|
-/* We use char because int might match the return type of a gcc2
|
|
- builtin and then its argument prototype would still apply. */
|
|
-char pthread_create();
|
|
-
|
|
-int main() {
|
|
-pthread_create()
|
|
-; return 0; }
|
|
-EOF
|
|
-if { (eval echo configure:5817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
- rm -rf conftest*
|
|
- eval "ac_cv_lib_$ac_lib_var=yes"
|
|
-else
|
|
- echo "configure: failed program was:" >&5
|
|
- cat conftest.$ac_ext >&5
|
|
- rm -rf conftest*
|
|
- eval "ac_cv_lib_$ac_lib_var=no"
|
|
-fi
|
|
-rm -f conftest*
|
|
-LIBS="$ac_save_LIBS"
|
|
-
|
|
-fi
|
|
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
|
|
- echo "$ac_t""yes" 1>&6
|
|
- LIBPTHREAD="-lpthread"
|
|
-else
|
|
- echo "$ac_t""no" 1>&6
|
|
-fi
|
|
-
|
|
-
|
|
-
|
|
-
|
|
# Check whether --enable-kernel-threads or --disable-kernel-threads was given.
|
|
if test "${enable_kernel_threads+set}" = set; then
|
|
enableval="$enable_kernel_threads"
|