annotate src/mingw-osmesa-1-pthreads.patch @ 3787:282bc5054a7f

(incompletely) attempt to make osmesa actually build for Windows
author John W. Eaton <jwe@octave.org>
date Sat, 14 Feb 2015 19:58:11 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3787
282bc5054a7f (incompletely) attempt to make osmesa actually build for Windows
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 diff -u a/configure.ac b/configure.ac
282bc5054a7f (incompletely) attempt to make osmesa actually build for Windows
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 --- a/configure.ac 2014-06-25 00:33:39.000000000 -0400
282bc5054a7f (incompletely) attempt to make osmesa actually build for Windows
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3 +++ b/configure.ac 2015-02-14 19:03:49.113882994 -0500
282bc5054a7f (incompletely) attempt to make osmesa actually build for Windows
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 @@ -514,11 +514,17 @@
282bc5054a7f (incompletely) attempt to make osmesa actually build for Windows
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 AC_CHECK_FUNC([posix_memalign], [DEFINES="$DEFINES -DHAVE_POSIX_MEMALIGN"])
282bc5054a7f (incompletely) attempt to make osmesa actually build for Windows
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6
282bc5054a7f (incompletely) attempt to make osmesa actually build for Windows
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 dnl Check for pthreads
282bc5054a7f (incompletely) attempt to make osmesa actually build for Windows
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 -AX_PTHREAD
282bc5054a7f (incompletely) attempt to make osmesa actually build for Windows
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 +case "$host_os" in
282bc5054a7f (incompletely) attempt to make osmesa actually build for Windows
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10 + mingw*)
282bc5054a7f (incompletely) attempt to make osmesa actually build for Windows
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11 + ;;
282bc5054a7f (incompletely) attempt to make osmesa actually build for Windows
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12 + *)
282bc5054a7f (incompletely) attempt to make osmesa actually build for Windows
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13 + AX_PTHREAD
282bc5054a7f (incompletely) attempt to make osmesa actually build for Windows
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 dnl AX_PTHREADS leaves PTHREAD_LIBS empty for gcc and sets PTHREAD_CFLAGS
282bc5054a7f (incompletely) attempt to make osmesa actually build for Windows
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15 dnl to -pthread, which causes problems if we need -lpthread to appear in
282bc5054a7f (incompletely) attempt to make osmesa actually build for Windows
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16 dnl pkgconfig files.
282bc5054a7f (incompletely) attempt to make osmesa actually build for Windows
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17 -test -z "$PTHREAD_LIBS" && PTHREAD_LIBS="-lpthread"
282bc5054a7f (incompletely) attempt to make osmesa actually build for Windows
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 + test -z "$PTHREAD_LIBS" && PTHREAD_LIBS="-lpthread"
282bc5054a7f (incompletely) attempt to make osmesa actually build for Windows
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 + ;;
282bc5054a7f (incompletely) attempt to make osmesa actually build for Windows
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 +esac
282bc5054a7f (incompletely) attempt to make osmesa actually build for Windows
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21
282bc5054a7f (incompletely) attempt to make osmesa actually build for Windows
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 dnl SELinux awareness.
282bc5054a7f (incompletely) attempt to make osmesa actually build for Windows
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 AC_ARG_ENABLE([selinux],