$NetBSD: patch-ac,v 1.1 2006/05/06 12:45:32 joerg Exp $ --- genmdlviewer/configure.orig 2006-05-06 12:01:58.000000000 +0000 +++ genmdlviewer/configure @@ -3446,7 +3446,7 @@ if test "${ac_cv_lib_rm_rmInit+set}" = s echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lrm -lpthread $LIBS" +LIBS="-lrm ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -3524,7 +3524,7 @@ if test "${ac_cv_lib_rmaux_rmauxSetGeomT echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lrmaux -lpthread -lrm $LIBS" +LIBS="-lrmaux ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} -lrm $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF