# --- T2-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by scripts/Create-CopyPatch. # # T2 SDE: package/*/apr/apr.conf # Copyright (C) 2008 - 2020 The T2 SDE Project # # More information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. A copy of the # GNU General Public License can be found in the file COPYING. # --- T2-COPYRIGHT-NOTE-END --- apr_fill_cache() { cat >> config.cache <<-EOT ac_cv_file__dev_zero=1 apr_cv_process_shared_works=1 apr_cv_tcp_nodelay_with_cork=1 ac_cv_type_size_t=yes ac_cv_type_ssize_t=yes ac_cv_sizeof_size_t=$arch_sizeof_long ac_cv_sizeof_ssize_t=$arch_sizeof_long ac_cv_sizeof_struct_iovec="sizeof(struct iovec)" EOT } if atstage cross; then hook_add preconf 5 apr_fill_cache hook_add premake 5 'make CC=$HOSTCC tools/gen_test_char' fi var_append makeinstopt ' ' '-j1'