Lines Matching +full:use +full:- +full:case
5 dnl be here or in another m4 macro used by the top-level and sntp
35 case "$build" in
36 *-*-irix6.1*) # 64 bit only
39 *-*-irix6*) # 6.2 (and later?)
42 *-*-solaris2.5.1)
45 *-*-unicosmp*)
50 case "$ac_busted_vpath_in_make$srcdir" in
53 *) case "`${MAKE-make} -v -f /dev/null 2>/dev/null | grep 'GNU Make'`" in
60 case "$host" in
61 *-*-aix4*)
63 # Was *-*-aix[[4-9]]*
71 # this conditional will need to change. Maybe use AC_TRY_RUN
86 [AC_DEFINE([USE_SNPRINTB], 1, [OK to use snprintb()?])])
88 dnl HP-UX 11.31 on HPPA has a net/if.h that can't be compiled with gcc4
94 dnl triggering the error. Our strategy is on HP-UX only, test compile
105 case "$host" in
106 *-hp-hpux*)
112 case "$ac_cv_header_net_if_h" in
137 case "$ntp_cv_predecl_mpinfou" in
160 case "$host" in
161 *-linux*)
171 # sys/sysctl.h depends on sys/param.h on OpenBSD - Bug 1576
227 # HMS: Do we need to check for -lsocket before or after these tests?
229 HMS_SEARCH_LIBS([LDADD_LIBNTP], [inet_ntop], [resolv], , , [-lnsl])
231 # [Bug 1628] On Solaris, we need -lxnet -lsocket. Generalize this to
239 case "$ac_cv_search_setsockopt" in
240 -lsocket)
243 # XXX Possible trouble here - reading the comments above and looking at the
244 # code below I wonder if we'll add -lxnet when we don't need it.
245 # Also, do we need to add -lxnet to LDADD_LIBNTP, or perhaps see if it's
247 case "$ac_cv_search_getsockopt" in
248 -lxnet)
249 LIBS="-lxnet -lsocket $saved_LIBS"
251 *) LIBS="-lsocket $saved_LIBS"
258 # Bug 2427 - look for recvmsg here.
263 case "$ac_cv_c_inline" in
280 case "$ac_cv_type_long_long" in
288 case "$ac_cv_c_char_unsigned$ac_cv_sizeof_signed_char$ac_cv_type_s_char" in
317 [+ yes, - no, s system-specific])])
325 [thread-support],
326 [AS_HELP_STRING([--enable-thread-support],
327 [s use threads (+ if available)])],
332 case "$enable_thread_support" in
337 case "$ol_found_pthreads" in
348 case "$ac_cv_func_sem_timedwait" in
356 case "$have_pthreads" in
375 # We'd like to use sigwait() too
397 case "$host:$have_sigwait" in
398 *-freebsd*:no)
405 case "$have_sigwait" in
414 case "$host" in
415 *-freebsd5.[[012]]|*-freebsd5.[[012]].*)
417 *-freebsd5.[[3456789]]|*-freebsd5.[[3456789]].*|*-freebsd6.*)
419 [use PTHREAD_SCOPE_SYSTEM?])
421 *-bsdi3.*|*-bsdi4.0*)
424 *-linux*)
427 *-solaris*)
430 case "$ac_cv_func_pthread_setconcurrency" in
436 *-sco-sysv*uw*|*-*-sysv*UnixWare*|*-*-sysv*OpenUNIX*)
441 case "$host" in
442 *-aix5.[[123]].*)
445 *-solaris2.[[89]])
448 *-solaris2.1[[0-9]])
466 case "$ntp_cv_braces_around_pthread_once_init" in
472 case "$hack_shutup_pthreadonceinit" in
493 [c99-snprintf],
495 [--enable-c99-snprintf],
496 [s use replacement printf family]
501 case "$force_c99_snprintf" in
543 dnl C99-snprintf does not handle %m
544 case "$hw_use_rpl_vsnprintf:$hw_cv_func_vsnprintf" in
598 case "$ntp_cv_vsnprintf_percent_m" in
610 [--enable-clockctl],
611 [s Use /dev/clockctl for non-root clock control]
617 AC_MSG_CHECKING([if we should use /dev/clockctl])
625 case "$ac_cv_header_sys_capability_h$ac_cv_header_sys_prctl_h" in
627 case "$host" in
628 mips-sgi-irix*)
643 [--enable-linuxcaps],
644 [+ Use Linux capabilities for non-root clock control]
651 case "$ntp_have_linuxcaps" in
655 LIBS="$LIBS -lcap"
661 case "$ac_cv_header_priv_h" in
663 case "$host" in
664 *-solaris*)
677 [--enable-solarisprivs],
678 [+ Use Solaris privileges for non-root clock control]
685 case "$ntp_have_solarisprivs" in
701 [--enable-trustedbsd-mac],
702 [s Use TrustedBSD MAC policy for non-root clock control]
707 AC_MSG_CHECKING([if we should use TrustedBSD MAC privileges])
709 case "$ntp_use_trustedbsd_mac$ac_cv_header_sys_mac_h" in
720 case "$ntp_use_dev_clockctl$ntp_have_linuxcaps$ntp_have_solarisprivs$ntp_use_trustedbsd_mac" in
726 case "$host" in
727 *-*-darwin*)
737 # We also need -lsocket, but we have tested for that already.
791 case "$ntp_cv_struct_timespec" in
813 case "$ntp_cv_struct_ntptimeval" in
835 [signalled-io],
836 [AS_HELP_STRING([--enable-signalled-io], [s Use signalled IO if we can])],
858 AC_MSG_CHECKING([if we want to use SIGIO])
860 case "$ntp_cv_hdr_def_sigio" in
863 case "$host" in
864 alpha*-dec-osf4*|alpha*-dec-osf5*)
867 *-convex-*)
870 *-dec-*)
873 *-pc-cygwin*)
876 *-sni-sysv*)
879 *-stratus-vos)
882 *-univel-sysv*)
885 *-*-irix6*)
888 *-*-freebsd*)
891 *-*-*linux*)
894 *-*-unicosmp*)
897 *-*-kfreebsd*)
900 m68k-*-mint*)
904 case "$ans" in
911 case "$ans" in
913 case "$use_signalled_io" in
916 [Can we use SIGIO for tcp and udp IO?])
918 *) ans="Allowed for $host but --disable-signalled-io was given"
940 AC_MSG_CHECKING([if we can use SIGPOLL for UDP I/O])
942 case "$ntp_cv_hdr_def_sigpoll" in
944 case "$host" in
945 mips-sgi-irix*)
948 vax-dec-bsd)
951 *-pc-cygwin*)
954 *-sni-sysv*)
957 *-stratus-vos)
960 *-*-aix[[4-9]]*)
964 *-*-hpux*)
967 *-*-*linux*)
970 *-*-osf*)
973 *-*-qnx*)
976 *-*-sunos*)
979 *-*-solaris*)
982 *-*-ultrix*)
985 *-*-unicosmp*)
988 *-*-kfreebsd*)
996 case "$ans" in
998 AC_DEFINE([USE_UDP_SIGPOLL], [1], [Can we use SIGPOLL for UDP?])
1002 AC_MSG_CHECKING([if we can use SIGPOLL for TTY I/O])
1004 case "$ntp_cv_hdr_def_sigpoll" in
1006 case "$host" in
1007 mips-sgi-irix*)
1010 vax-dec-bsd)
1013 *-pc-cygwin*)
1016 *-sni-sysv*)
1019 *-stratus-vos)
1022 *-*-aix[[4-9]]*)
1026 *-*-hpux*)
1029 *-*-*linux*)
1032 *-*-osf*)
1035 *-*-sunos*)
1038 *-*-ultrix*)
1041 *-*-qnx*)
1044 *-*-unicosmp*)
1047 *-*-kfreebsd*)
1055 case "$ans" in
1057 AC_DEFINE([USE_TTY_SIGPOLL], [1], [Can we use SIGPOLL for tty IO?])
1078 case "$ntp_cv_func_Xettimeofday_nargs" in
1084 case "$host" in
1085 *-*-mpeix*) ac_cv_func_settimeofday=yes
1089 AC_MSG_CHECKING([if we'll use clock_settime or settimeofday or stime])
1092 case "$ac_cv_func_clock_settime$ac_cv_func_settimeofday$ac_cv_func_stime" in
1106 case "$build" in
1108 ntp_warning='Which leaves us with nothing to use!'
1112 case "$ntp_warning" in
1121 dnl if --disable-dependency-tracking is used to save build time for one-off