projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c5bed3b
)
Fix setting of automake ISTHR to reflect POSIX thread availability
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 26 May 2003 20:07:40 +0000
(20:07 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 26 May 2003 20:07:40 +0000
(20:07 +0000)
configure.in
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index
6e3dacf
..
1b8765f
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-1,5
+1,5
@@
dnl Zebra, Index Data Aps, 1995-2003
dnl Zebra, Index Data Aps, 1995-2003
-dnl $Id: configure.in,v 1.78 2003-05-21 14:39:21 adam Exp $
+dnl $Id: configure.in,v 1.79 2003-05-26 20:07:40 adam Exp $
dnl
AC_INIT(include/zebraver.h)
AM_INIT_AUTOMAKE(idzebra,1.3.11)
dnl
AC_INIT(include/zebraver.h)
AM_INIT_AUTOMAKE(idzebra,1.3.11)
@@
-71,14
+71,16
@@
AC_ARG_WITH(dsssl,[ --with-dsssl[=DIR] Use DSSSL in DIR/{html,print}/docbo
dnl
AC_ARG_ENABLE(threads, [ --disable-threads disable threads],[enable_threads=$enableval],[enable_threads=yes])
if test "$enable_threads" = "yes"; then
dnl
AC_ARG_ENABLE(threads, [ --disable-threads disable threads],[enable_threads=$enableval],[enable_threads=yes])
if test "$enable_threads" = "yes"; then
- AM_CONDITIONAL(ISTHR,true)
yazflag=threads
else
yazflag=threads
else
- AM_CONDITIONAL(ISTHR,false)
yazflag=""
fi
YAZ_INIT($yazflag)
yazflag=""
fi
YAZ_INIT($yazflag)
-
+if echo "$YAZINC"|grep YAZ_POSIX_THREADS=1 >/dev/null; then
+ AM_CONDITIONAL(ISTHR,true)
+else
+ AM_CONDITIONAL(ISTHR,false)
+fi
dnl ------ Look for Tcl
dnl See if user has specified location of tclConfig.sh; otherwise
dnl see if tclConfig.sh exists in same prefix lcoation as tclsh; otherwise
dnl ------ Look for Tcl
dnl See if user has specified location of tclConfig.sh; otherwise
dnl see if tclConfig.sh exists in same prefix lcoation as tclsh; otherwise