$NetBSD: patch-ad,v 1.2 2006/10/11 18:23:54 rillig Exp $ --- configure.orig 2003-03-23 23:21:31.000000000 +0100 +++ configure 2006-10-11 20:22:17.000000000 +0200 @@ -4244,6 +4244,12 @@ case "$host" in CXXFLAGS="$CXXFLAGS -pthread" echo "Setting FreeBSD compilation options" ;; + *-*-dragonfly*) + CFLAGS="$CFLAGS -pthread" + CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" + CXXFLAGS="$CXXFLAGS -pthread" + echo "Setting DragonFly compilation options" + ;; *-*-solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DPIC -fPIC" LDFLAGS="$LDFLAGS -mimpure-text" @@ -6115,7 +6121,7 @@ echo "${ECHO_T}$ac_cv_header_socks_h" >& fi if test $ac_cv_header_socks_h = yes; then - if test "$socks_incdir" == "no"; then + if test "$socks_incdir" = "no"; then SOCKS_INCDIR="-Wno-implicit" else SOCKS_INCDIR="-I$socks_incdir -Wno-implicit"