projects
/
platform
/
upstream
/
fontconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c4c497
)
Fix pthreads setup
author
Behdad Esfahbod
<behdad@behdad.org>
Tue, 8 Jan 2013 02:10:14 +0000
(20:10 -0600)
committer
Behdad Esfahbod
<behdad@behdad.org>
Tue, 8 Jan 2013 02:10:14 +0000
(20:10 -0600)
As reported by Raimund Steger.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
4beca08
..
227a6f8
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-598,6
+598,9
@@
if test "$os_win32" = no; then
AX_PTHREAD([have_pthread=true])
fi
if $have_pthread; then
+ LIBS="$PTHREAD_LIBS $LIBS"
+ CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
+ CC="$PTHREAD_CC"
AC_DEFINE(HAVE_PTHREAD, 1, [Have POSIX threads])
fi
AM_CONDITIONAL(HAVE_PTHREAD, $have_pthread)