summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2002-04-21 00:34:44 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2002-04-21 00:34:44 +0000
commit2fa0c07c41cd99894f44f47c9de97b720093cc07 (patch)
tree174b01455f8fad589ecbbd11b00462e6f55ab689
parent19e885691fcbfa46564fab93bde6d946350584da (diff)
downloadxine-lib-2fa0c07c41cd99894f44f47c9de97b720093cc07.tar.gz
xine-lib-2fa0c07c41cd99894f44f47c9de97b720093cc07.tar.bz2
re-adding THREAD_CFLAGS for xine-config
CVS patchset: 1751 CVS date: 2002/04/21 00:34:44
-rw-r--r--configure.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 60e5da323..37faa942c 100644
--- a/configure.in
+++ b/configure.in
@@ -163,7 +163,8 @@ dnl
case "$host" in
*-*-freebsd*)
THREAD_LIBS="-L/usr/local/lib -pthread"
- CFLAGS="$CFLAGS -L/usr/local/lib -I/usr/local/include -D_THREAD_SAFE"
+ THREAD_CFLAGS="-I/usr/local/include -D_THREAD_SAFE"
+ CFLAGS="$CFLAGS $THREAD_CFLAGS"
DEBUG_CFLAGS="$DEBUG_CFLAGS -L/usr/local/lib -I/usr/local/include -D_THREAD_SAFE"
CPPFLAGS="$CPPFLAGS -I/usr/local/include -L/usr/local/lib"
;;
@@ -174,6 +175,9 @@ case "$host" in
;;
esac
AC_SUBST(THREAD_LIBS)
+dnl needed for xine-config
+AC_SUBST(THREAD_CFLAGS)
+
dnl
dnl dynamic linker