From dcce3e57a70644be4c2c4c419ca1b0204e4992ab Mon Sep 17 00:00:00 2001 From: Csaba Henk Date: Fri, 10 Feb 2006 06:22:15 +0000 Subject: [PATCH] fix --- ChangeLog | 5 +++++ configure.in | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8c5d861..dace367 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-02-10 Csaba Henk + + * Refine clock_gettime() querying so that linker options + shall be set as it's appropriate for the target platform. + 2006-02-08 Miklos Szeredi * In some cases udev rule seems to be ineffective when installed diff --git a/configure.in b/configure.in index 485cf43..f35cae2 100644 --- a/configure.in +++ b/configure.in @@ -64,9 +64,14 @@ AC_CHECK_FUNCS([fork setxattr fdatasync]) AC_CHECK_MEMBERS([struct stat.st_atim]) libfuse_libs=-lpthread -AC_SEARCH_LIBS(clock_gettime, [rt], [libfuse_libs="$libfuse_libs -lrt"]) LIBS= +AC_SEARCH_LIBS(clock_gettime, [rt]) +rt_libs=$LIBS +AC_SUBST(rt_libs) +LIBS= + +libfuse_libs="$libfuse_libs $rt_libs" AC_SUBST(libfuse_libs) if test -z "$MOUNT_FUSE_PATH"; then -- 2.30.2