diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2015-10-28 05:44:10 +0800 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2015-10-28 05:44:10 +0800 |
commit | cd838fad0589773cab14739b25f54d6d60d95571 (patch) | |
tree | 0cd91d2a33d1c2a73ee1d7c9c63afffbbca38ae0 /Templates/config.site | |
parent | 24c284da5689f9159e29b0b07d53bc04e7993597 (diff) | |
download | freebsd-ports-gnome-cd838fad0589773cab14739b25f54d6d60d95571.tar.gz freebsd-ports-gnome-cd838fad0589773cab14739b25f54d6d60d95571.tar.zst freebsd-ports-gnome-cd838fad0589773cab14739b25f54d6d60d95571.zip |
Add more cached values.
- This now supports checking OPSYS and OSVERSION.
- Add some comments about how to generate some of this automatically.
With hat: portmgr
Diffstat (limited to 'Templates/config.site')
-rw-r--r-- | Templates/config.site | 240 |
1 files changed, 228 insertions, 12 deletions
diff --git a/Templates/config.site b/Templates/config.site index 44788ce8d549..f3960a23e619 100644 --- a/Templates/config.site +++ b/Templates/config.site @@ -1,4 +1,5 @@ # $FreeBSD$ +# vim: set ft=sh: # Do not add: # - toolchain related # - arch-dependent values @@ -9,15 +10,43 @@ # #MAINTAINER= portmgr@FreeBSD.org +# Some variables are available to test if called from ports framework but not +# if included directly. +if [ -z "${OSVERSION}" ]; then + if [ -f /usr/include/sys/param.h ]; then + OSVERSION=$(awk \ + '/^\#define[[:blank:]]__FreeBSD_version/ {print $3}' \ + /usr/include/sys/param.h) + else + OSVERSION=0 + fi +fi +[ -z "${OPSYS}" ] && OPSYS=$(uname -s) + +if [ ${OSVERSION} -lt 900000 ]; then + have_utx="yes" + have_utmp="no" +else + have_utx="no" + have_utmp="yes" +fi + # Path : ${ac_cv_path_BZIP2=/usr/bin/bzip2} +: ${ac_cv_path_CAT=/bin/cat} : ${ac_cv_path_EGREP=/usr/bin/egrep} : ${ac_cv_path_FGREP=/usr/bin/fgrep} : ${ac_cv_path_GREP=/usr/bin/grep} : ${ac_cv_path_GZIP=/usr/bin/gzip} +: ${ac_cv_path_KILL=/bin/kill} +: ${ac_cv_path_LOGIN_PROGRAM_FALLBACK=/usr/bin/login} : ${ac_cv_path_MKTEMP_COMMAND=/usr/bin/mktemp} +: ${ac_cv_path_PATH_GROUPADD_PROG=groupadd} +: ${ac_cv_path_PATH_PASSWD_PROG=/usr/bin/passwd} +: ${ac_cv_path_PATH_USERADD_PROG=useradd} : ${ac_cv_path_SED=/usr/bin/sed} : ${ac_cv_path_install=/usr/bin/install} +: ${ac_cv_path_lt_DD=/bin/dd} : ${ac_cv_path_mkdir=/bin/mkdir} : ${ac_cv_prog_AWK=/usr/bin/awk} : ${ac_cv_prog_SED=/usr/bin/sed} @@ -27,38 +56,46 @@ : ${lt_cv_path_MAGIC_CMD=/usr/bin/file} # Headers -: ${ac_cv_header_alloca_h=no} +: ${ac_cv_header_archive_h=yes} : ${ac_cv_header_arpa_inet_h=yes} : ${ac_cv_header_arpa_nameser_h=yes} : ${ac_cv_header_ctype_h=yes} +: ${ac_cv_header_dirent_dirent_h=yes} : ${ac_cv_header_dirent_h=yes} : ${ac_cv_header_dlfcn_h=yes} : ${ac_cv_header_elf_h=yes} +: ${ac_cv_header_elf_hints_h=yes} : ${ac_cv_header_errno_h=yes} : ${ac_cv_header_fcntl_h=yes} : ${ac_cv_header_float_h=yes} : ${ac_cv_header_floatingpoint_h=yes} +: ${ac_cv_header_gelf_h=yes} : ${ac_cv_header_getopt_h=yes} : ${ac_cv_header_glob_h=yes} : ${ac_cv_header_inttypes_h=yes} : ${ac_cv_header_langinfo_h=yes} +: ${ac_cv_header_libelf_h=yes} : ${ac_cv_header_libgen_h=yes} : ${ac_cv_header_libutil_h=yes} : ${ac_cv_header_limits_h=yes} +: ${ac_cv_header_link_h=yes} +: ${ac_cv_header_locale_h=yes} : ${ac_cv_header_login_cap_h=yes} : ${ac_cv_header_math_h=yes} +: ${ac_cv_header_machine_endian_h=yes} : ${ac_cv_header_memory_h=yes} -: ${ac_cv_header_minix_config_h=no} : ${ac_cv_header_net_if_h=yes} : ${ac_cv_header_net_if_media_h=yes} : ${ac_cv_header_net_if_tap_h=yes} : ${ac_cv_header_net_if_tun_h=yes} : ${ac_cv_header_netdb_h=yes} : ${ac_cv_header_netinet_in_h=yes} +: ${ac_cv_header_osreldate_h=yes} : ${ac_cv_header_paths_h=yes} : ${ac_cv_header_poll_h=yes} : ${ac_cv_header_pwd_h=yes} : ${ac_cv_header_readpassphrase_h=yes} +: ${ac_cv_header_regex_h=yes} : ${ac_cv_header_resolv_h=yes} : ${ac_cv_header_rpc_types_h=yes} : ${ac_cv_header_sched_h=yes} @@ -76,8 +113,13 @@ : ${ac_cv_header_string_h=yes} : ${ac_cv_header_strings_h=yes} : ${ac_cv_header_sys_acl_h=yes} +: ${ac_cv_header_sys_acl_h=yes} +: ${ac_cv_header_sys_capability_h=yes} +: ${ac_cv_header_sys_capsicum_h=yes} : ${ac_cv_header_sys_cdefs_h=yes} : ${ac_cv_header_sys_dir_h=yes} +: ${ac_cv_header_sys_elf_common_h=yes} +: ${ac_cv_header_sys_endian_h=yes} : ${ac_cv_header_sys_fcntl_h=yes} : ${ac_cv_header_sys_file_h=yes} : ${ac_cv_header_sys_ioctl_h=yes} @@ -86,6 +128,7 @@ : ${ac_cv_header_sys_msg_h=yes} : ${ac_cv_header_sys_param_h=yes} : ${ac_cv_header_sys_poll_h=yes} +: ${ac_cv_header_sys_procctl_h=yes} : ${ac_cv_header_sys_ptrace_h=yes} : ${ac_cv_header_sys_select_h=yes} : ${ac_cv_header_sys_socket_h=yes} @@ -97,11 +140,15 @@ : ${ac_cv_header_sys_types_h=yes} : ${ac_cv_header_sys_un_h=yes} : ${ac_cv_header_sys_wait_h=yes} +: ${ac_cv_header_termios_h=yes} +: ${ac_cv_header_time=yes} : ${ac_cv_header_time_h=yes} : ${ac_cv_header_ttyent_h=yes} : ${ac_cv_header_ucontext_h=yes} : ${ac_cv_header_unistd_h=yes} : ${ac_cv_header_utime_h=yes} +: ${ac_cv_header_utmpx_h=${have_utx}} +: ${ac_cv_header_utmp_h=${have_utmp}} : ${ac_cv_header_vis_h=yes} : ${ac_cv_header_wchar_h=yes} : ${ac_cv_header_wctype_h=yes} @@ -109,13 +156,33 @@ : ${gl_cv_header_wchar_h_correct_inline=yes} +# We'll never have these headers. +: ${ac_cv_header_alloca_h=no} : ${ac_cv_header_argz_h=no} : ${ac_cv_header_byteswap_h=no} +: ${ac_cv_header_endian_h=no} : ${ac_cv_header_dl_h=no} : ${ac_cv_header_malloc_h=no} +: ${ac_cv_header_minix_config_h=no} +: ${ac_cv_header_netinet_in6_h=no} : ${ac_cv_header_random_h=no} +: ${ac_cv_header_sys_statfs_h=no} +# We have it, but it #errors on GCC 3.3+, thus it is a 'no'. +: ${ac_cv_header_varargs_h=no} : ${ac_cv_header_vfork_h=no} +# Some may check if they are building on Linux with a bsd compat header +# package, which will never be true here. +: ${ac_cv_header_bsd_err_h=no} +: ${ac_cv_header_bsd_libutil_h=no} +: ${ac_cv_header_bsd_readpassphrase_h=no} +: ${ac_cv_header_bsd_stdio_h=no} +: ${ac_cv_header_bsd_stdlib_h=no} +: ${ac_cv_header_bsd_string_h=no} +: ${ac_cv_header_bsd_sys_cdefs_h=no} +: ${ac_cv_header_bsd_unistd_h=no} + + # This appears in FreeBSD 10 do not cache it. #: ${gl_cv_have_raw_decl_strchrnul=yes} : ${gl_cv_have_raw_decl_memcpy=no} @@ -145,9 +212,11 @@ : ${ac_cv_c_uint64_t=yes} : ${ac_cv_c_uint8_t=yes} +: ${ac_cv_type_Elf_Note=yes} : ${ac_cv_type__Bool=yes} : ${ac_cv_type_char=yes} : ${ac_cv_type_char_p=yes} +: ${ac_cv_type_fd_mask=yes} : ${ac_cv_type_fsblkcnt_t=yes} : ${ac_cv_type_fsfilcnt_t=yes} : ${ac_cv_type_in_addr_t=yes} @@ -184,6 +253,7 @@ : ${ac_cv_type_u_long=yes} : ${ac_cv_type_u_short=yes} : ${ac_cv_type_uid_t=yes} +: ${ac_cv_type_uintmax_t=yes} : ${ac_cv_type_uintptr_t=yes} : ${ac_cv_type_unsigned_char=yes} : ${ac_cv_type_unsigned_int=yes} @@ -213,37 +283,74 @@ # lib : ${ac_cv_lib_crypt_crypt=yes} +: ${ac_cv_lib_dl_dlopen=no} : ${ac_cv_lib_edit_el_init=yes} +: ${ac_cv_lib_elf_gelf_getehdr=yes} : ${ac_cv_lib_pam_pam_set_item=yes} : ${ac_cv_lib_z_deflate=yes} +: ${ac_cv_lib_z_gzdopen=yes} +# XXX: nm -D /lib/libc.so.7|awk '$2 = "R" {print $3}' : ${ac_cv_libc_defines___progname=yes} : ${ac_cv_libc_defines_sys_errlist=yes} : ${ac_cv_libc_defines_sys_nerr=yes} +: ${ac_cv_libc_defines_sys_nsig=yes} + +# library containing foo +# XXX: For each provided ac_cv_func_* the result is 'none required' +: ${ac_cv_search_basename='none required'} +: ${ac_cv_search_clock_gettime='none required'} +: ${ac_cv_search_cos=-lm} +: ${ac_cv_search_dn_expand='none required'} +: ${ac_cv_search_dlopen='none required'} +: ${ac_cv_search_flopen=-lutil} +: ${ac_cv_search_fmt_scaled=no} +: ${ac_cv_search_getprogname='none required'} +: ${ac_cv_search_inet_ntop='none required'} +: ${ac_cv_search_jail_getid=-ljail} +if [ "${have_utmp}" = "no" ]; then +: ${ac_cv_search_login=no} +: ${ac_cv_search_logout=no} +: ${ac_cv_search_logwtmp=no} +else +: ${ac_cv_search_login=-lutil} +: ${ac_cv_search_logout=-lutil} +: ${ac_cv_search_logwtmp=-lutil} +fi +: ${ac_cv_search_nanosleep='none required'} +: ${ac_cv_search_res_query='none required'} +: ${ac_cv_search_opendir='none required'} +: ${ac_cv_search_openpty='none required'} +: ${ac_cv_search_scan_scaled=no} +: ${ac_cv_search_updwtmp=no} # Struct : ${ac_cv_member_HEADER_ad=yes} : ${ac_cv_member_struct___res_state_retrans=yes} +: ${ac_cv_member_struct_in6_addr_s6_addr16=no} +: ${ac_cv_member_struct_in6_addr_s6_addr32=no} +: ${ac_cv_member_struct_passwd_pw_change=yes} +: ${ac_cv_member_struct_passwd_pw_class=yes} +: ${ac_cv_member_struct_passwd_pw_expire=yes} +: ${ac_cv_member_struct_passwd_pw_gecos=yes} : ${ac_cv_member_struct_sigaction_sa_sigaction=yes} +: ${ac_cv_member_struct_sockaddr_in6_sin6_len=yes} : ${ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes} +: ${ac_cv_member_struct_sockaddr_in_sin_len=yes} +: ${ac_cv_member_struct_sockaddr_storage___ss_family=no} +: ${ac_cv_member_struct_sockaddr_storage_ss_family=yes} +: ${ac_cv_member_struct_sockaddr_storage_ss_len=yes} : ${ac_cv_member_struct_stat_st_blksize=yes} : ${gl_cv_sys_struct_timespec_in_time_h=yes} : ${gl_cv_sys_struct_timeval=yes} -# Has appearred in FreeBSD 10 -#: ${ac_cv_func_waitid=yes} -# Has appearred in FreeBSD 10 -#: ${ac_cv_func_strchrnul=yes} -# Has appearred in FreeBSD 9 -#: ${ac_cv_func_uselocale=yes} -#: ${ac_cv_func_newlocale=yes} - # Functions +# XXX: nm -D /lib/libc.so.7|awk '$2 ~ "(T|W)" {print $3}' +# XXX: cd lib/libc && find . -name Symbol.map | egrep -v '(yp|iconv|quad|aarch64|powerpc|mips|softfloat|powerpc|amd64|i386|arm|sparc64)' | xargs awk 'BEGIN { inver=0 } /^FBSD_1.0/ { inver=1; next } /\*/ { next } /^};/ { inver=0; next } { if (inver) print $1 }' |grep -v ^_|sed -e 's,;,,'|sort -u|grep -v '^$' : ${ac_cv_func___b64_ntop=yes} : ${ac_cv_func___b64_pton=yes} : ${ac_cv_func__getlong=yes} : ${ac_cv_func__getshort=yes} -: ${ac_cv_func__getshort=yes} : ${ac_cv_func__stat=yes} : ${ac_cv_func_acl_create_entry_np=yes} : ${ac_cv_func_acl_delete_def_file=yes} @@ -258,37 +365,71 @@ : ${ac_cv_func_alarm=yes} : ${ac_cv_func_alloca=yes} : ${ac_cv_func_arc4random=yes} +: ${ac_cv_func_arc4random_addrandom=yes} : ${ac_cv_func_arc4random_buf=yes} +: ${ac_cv_func_arc4random_stir=yes} : ${ac_cv_func_arc4random_uniform=yes} +: ${ac_cv_func_asctime=yes} +: ${ac_cv_func_asctime_r=yes} : ${ac_cv_func_asprintf=yes} : ${ac_cv_func_atexit=yes} +: ${ac_cv_func_basename=yes} +: ${ac_cv_func_basename_r=yes} : ${ac_cv_func_bcmp=yes} : ${ac_cv_func_bcopy=yes} : ${ac_cv_func_bindresvport_sa=yes} : ${ac_cv_func_btowc=yes} : ${ac_cv_func_bzero=yes} +[ ${OSVERSION} -ge 1000000 ] && : ${ac_cv_func_cap_enter=yes} +[ ${OSVERSION} -ge 1000000 ] && : ${ac_cv_func_cap_fcntls_get=yes} +[ ${OSVERSION} -ge 1000000 ] && : ${ac_cv_func_cap_fcntls_limit=yes} +[ ${OSVERSION} -ge 1000000 ] && : ${ac_cv_func_cap_getmode=yes} +[ ${OSVERSION} -ge 1000000 ] && : ${ac_cv_func_cap_ioctls_get=yes} +[ ${OSVERSION} -ge 1000000 ] && : ${ac_cv_func_cap_ioctls_limit=yes} +[ ${OSVERSION} -ge 1000000 ] && : ${ac_cv_func_cap_rights_contains=yes} +[ ${OSVERSION} -ge 1000000 ] && : ${ac_cv_func_cap_rights_is_valid=yes} +[ ${OSVERSION} -ge 1000000 ] && : ${ac_cv_func_cap_rights_limit=yes} +[ ${OSVERSION} -ge 1000000 ] && : ${ac_cv_func_cap_rights_merge=yes} +[ ${OSVERSION} -ge 1000000 ] && : ${ac_cv_func_cap_rights_remove=yes} +[ ${OSVERSION} -ge 1000000 ] && : ${ac_cv_func_cap_sandboxed=yes} +: ${ac_cv_func_chflags=yes} +[ ${OSVERSION} -ge 1000000 ] && : ${ac_cv_func_chflagsat=yes} : ${ac_cv_func_chown=yes} : ${ac_cv_func_clock=yes} : ${ac_cv_func_clock_gettime=yes} : ${ac_cv_func_closedir=yes} : ${ac_cv_func_closefrom=yes} +: ${ac_cv_func_ctime=yes} +: ${ac_cv_func_ctime_r=yes} : ${ac_cv_func_daemon=yes} +: ${ac_cv_func_difftime=yes} +: ${ac_cv_func_dirfd=yes} : ${ac_cv_func_dirname=yes} : ${ac_cv_func_dlopen=yes} +: ${ac_cv_func_dn_expand=yes} : ${ac_cv_func_dup2=yes} : ${ac_cv_func_eaccess=yes} +: ${ac_cv_func_endgrent=yes} +: ${ac_cv_func_endnetgrent=yes} +: ${ac_cv_func_endpwent=yes} +[ ${OSVERSION} -ge 1100037 ] && : ${ac_cv_func_explicit_bzero=yes} : ${ac_cv_func_fchmod=yes} : ${ac_cv_func_fchown=yes} : ${ac_cv_func_fcntl=yes} : ${ac_cv_func_fileno=yes} +: ${ac_cv_func_fflagstostr=yes} : ${ac_cv_func_fork=yes} : ${ac_cv_func_fpurge=yes} : ${ac_cv_func_freeaddrinfo=yes} +: ${ac_cv_func_fropen=yes} : ${ac_cv_func_fstatvfs=yes} : ${ac_cv_func_fsync=yes} +: ${ac_cv_func_funopen=yes} : ${ac_cv_func_futimes=yes} +: ${ac_cv_func_fwopen=yes} : ${ac_cv_func_fwprintf=yes} : ${ac_cv_func_gai_strerror=yes} +: ${ac_cv_func_endutxent=${have_utx}} : ${ac_cv_func_getaddrinfo=yes} : ${ac_cv_func_getcwd=yes} : ${ac_cv_func_getdelim=yes} @@ -296,12 +437,20 @@ : ${ac_cv_func_getegid=yes} : ${ac_cv_func_geteuid=yes} : ${ac_cv_func_getgid=yes} +: ${ac_cv_func_getgrent=yes} +: ${ac_cv_func_getgrent_r=yes} +: ${ac_cv_func_getnetgrent=yes} : ${ac_cv_func_getgrouplist=yes} : ${ac_cv_func_gethostbyname=yes} : ${ac_cv_func_gethostname=yes} : ${ac_cv_func_getline=yes} +: ${ac_cv_func_getutxent=${have_utx}} +: ${ac_cv_func_getutxid=${have_utx}} +: ${ac_cv_func_getutxline=${have_utx}} +: ${ac_cv_func_getutxuser=${have_utx}} : ${ac_cv_func_getnameinfo=yes} : ${ac_cv_func_getopt=yes} +: ${ac_cv_func_getopt_long=yes} : ${ac_cv_func_getopt_long_only=yes} : ${ac_cv_func_getpagesize=yes} : ${ac_cv_func_getpeereid=yes} @@ -309,6 +458,10 @@ : ${ac_cv_func_getpgrp=yes} : ${ac_cv_func_getpgrp_void=yes} : ${ac_cv_func_getpid=yes} +: ${ac_cv_func_getpwent=yes} +: ${ac_cv_func_getpwnam=yes} +: ${ac_cv_func_getpwnam_r=yes} +: ${ac_cv_func_getpwuid=yes} : ${ac_cv_func_getrlimit=yes} : ${ac_cv_func_getrusage=yes} : ${ac_cv_func_gettimeofday=yes} @@ -317,12 +470,13 @@ : ${ac_cv_func_getwd=yes} : ${ac_cv_func_glob=yes} : ${ac_cv_func_group_from_gid=yes} +: ${ac_cv_func_gmtime=yes} +: ${ac_cv_func_gmtime_r=yes} : ${ac_cv_func_inet_aton=yes} : ${ac_cv_func_inet_ntoa=yes} : ${ac_cv_func_inet_ntop=yes} : ${ac_cv_func_innetgr=yes} : ${ac_cv_func_isascii=yes} -: ${ac_cv_func_isascii=yes} : ${ac_cv_func_isblank=yes} : ${ac_cv_func_issetugid=yes} : ${ac_cv_func_iswblank=yes} @@ -330,9 +484,14 @@ : ${ac_cv_func_iswctype=yes} : ${ac_cv_func_link=yes} : ${ac_cv_func_localtime=yes} +: ${ac_cv_func_localtime_r=yes} +: ${ac_cv_func_login=${have_utmp}} +: ${ac_cv_func_logout=${have_utmp}} +: ${ac_cv_func_logwtmp=${have_utmp}} : ${ac_cv_func_lstat=yes} : ${ac_cv_func_lstat_dereferences_slashed_symlink=yes} : ${ac_cv_func_malloc_0_nonnull=yes} +: ${ac_cv_func_mblen=yes} : ${ac_cv_func_mbrlen=yes} : ${ac_cv_func_mbrtowc=yes} : ${ac_cv_func_mbsinit=yes} @@ -345,19 +504,23 @@ : ${ac_cv_func_mkdtemp=yes} : ${ac_cv_func_mkstemp=yes} : ${ac_cv_func_mktemp=yes} +: ${ac_cv_func_mktime=yes} : ${ac_cv_func_mlock=yes} : ${ac_cv_func_mmap=yes} : ${ac_cv_func_mmap_fixed_mapped=yes} : ${ac_cv_func_mprotect=yes} : ${ac_cv_func_munlock=yes} : ${ac_cv_func_munmap=yes} +[ "${OPSYS}" = "FreeBSD" ] && : ${ac_cv_func_newlocale=yes} : ${ac_cv_func_nl_langinfo=yes} : ${ac_cv_func_opendir=yes} : ${ac_cv_func_pam_getenvlist=yes} : ${ac_cv_func_pam_putenv=yes} : ${ac_cv_func_pathconf=yes} +: ${ac_cv_func_petpwuid_r=yes} : ${ac_cv_func_pipe=yes} : ${ac_cv_func_poll=yes} +: ${ac_cv_func_posix_fallocate=yes} : ${ac_cv_func_posix_spawn=yes} : ${ac_cv_func_pread=yes} : ${ac_cv_func_pthread_cond_broadcast=yes} @@ -374,6 +537,7 @@ : ${ac_cv_func_pthread_mutex_unlock=yes} : ${ac_cv_func_pthread_self=yes} : ${ac_cv_func_putenv=yes} +: ${ac_cv_func_pututxline=${have_utx}} : ${ac_cv_func_pwrite=yes} : ${ac_cv_func_raise=yes} : ${ac_cv_func_rand=yes} @@ -382,9 +546,11 @@ : ${ac_cv_func_readlink=yes} : ${ac_cv_func_readlinkat=yes} : ${ac_cv_func_readpassphrase=yes} +[ ${OSVERSION} -ge 1100072 ] && : ${ac_cv_func_reallocarray=yes} : ${ac_cv_func_realpath=yes} : ${ac_cv_func_recvmsg=yes} : ${ac_cv_func_rename=yes} +: ${ac_cv_func_res_query=yes} : ${ac_cv_func_rresvport_af=yes} : ${ac_cv_func_sched_yield=yes} : ${ac_cv_func_select=yes} @@ -392,6 +558,8 @@ : ${ac_cv_func_setegid=yes} : ${ac_cv_func_setenv=yes} : ${ac_cv_func_seteuid=yes} +: ${ac_cv_func_setgrent=yes} +: ${ac_cv_func_setnetgrent=yes} : ${ac_cv_func_setgroupent=yes} : ${ac_cv_func_setgroups=yes} : ${ac_cv_func_setlinebuf=yes} @@ -399,6 +567,7 @@ : ${ac_cv_func_setlogin=yes} : ${ac_cv_func_setpassent=yes} : ${ac_cv_func_setproctitle=yes} +: ${ac_cv_func_setpwent=yes} : ${ac_cv_func_setregid=yes} : ${ac_cv_func_setresgid=yes} : ${ac_cv_func_setresuid=yes} @@ -406,6 +575,8 @@ : ${ac_cv_func_setrlimit=yes} : ${ac_cv_func_setsid=yes} : ${ac_cv_func_setsockopt=yes} +: ${ac_cv_func_setutxdb=${have_utx}} +: ${ac_cv_func_setutxent=${have_utx}} : ${ac_cv_func_setvbuf=yes} : ${ac_cv_func_shmget=yes} : ${ac_cv_func_sigaction=yes} @@ -425,11 +596,13 @@ : ${ac_cv_func_stpncpy=yes} : ${ac_cv_func_strbrk=yes} : ${ac_cv_func_strcasecmp=yes} +[ ${OSVERSION} -ge 1000000 ] && : ${ac_cv_func_strchrnul=yes} : ${ac_cv_func_strcspn=yes} : ${ac_cv_func_strdup=yes} : ${ac_cv_func_strerror=yes} : ${ac_cv_func_strerror_r=yes} : ${ac_cv_func_strftime=yes} +[ "${OPSYS}" = "FreeBSD" ] && : ${ac_cv_func_strftime_l=yes} : ${ac_cv_func_strlcat=yes} : ${ac_cv_func_strlcpy=yes} : ${ac_cv_func_strlen=yes} @@ -438,10 +611,15 @@ : ${ac_cv_func_strndup=yes} : ${ac_cv_func_strnlen=yes} : ${ac_cv_func_strnlen_working=yes} +: ${ac_cv_func_strnstr=yes} : ${ac_cv_func_strpbrk=yes} : ${ac_cv_func_strptime=yes} : ${ac_cv_func_strsep=yes} : ${ac_cv_func_strsignal=yes} +: ${ac_cv_func_strstr=yes} +: ${ac_cv_func_strtofflags=yes} +: ${ac_cv_func_strtok=yes} +: ${ac_cv_func_strtok_r=yes} : ${ac_cv_func_strtol=yes} : ${ac_cv_func_strtoll=yes} : ${ac_cv_func_strtonum=yes} @@ -449,13 +627,16 @@ : ${ac_cv_func_strtoull=yes} : ${ac_cv_func_symlink=yes} : ${ac_cv_func_sysconf=yes} +: ${ac_cv_func_sysctlbyname=yes} : ${ac_cv_func_tcgetpgrp=yes} : ${ac_cv_func_time=yes} +: ${ac_cv_func_timegm=yes} : ${ac_cv_func_towlower=yes} : ${ac_cv_func_truncate=yes} : ${ac_cv_func_tsearch=yes} : ${ac_cv_func_uname=yes} : ${ac_cv_func_unsetenv=yes} +[ "${OPSYS}" = "FreeBSD" ] && : ${ac_cv_func_uselocale=yes} : ${ac_cv_func_user_from_uid=yes} : ${ac_cv_func_usleep=yes} : ${ac_cv_func_utime=yes} @@ -465,6 +646,7 @@ : ${ac_cv_func_vprintf=yes} : ${ac_cv_func_vsnprintf=yes} : ${ac_cv_func_vsprintf=yes} +[ ${OSVERSION} -ge 1000000 ] && : ${ac_cv_func_waitid=yes} : ${ac_cv_func_waitpid=yes} : ${ac_cv_func_wcrtomb=yes} : ${ac_cv_func_wcscoll=yes} @@ -475,14 +657,34 @@ : ${ac_cv_func_wmemchr=yes} : ${ac_cv_func_wmemcpy=yes} : ${ac_cv_func_yp_match=yes} +# Holger Weiss snprintf.m4 +: ${hw_cv_func_asprintf=yes} +: ${hw_cv_func_snprintf=yes} +: ${hw_cv_func_snprintf_c99=yes} +: ${hw_cv_func_vasprintf=yes} +: ${hw_cv_func_vsnprintf=yes} +: ${hw_cv_func_vsnprintf_c99=yes} # non existing functions : ${ac_cv_func_argz_count=no} : ${ac_cv_func_argz_next=no} : ${ac_cv_func_argz_stringify=no} +: ${ac_cv_func_endutent=no} +: ${ac_cv_func_fopencookie=no} +: ${ac_cv_func_getlastlogxbyname=no} +: ${ac_cv_func_getutent=no} +: ${ac_cv_func_getutid=no} +: ${ac_cv_func_getutline=no} : ${ac_cv_func_obstacks=no} : ${ac_cv_func_pstat_getdynamic=no} +: ${ac_cv_func_pututline=no} : ${ac_cv_func_rawmemchr=no} +: ${ac_cv_func_res_setservers=no} +: ${ac_cv_func_setutent=no} +: ${ac_cv_func_utmpname=no} +: ${ac_cv_func_utmpxname=no} +: ${ac_cv_func_updwtmp=no} +: ${ac_cv_func_updwtmpx=no} : ${ac_cv_func_yield=no} : ${ac_cv_have___va_copy=yes} @@ -499,6 +701,7 @@ : ${ac_cv_have_sa_family_t=yes} : ${ac_cv_have_size_t=yes} : ${ac_cv_have_ss_family_in_struct_ss=yes} +: ${ac_cv_have___ss_family_in_struct_ss=no} : ${ac_cv_have_ssize_t=yes} : ${ac_cv_have_struct_addrinfo=yes} : ${ac_cv_have_struct_in6_addr=yes} @@ -521,6 +724,12 @@ : ${ac_cv_have_decl_alarm=yes} : ${ac_cv_have_decl_alphasort=yes} : ${ac_cv_have_decl_atoll=yes} +: ${ac_cv_have_decl_be16dec=yes} +: ${ac_cv_have_decl_be16enc=yes} +: ${ac_cv_have_decl_be32dec=yes} +: ${ac_cv_have_decl_be32enc=yes} +: ${ac_cv_have_decl_be64dec=yes} +: ${ac_cv_have_decl_be64enc=yes} : ${ac_cv_have_decl_btowc=yes} : ${ac_cv_have_decl_chdir=yes} : ${ac_cv_have_decl_chown=yes} @@ -546,6 +755,7 @@ : ${ac_cv_have_decl_fseeko=yes} : ${ac_cv_have_decl_fstat=yes} : ${ac_cv_have_decl_fstatat=yes} +: ${ac_cv_have_decl_fstatfs=yes} : ${ac_cv_have_decl_fsync=yes} : ${ac_cv_have_decl_ftello=yes} : ${ac_cv_have_decl_ftruncate=yes} @@ -578,6 +788,12 @@ : ${ac_cv_have_decl_iswctype=yes} : ${ac_cv_have_decl_lchmod=yes} : ${ac_cv_have_decl_lchown=yes} +: ${ac_cv_have_decl_le16dec=yes} +: ${ac_cv_have_decl_le16enc=yes} +: ${ac_cv_have_decl_le32dec=yes} +: ${ac_cv_have_decl_le32enc=yes} +: ${ac_cv_have_decl_le64dec=yes} +: ${ac_cv_have_decl_le64enc=yes} : ${ac_cv_have_decl_link=yes} : ${ac_cv_have_decl_linkat=yes} : ${ac_cv_have_decl_lseek=yes} |