aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-07-03 01:09:05 +0200
committerjcid <devnull@localhost>2008-07-03 01:09:05 +0200
commitbbc7de22079d67f75cea5d96162a6341e5fc03cb (patch)
tree0e2447afcc3d1b4131475a76f58de6c3601d588a
parent239a6bc79d46921a639ee7f1bb8f94421c4e7e92 (diff)
- removed the nanosleep() configure.in workaround for Solaris.
-rw-r--r--configure.in28
1 files changed, 0 insertions, 28 deletions
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 --------------------