$OpenBSD: patch-acinclude_m4,v 1.2 2009/03/12 18:09:13 landry Exp $ --- acinclude.m4.orig Tue Nov 11 14:44:54 2008 +++ acinclude.m4 Thu Mar 12 18:45:00 2009 @@ -143,9 +143,9 @@ XDT_CHECK_PACKAGE([LIBFAM], [gamin], [0.1.0], [ AC_CHECK_LIB([fam], [FAMOpen], [ - have_libfam="yes" LIBFAM_LIBS="-lfam" + have_libfam="yes" LIBFAM_LIBS="-lfam -lm" ac_bm_thunar_vfs_monitor_impl="FAM" - ]) + ], [], [-lm]) ]) ]) if test x"$have_libfam" = x"yes"; then