bk: 526e1db4P_Ro6w_UW1AgR_f2TKU5gQ
*)
# HMS: Make sure we check for -lrt for clock_* before this...
case "$ac_cv_search_clock_gettime" in
- '') AC_MSG_ERROR([Internal Error: Haven't looed for clock_gettime() yet!]) ;;
+ '') AC_MSG_ERROR([Internal Error: Haven't looked for clock_gettime() yet!]) ;;
esac
AC_SEARCH_LIBS([sched_setscheduler], [rt posix4])
;;
NTP_GOOGLETEST
# All libraries should be in various LIB_* variables now.
-LIBS=
+#LIBS=
+# Sadly not. There is a gettext() check somewhere, and on Solaris this pulls
+# in -lintl -lgen, outside our "scope".
AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([include/Makefile])
*-hp-hpux*)
AC_SEARCH_LIBS([if_nametoindex], [ipv6])
esac
+SAVED_LIBS="$LIBS"
+LIBS="$LDADD_LIBNTP $LIBS"
AC_CHECK_FUNCS([if_nametoindex])
+LIBS="$SAVED_LIBS"
+AS_UNSET([SAVED_LIBS])
case "$ac_cv_func_if_nametoindex" in
yes)
AC_DEFINE([ISC_PLATFORM_HAVEIFNAMETOINDEX], [1],