From bbc7de22079d67f75cea5d96162a6341e5fc03cb Mon Sep 17 00:00:00 2001 From: jcid Date: Thu, 3 Jul 2008 01:09:05 +0200 Subject: - removed the nanosleep() configure.in workaround for Solaris. --- configure.in | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index e78693a0..e6244a3f 100644 --- a/configure.in +++ b/configure.in @@ -396,34 +396,6 @@ case $target in esac fi -dnl ------------------------------------ -dnl Workaround for nanosleep and solaris -dnl ------------------------------------ -dnl -case $target in - *-*-solaris*) - AC_MSG_CHECKING(whether SunOS has -lrt ) - LDSAVEFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS -lrt" - AC_TRY_LINK_FUNC(nanosleep, rt_ok=yes, rt_ok=no) - if test "x$rt_ok" = "xyes"; then - AC_MSG_RESULT(yes) - else - AC_MSG_RESULT(no) - AC_MSG_CHECKING(whether SunOS has -lposix4 ) - LDFLAGS="$LDSAVEFLAGS -lposix4" - AC_TRY_LINK_FUNC(nanosleep, posix_ok=yes, posix_ok=no) - if test "x$posix_ok" = "xyes"; then - AC_MSG_RESULT(yes) - else - LDFLAGS=$LDSAVEFLAGS - AC_MSG_RESULT(no) - AC_MSG_WARN([*** Try setting LIBS or LDFLAGS manually to point to the library with nanosleep()***]) - fi - fi - ;; -esac - dnl -------------------- dnl Command line options dnl -------------------- -- cgit v1.2.3