ureadahead

ureadahead

  • dnl When linking with --as-needed, add -lrt to LIBS for clock_gettime()
    • AC_CHECK_LIB(rt, clock_gettime, [], [])

Patch

--- orig/ureadahead-0.100.0/configure.ac        2009-11-29 07:57:20.000000000 -0700
+++ ureadahead-0.100.0/configure.ac     2010-07-22 09:45:03.000000000 -0600
@@ -43,6 +43,8 @@
 
 NIH_LINKER_OPTIMISATIONS
 
+dnl When linking with --as-needed, add -lrt to LIBS for clock_gettime()
+AC_CHECK_LIB(rt, clock_gettime, [], [])
 
 AC_CONFIG_FILES([ Makefile intl/Makefile src/Makefile po/Makefile.in ])
 AC_CONFIG_HEADERS([config.h])

RobSavoye/GoldFixes/ureadahead (last edited 2010-09-04 03:39:30 by rob-welcomehome)