Added defines YAZ_GNU_THREADS, YAZ_POSIX_THREADS in code and yaz-config
[yaz-moved-to-github.git] / yaz-config.in
index 1ccd01b..53578bb 100644 (file)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id: yaz-config.in,v 1.8 2001-09-28 10:42:28 adam Exp $
+# $Id: yaz-config.in,v 1.9 2001-10-05 13:55:17 adam Exp $
 yazprefix=@prefix@
 yaz_echo_cflags=no
 yaz_echo_libs=no
@@ -115,7 +115,7 @@ else
 fi
 
 if test "$lib_thread" = "yes"; then
-    YAZINC="$YAZINC -D_REENTRANT"
+    YAZINC="$YAZINC @CFLAGSTHREADS@"
 fi
 
 if test "$yaz_echo_help" = "yes"; then