summaryrefslogtreecommitdiff
path: root/devel/root/files/patch-configure
blob: 59586f005ba1997fd356acbad0c541776976725d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
*** configure.orig	Tue Jun 15 19:44:02 2004
--- configure	Wed Jun 16 09:42:21 2004
***************
*** 905,918 ****
      ;;
  freebsd*)
      if test "x$enable_thread" = "xyes"; then
!        threadlib="-pthread"
         threadlibdir=
      fi
      ;;
  esac
  if test "x$enable_thread" = "xyes" && \
     test ! "$platform" = "win32"    && \
!    test ! "$platform" = "freebsd4" ; then
      check_library "libpthread" "$enable_shared" "$threadlibdir" \
  	$THREAD $THREAD/lib /usr/lib /usr/local/lib /usr/lib/X11 \
  	/usr/local/lib/X11 /usr/X11R6/lib /usr/local/X11R6/lib \
--- 905,920 ----
      ;;
  freebsd*)
      if test "x$enable_thread" = "xyes"; then
!        threadlib="$PTHREAD_LIBS"
         threadlibdir=
      fi
      ;;
  esac
  if test "x$enable_thread" = "xyes" && \
     test ! "$platform" = "win32"    && \
!    test ! "$platform" = "freebsd5" && \
!    test ! "$platform" = "freebsd4" && \
!    test ! "$platform" = "freebsd" ; then
      check_library "libpthread" "$enable_shared" "$threadlibdir" \
  	$THREAD $THREAD/lib /usr/lib /usr/local/lib /usr/lib/X11 \
  	/usr/local/lib/X11 /usr/X11R6/lib /usr/local/X11R6/lib \