--- configure.orig Mon Dec 18 18:21:52 2000 +++ configure Sun Oct 30 02:39:48 2005 @@ -1108,14 +1108,14 @@ if test "$WITH_SOUND" = "yes"; then echo "$ac_t""yes" 1>&6 - echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6 -echo "configure:1113: checking for pthread_create in -lpthread" >&5 + echo $ac_n "checking for pthread_create in ${PTHREAD_LIBS}... $ac_c" 1>&6 +echo "configure:1113: checking for pthread_create in ${PTHREAD_LIBS}" >&5 ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'` if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" -LIBS="-lpthread $LIBS" +LIBS="${PTHREAD_LIBS} $LIBS" cat > conftest.$ac_ext <&6 - LIBS="$LIBS -lpthread" + LIBS="$LIBS ${PTHREAD_LIBS}" else echo "$ac_t""no" 1>&6 @@ -1499,7 +1499,7 @@ fi -LDFLAGS="$LDFLAGS -L$x_libraries" +LDFLAGS="$LDFLAGS -L{x_libraries-.}" LIBS="$LIBS -lX11" INCLUDES="$INCLUDES -I$x_includes"