diff --git a/configure b/configure index e5c6271f3..f7f82442d 100755 --- a/configure +++ b/configure @@ -19749,7 +19749,7 @@ else esac - for _sym in nanosleep; do + for _sym in sudo_nanosleep; do COMPAT_EXP="${COMPAT_EXP}${_sym} " done diff --git a/configure.ac b/configure.ac index 1812aec09..9087ffc73 100644 --- a/configure.ac +++ b/configure.ac @@ -2582,7 +2582,7 @@ AC_CHECK_FUNCS(nanosleep, [], [ # On Solaris, nanosleep is in librt AC_CHECK_LIB(rt, nanosleep, [REPLAY_LIBS="${REPLAY_LIBS} -lrt"], [ AC_LIBOBJ(nanosleep) - SUDO_APPEND_COMPAT_EXP(nanosleep) + SUDO_APPEND_COMPAT_EXP(sudo_nanosleep) ]) ]) AC_CHECK_FUNCS([pw_dup], [], [