comparison configure @ 16312:c8e32af14a6f

X11 can use pthread (fixes --enable-static)
author henry
date Fri, 26 Aug 2005 19:00:36 +0000
parents 26401de08141
children f1951428d8b7
comparison
equal deleted inserted replaced
16311:26401de08141 16312:c8e32af14a6f
3534 EOF 3534 EOF
3535 if test -z "$_x11_paths" ; then 3535 if test -z "$_x11_paths" ; then
3536 _x11_paths="/usr/X11R6/lib /usr/lib/X11R6 /usr/X11/lib /usr/lib32 /usr/openwin/lib /usr/X11R6/lib64 /usr/lib" 3536 _x11_paths="/usr/X11R6/lib /usr/lib/X11R6 /usr/X11/lib /usr/lib32 /usr/openwin/lib /usr/X11R6/lib64 /usr/lib"
3537 fi 3537 fi
3538 for I in $_x11_paths ; do 3538 for I in $_x11_paths ; do
3539 _ld_x11="-L$I -lXext -lX11 $_ld_sock" 3539 _ld_x11="-L$I -lXext -lX11 $_ld_sock $_ld_pthread"
3540 if netbsd; then 3540 if netbsd; then
3541 _ld_x11="$_ld_x11 -Wl,-R$I" 3541 _ld_x11="$_ld_x11 -Wl,-R$I"
3542 fi 3542 fi
3543 if test -d "$I" && cc_check $_inc_x11 $_ld_x11 ; then 3543 if test -d "$I" && cc_check $_inc_x11 $_ld_x11 ; then
3544 _x11=yes 3544 _x11=yes