stargazing/notwa-util/quickconf

252 lines
13 KiB
Bash
Executable file

#!/usr/bin/env sh
if grep -q 'M4sh Initialization' configure; then
:
else
printf '\033[1m%s:\033[m %s' >&2 quickconf "must be run in a directory with a ./configure file generated by autoconf"
exit 64
fi
if [ -e /var/local/config.cache ]; then
:
else
# printf '\033[1m%s:\033[m %s' >&2 quickconf "missing config.cache, remember to copy it from notwa-utils"
# exit 66
cat >/var/local/config.cache <<'EOF'
ac_cv_aligned_required=${ac_cv_aligned_required='no'}
ac_cv_alignof_long=${ac_cv_alignof_long='8'}
ac_cv_alignof_size_t=${ac_cv_alignof_size_t='8'}
ac_cv_broken_nice=${ac_cv_broken_nice='no'}
ac_cv_broken_poll=${ac_cv_broken_poll='no'}
ac_cv_broken_unsetenv=${ac_cv_broken_unsetenv='no'}
ac_cv_builtin_atomic=${ac_cv_builtin_atomic='yes'}
ac_cv_c_bigendian=${ac_cv_c_bigendian='no'}
ac_cv_c_compiler_gnu=${ac_cv_c_compiler_gnu='yes'}
ac_cv_c_const=${ac_cv_c_const='yes'}
ac_cv_c_inline=${ac_cv_c_inline='inline'}
ac_cv_c_restrict=${ac_cv_c_restrict='__restrict'}
ac_cv_c_volatile=${ac_cv_c_volatile='yes'}
ac_cv_cc_name=${ac_cv_cc_name='gcc'}
ac_cv_cc_supports_og=${ac_cv_cc_supports_og='yes'}
ac_cv_clock_t_time_h=${ac_cv_clock_t_time_h='no'}
ac_cv_compile_o2=${ac_cv_compile_o2='yes'}
ac_cv_computed_gotos=${ac_cv_computed_gotos='yes'}
ac_cv_crypt_crypt=${ac_cv_crypt_crypt='yes'}
ac_cv_device_macros=${ac_cv_device_macros='yes'}
ac_cv_dirent_d_type=${ac_cv_dirent_d_type='yes'}
ac_cv_disable_missing_field_initializers_warning=${ac_cv_disable_missing_field_initializers_warning='yes'}
ac_cv_disable_unused_parameter_warning=${ac_cv_disable_unused_parameter_warning='yes'}
ac_cv_enable_extra_warning=${ac_cv_enable_extra_warning='yes'}
ac_cv_enable_implicit_function_declaration_error=${ac_cv_enable_implicit_function_declaration_error='yes'}
ac_cv_enable_sign_compare_warning=${ac_cv_enable_sign_compare_warning='yes'}
ac_cv_enable_strict_prototypes_warning=${ac_cv_enable_strict_prototypes_warning='yes'}
ac_cv_enable_unreachable_code_warning=${ac_cv_enable_unreachable_code_warning='no'}
ac_cv_enable_visibility=${ac_cv_enable_visibility='yes'}
ac_cv_func_alarm=${ac_cv_func_alarm='yes'}
ac_cv_func_clock=${ac_cv_func_clock='yes'}
ac_cv_func_getpagesize=${ac_cv_func_getpagesize='yes'}
ac_cv_func_getrusage=${ac_cv_func_getrusage='yes'}
ac_cv_func_memset=${ac_cv_func_memset='yes'}
ac_cv_func_mmap=${ac_cv_func_mmap='yes'}
ac_cv_func_mprotect=${ac_cv_func_mprotect='yes'}
ac_cv_func_popen=${ac_cv_func_popen='yes'}
ac_cv_func_raise=${ac_cv_func_raise='yes'}
ac_cv_func_sigaction=${ac_cv_func_sigaction='yes'}
ac_cv_func_sigaltstack=${ac_cv_func_sigaltstack='yes'}
ac_cv_func_strchr=${ac_cv_func_strchr='yes'}
ac_cv_func_strerror=${ac_cv_func_strerror='yes'}
ac_cv_func_strnlen=${ac_cv_func_strnlen='yes'}
ac_cv_func_strtol=${ac_cv_func_strtol='yes'}
ac_cv_func_strtoul=${ac_cv_func_strtoul='yes'}
ac_cv_func_sysconf=${ac_cv_func_sysconf='yes'}
ac_cv_header_alloca_h=${ac_cv_header_alloca_h='yes'}
ac_cv_header_asm_types_h=${ac_cv_header_asm_types_h='no'}
ac_cv_header_bluetooth_bluetooth_h=${ac_cv_header_bluetooth_bluetooth_h='no'}
ac_cv_header_bluetooth_h=${ac_cv_header_bluetooth_h='no'}
ac_cv_header_bzlib_h=${ac_cv_header_bzlib_h='no'}
ac_cv_header_conio_h=${ac_cv_header_conio_h='no'}
ac_cv_header_crypt_h=${ac_cv_header_crypt_h='yes'}
ac_cv_header_curses_h=${ac_cv_header_curses_h='no'}
ac_cv_header_db_h=${ac_cv_header_db_h='no'}
ac_cv_header_direct_h=${ac_cv_header_direct_h='no'}
ac_cv_header_dirent_dirent_h=${ac_cv_header_dirent_dirent_h='yes'}
ac_cv_header_dlfcn_h=${ac_cv_header_dlfcn_h='yes'}
ac_cv_header_endian_h=${ac_cv_header_endian_h='yes'}
ac_cv_header_errno_h=${ac_cv_header_errno_h='yes'}
ac_cv_header_fcntl_h=${ac_cv_header_fcntl_h='yes'}
ac_cv_header_float_h=${ac_cv_header_float_h='yes'}
ac_cv_header_gdbm_dash_ndbm_h=${ac_cv_header_gdbm_dash_ndbm_h='no'}
ac_cv_header_gdbm_h=${ac_cv_header_gdbm_h='no'}
ac_cv_header_gdbm_slash_ndbm_h=${ac_cv_header_gdbm_slash_ndbm_h='no'}
ac_cv_header_grp_h=${ac_cv_header_grp_h='yes'}
ac_cv_header_ieeefp_h=${ac_cv_header_ieeefp_h='no'}
ac_cv_header_inttypes_h=${ac_cv_header_inttypes_h='yes'}
ac_cv_header_invent_h=${ac_cv_header_invent_h='no'}
ac_cv_header_io_h=${ac_cv_header_io_h='no'}
ac_cv_header_langinfo_h=${ac_cv_header_langinfo_h='yes'}
ac_cv_header_libintl_h=${ac_cv_header_libintl_h='no'}
ac_cv_header_libutil_h=${ac_cv_header_libutil_h='no'}
ac_cv_header_linux_auxvec_h=${ac_cv_header_linux_auxvec_h='no'}
ac_cv_header_linux_can_bcm_h=${ac_cv_header_linux_can_bcm_h='no'}
ac_cv_header_linux_can_h=${ac_cv_header_linux_can_h='no'}
ac_cv_header_linux_can_j1939_h=${ac_cv_header_linux_can_j1939_h='no'}
ac_cv_header_linux_can_raw_h=${ac_cv_header_linux_can_raw_h='no'}
ac_cv_header_linux_memfd_h=${ac_cv_header_linux_memfd_h='no'}
ac_cv_header_linux_netlink_h=${ac_cv_header_linux_netlink_h='no'}
ac_cv_header_linux_qrtr_h=${ac_cv_header_linux_qrtr_h='no'}
ac_cv_header_linux_random_h=${ac_cv_header_linux_random_h='no'}
ac_cv_header_linux_soundcard_h=${ac_cv_header_linux_soundcard_h='no'}
ac_cv_header_linux_tipc_h=${ac_cv_header_linux_tipc_h='no'}
ac_cv_header_linux_vm_sockets_h=${ac_cv_header_linux_vm_sockets_h='no'}
ac_cv_header_linux_wait_h=${ac_cv_header_linux_wait_h='no'}
ac_cv_header_locale_h=${ac_cv_header_locale_h='yes'}
ac_cv_header_lzma_h=${ac_cv_header_lzma_h='no'}
ac_cv_header_machine_hal_sysinfo_h=${ac_cv_header_machine_hal_sysinfo_h='no'}
ac_cv_header_memory_h=${ac_cv_header_memory_h='yes'}
ac_cv_header_minix_config_h=${ac_cv_header_minix_config_h='no'}
ac_cv_header_ncurses_h=${ac_cv_header_ncurses_h='no'}
ac_cv_header_ndbm_h=${ac_cv_header_ndbm_h='no'}
ac_cv_header_net_if_h=${ac_cv_header_net_if_h='yes'}
ac_cv_header_netcan_can_h=${ac_cv_header_netcan_can_h='no'}
ac_cv_header_netdb_h=${ac_cv_header_netdb_h='yes'}
ac_cv_header_netinet_in_h=${ac_cv_header_netinet_in_h='yes'}
ac_cv_header_netpacket_packet_h=${ac_cv_header_netpacket_packet_h='no'}
ac_cv_header_nl_types_h=${ac_cv_header_nl_types_h='yes'}
ac_cv_header_poll_h=${ac_cv_header_poll_h='yes'}
ac_cv_header_process_h=${ac_cv_header_process_h='no'}
ac_cv_header_pthread_h=${ac_cv_header_pthread_h='yes'}
ac_cv_header_pty_h=${ac_cv_header_pty_h='no'}
ac_cv_header_sched_h=${ac_cv_header_sched_h='yes'}
ac_cv_header_setjmp_h=${ac_cv_header_setjmp_h='yes'}
ac_cv_header_shadow_h=${ac_cv_header_shadow_h='no'}
ac_cv_header_signal_h=${ac_cv_header_signal_h='yes'}
ac_cv_header_spawn_h=${ac_cv_header_spawn_h='no'}
ac_cv_header_sqlite3_h=${ac_cv_header_sqlite3_h='no'}
ac_cv_header_stdatomic_h=${ac_cv_header_stdatomic_h='yes'}
ac_cv_header_stdc=${ac_cv_header_stdc='yes'}
ac_cv_header_stdint_h=${ac_cv_header_stdint_h='yes'}
ac_cv_header_stdio_h=${ac_cv_header_stdio_h='yes'}
ac_cv_header_stdlib_h=${ac_cv_header_stdlib_h='yes'}
ac_cv_header_string_h=${ac_cv_header_string_h='yes'}
ac_cv_header_strings_h=${ac_cv_header_strings_h='yes'}
ac_cv_header_stropts_h=${ac_cv_header_stropts_h='no'}
ac_cv_header_sys_attributes_h=${ac_cv_header_sys_attributes_h='no'}
ac_cv_header_sys_audioio_h=${ac_cv_header_sys_audioio_h='no'}
ac_cv_header_sys_auxv_h=${ac_cv_header_sys_auxv_h='yes'}
ac_cv_header_sys_bsdtty_h=${ac_cv_header_sys_bsdtty_h='no'}
ac_cv_header_sys_devpoll_h=${ac_cv_header_sys_devpoll_h='no'}
ac_cv_header_sys_endian_h=${ac_cv_header_sys_endian_h='no'}
ac_cv_header_sys_epoll_h=${ac_cv_header_sys_epoll_h='no'}
ac_cv_header_sys_event_h=${ac_cv_header_sys_event_h='yes'}
ac_cv_header_sys_eventfd_h=${ac_cv_header_sys_eventfd_h='no'}
ac_cv_header_sys_file_h=${ac_cv_header_sys_file_h='yes'}
ac_cv_header_sys_ioctl_h=${ac_cv_header_sys_ioctl_h='yes'}
ac_cv_header_sys_iograph_h=${ac_cv_header_sys_iograph_h='no'}
ac_cv_header_sys_kern_control_h=${ac_cv_header_sys_kern_control_h='no'}
ac_cv_header_sys_loadavg_h=${ac_cv_header_sys_loadavg_h='no'}
ac_cv_header_sys_lock_h=${ac_cv_header_sys_lock_h='no'}
ac_cv_header_sys_memfd_h=${ac_cv_header_sys_memfd_h='no'}
ac_cv_header_sys_mkdev_h=${ac_cv_header_sys_mkdev_h='no'}
ac_cv_header_sys_mman_h=${ac_cv_header_sys_mman_h='yes'}
ac_cv_header_sys_modem_h=${ac_cv_header_sys_modem_h='no'}
ac_cv_header_sys_param_h=${ac_cv_header_sys_param_h='yes'}
ac_cv_header_sys_poll_h=${ac_cv_header_sys_poll_h='yes'}
ac_cv_header_sys_processor_h=${ac_cv_header_sys_processor_h='no'}
ac_cv_header_sys_pstat_h=${ac_cv_header_sys_pstat_h='no'}
ac_cv_header_sys_random_h=${ac_cv_header_sys_random_h='yes'}
ac_cv_header_sys_resource_h=${ac_cv_header_sys_resource_h='yes'}
ac_cv_header_sys_select_h=${ac_cv_header_sys_select_h='yes'}
ac_cv_header_sys_sendfile_h=${ac_cv_header_sys_sendfile_h='yes'}
ac_cv_header_sys_socket_h=${ac_cv_header_sys_socket_h='yes'}
ac_cv_header_sys_soundcard_h=${ac_cv_header_sys_soundcard_h='no'}
ac_cv_header_sys_stat_h=${ac_cv_header_sys_stat_h='yes'}
ac_cv_header_sys_statvfs_h=${ac_cv_header_sys_statvfs_h='yes'}
ac_cv_header_sys_sys_domain_h=${ac_cv_header_sys_sys_domain_h='no'}
ac_cv_header_sys_syscall_h=${ac_cv_header_sys_syscall_h='yes'}
ac_cv_header_sys_sysctl_h=${ac_cv_header_sys_sysctl_h='no'}
ac_cv_header_sys_sysinfo_h=${ac_cv_header_sys_sysinfo_h='yes'}
ac_cv_header_sys_sysmacros_h=${ac_cv_header_sys_sysmacros_h='yes'}
ac_cv_header_sys_syssgi_h=${ac_cv_header_sys_syssgi_h='no'}
ac_cv_header_sys_systemcfg_h=${ac_cv_header_sys_systemcfg_h='no'}
ac_cv_header_sys_termio_h=${ac_cv_header_sys_termio_h='no'}
ac_cv_header_sys_time_h=${ac_cv_header_sys_time_h='yes'}
ac_cv_header_sys_times_h=${ac_cv_header_sys_times_h='yes'}
ac_cv_header_sys_types_h=${ac_cv_header_sys_types_h='yes'}
ac_cv_header_sys_types_h_makedev=${ac_cv_header_sys_types_h_makedev='yes'}
ac_cv_header_sys_uio_h=${ac_cv_header_sys_uio_h='yes'}
ac_cv_header_sys_un_h=${ac_cv_header_sys_un_h='yes'}
ac_cv_header_sys_utsname_h=${ac_cv_header_sys_utsname_h='yes'}
ac_cv_header_sys_wait_h=${ac_cv_header_sys_wait_h='yes'}
ac_cv_header_sys_xattr_h=${ac_cv_header_sys_xattr_h='yes'}
ac_cv_header_sysexits_h=${ac_cv_header_sysexits_h='yes'}
ac_cv_header_syslog_h=${ac_cv_header_syslog_h='yes'}
ac_cv_header_term_h=${ac_cv_header_term_h='no'}
ac_cv_header_termios_h=${ac_cv_header_termios_h='yes'}
ac_cv_header_time=${ac_cv_header_time='yes'}
ac_cv_header_time_altzone=${ac_cv_header_time_altzone='no'}
ac_cv_header_unistd_h=${ac_cv_header_unistd_h='yes'}
ac_cv_header_util_h=${ac_cv_header_util_h='no'}
ac_cv_header_utime_h=${ac_cv_header_utime_h='yes'}
ac_cv_header_utmp_h=${ac_cv_header_utmp_h='yes'}
ac_cv_header_uuid_h=${ac_cv_header_uuid_h='no'}
ac_cv_header_uuid_uuid_h=${ac_cv_header_uuid_uuid_h='no'}
ac_cv_header_wchar_h=${ac_cv_header_wchar_h='yes'}
ac_cv_header_zlib_h=${ac_cv_header_zlib_h='yes'}
ac_cv_lib_curses_filter=${ac_cv_lib_curses_filter='no'}
ac_cv_lib_curses_has_key=${ac_cv_lib_curses_has_key='no'}
ac_cv_lib_curses_immedok=${ac_cv_lib_curses_immedok='no'}
ac_cv_lib_curses_is_pad=${ac_cv_lib_curses_is_pad='no'}
ac_cv_lib_curses_is_term_resized=${ac_cv_lib_curses_is_term_resized='no'}
ac_cv_lib_curses_resize_term=${ac_cv_lib_curses_resize_term='no'}
ac_cv_lib_curses_resizeterm=${ac_cv_lib_curses_resizeterm='no'}
ac_cv_lib_curses_syncok=${ac_cv_lib_curses_syncok='no'}
ac_cv_lib_curses_typeahead=${ac_cv_lib_curses_typeahead='no'}
ac_cv_lib_curses_use_env=${ac_cv_lib_curses_use_env='no'}
ac_cv_lib_curses_wchgat=${ac_cv_lib_curses_wchgat='no'}
ac_cv_member_siginfo_t_si_band=${ac_cv_member_siginfo_t_si_band='yes'}
ac_cv_member_struct_passwd_pw_gecos=${ac_cv_member_struct_passwd_pw_gecos='yes'}
ac_cv_member_struct_passwd_pw_passwd=${ac_cv_member_struct_passwd_pw_passwd='yes'}
ac_cv_member_struct_stat_st_birthtime=${ac_cv_member_struct_stat_st_birthtime='yes'}
ac_cv_member_struct_stat_st_blksize=${ac_cv_member_struct_stat_st_blksize='yes'}
ac_cv_member_struct_stat_st_blocks=${ac_cv_member_struct_stat_st_blocks='yes'}
ac_cv_member_struct_stat_st_flags=${ac_cv_member_struct_stat_st_flags='yes'}
ac_cv_member_struct_stat_st_gen=${ac_cv_member_struct_stat_st_gen='yes'}
ac_cv_member_struct_stat_st_rdev=${ac_cv_member_struct_stat_st_rdev='yes'}
ac_cv_member_struct_tm_tm_zone=${ac_cv_member_struct_tm_tm_zone='yes'}
ac_cv_objext=${ac_cv_objext='o'}
ac_cv_path_EGREP=${ac_cv_path_EGREP='/bin/grep -E'}
ac_cv_path_GREP=${ac_cv_path_GREP='/bin/grep'}
ac_cv_path_install=${ac_cv_path_install='/usr/bin/install -c'}
ac_cv_path_SED=${ac_cv_path_SED='/bin/sed'}
ac_cv_prog_ac_ct_AR=${ac_cv_prog_ac_ct_AR='ar'}
ac_cv_prog_ac_ct_READELF=${ac_cv_prog_ac_ct_READELF='readelf'}
ac_cv_prog_cc_g=${ac_cv_prog_cc_g='yes'}
ac_cv_prog_TRUE=${ac_cv_prog_TRUE='true'}
ac_cv_sizeof__Bool=${ac_cv_sizeof__Bool='1'}
ac_cv_sizeof_double=${ac_cv_sizeof_double='8'}
ac_cv_sizeof_float=${ac_cv_sizeof_float='4'}
ac_cv_sizeof_fpos_t=${ac_cv_sizeof_fpos_t='8'}
ac_cv_sizeof_int=${ac_cv_sizeof_int='4'}
ac_cv_sizeof_long=${ac_cv_sizeof_long='8'}
ac_cv_sizeof_long_double=${ac_cv_sizeof_long_double='16'}
ac_cv_sizeof_long_long=${ac_cv_sizeof_long_long='8'}
ac_cv_sizeof_off_t=${ac_cv_sizeof_off_t='8'}
ac_cv_sizeof_pid_t=${ac_cv_sizeof_pid_t='4'}
ac_cv_sizeof_pthread_key_t=${ac_cv_sizeof_pthread_key_t='4'}
ac_cv_sizeof_pthread_t=${ac_cv_sizeof_pthread_t='8'}
ac_cv_sizeof_short=${ac_cv_sizeof_short='2'}
ac_cv_sizeof_size_t=${ac_cv_sizeof_size_t='8'}
ac_cv_sizeof_time_t=${ac_cv_sizeof_time_t='8'}
ac_cv_sizeof_uintptr_t=${ac_cv_sizeof_uintptr_t='8'}
ac_cv_sizeof_void_p=${ac_cv_sizeof_void_p='8'}
ac_cv_sizeof_wchar_t=${ac_cv_sizeof_wchar_t='4'}
ac_cv_type___uint128_t=${ac_cv_type___uint128_t='yes'}
ac_cv_type_long_double=${ac_cv_type_long_double='yes'}
ac_cv_type_size_t=${ac_cv_type_size_t='yes'}
ac_cv_type_ssize_t=${ac_cv_type_ssize_t='yes'}
gmp_cv_header_alloca=${gmp_cv_header_alloca='yes'}
EOF
fi
. /var/local/config.cache
./configure -C "$@"