Greetings,

        The following patch updates the version of the thread library needed to
compile htdig on FreeBSD versions 3.x and 4.x. This patch is included in
the FreeBSD port/packages system (roughly equivalent to source/binary
rpm's in linux, respectively) and I've confirmed that htdig compiled
with this patch works properly. Please include it in the source
distribution for future releases. 

Thanks,

Doug


diff -ur ../htdig-3.1.3.Dist/db/dist/configure ./db/dist/configure
--- ../htdig-3.1.3.Dist/db/dist/configure       Wed Sep 22 09:18:15 1999
+++ ./db/dist/configure Tue Oct 26 18:06:57 1999
@@ -3056,7 +3056,7 @@
 
 case "$host_os" in
 freebsd*) CPPFLAGS="-D_THREAD_SAFE $CPPFLAGS"
-         LIBS="-lc_r";;
+         LIBS="-pthread";;
 irix*)    CPPFLAGS="-D_SGI_MP_SOURCE $CPPFLAGS";;
 osf*)    CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
 solaris*) CPPFLAGS="-D_REENTRANT $CPPFLAGS"
diff -ur ../htdig-3.1.3.Dist/db/dist/configure.in ./db/dist/configure.in
--- ../htdig-3.1.3.Dist/db/dist/configure.in    Wed Sep 22 09:18:15 1999
+++ ./db/dist/configure.in      Tue Oct 26 18:06:46 1999
@@ -405,7 +405,7 @@
 dnl libraries for threaded applications
 case "$host_os" in
 freebsd*) CPPFLAGS="-D_THREAD_SAFE $CPPFLAGS"
-         LIBS="-lc_r";;
+         LIBS="-pthread";;
 irix*)    CPPFLAGS="-D_SGI_MP_SOURCE $CPPFLAGS";;
 osf*)    CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
 solaris*) CPPFLAGS="-D_REENTRANT $CPPFLAGS"

------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word unsubscribe in
the SUBJECT of the message.

Reply via email to