From c2c40daf61acdbe02a676c85db5aa6433f9e35eb Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Fri, 2 Apr 2021 11:52:47 -0400 Subject: Break up aclocal.m4 --- .gitignore | 1 + aclocal.m4 | 2740 ------------------------------ configure.ac | 1 + m4/bootstrapping_ghc_info_field.m4 | 13 + m4/check_for_gold_t22266.m4 | 89 + m4/check_ld_copy_bug.m4 | 61 + m4/find_ghc_bootstrap_prog.m4 | 17 + m4/find_ld.m4 | 70 + m4/find_llvm_prog.m4 | 32 + m4/find_merge_objects.m4 | 29 + m4/find_python.m4 | 10 + m4/fp_bfd_support.m4 | 48 + m4/fp_cc_linker_flag_try.m4 | 20 + m4/fp_cc_llvm_backend.m4 | 18 + m4/fp_check_alignment.m4 | 22 + m4/fp_check_func.m4 | 16 + m4/fp_check_prog.m4 | 8 + m4/fp_check_sizeof_and_alignment.m4 | 8 + m4/fp_check_timer_create.m4 | 112 ++ m4/fp_compare_versions.m4 | 27 + m4/fp_compute_int.m4 | 12 + m4/fp_copy_shellvar.m4 | 3 + m4/fp_cpp_cmd_with_args.m4 | 99 ++ m4/fp_curses.m4 | 15 + m4/fp_default_choice_override_check.m4 | 41 + m4/fp_find_root.m4 | 37 + m4/fp_gcc_extra_flags.m4 | 20 + m4/fp_gcc_supports__atomics.m4 | 17 + m4/fp_gcc_supports_no_pie.m4 | 19 + m4/fp_gcc_version.m4 | 27 + m4/fp_gmp.m4 | 35 + m4/fp_iconv.m4 | 25 + m4/fp_leading_underscore.m4 | 56 + m4/fp_prog_ar.m4 | 23 + m4/fp_prog_ar_args.m4 | 36 + m4/fp_prog_ar_is_gnu.m4 | 14 + m4/fp_prog_ar_needs_ranlib.m4 | 49 + m4/fp_prog_ar_supports_atfile.m4 | 26 + m4/fp_prog_context_diff.m4 | 23 + m4/fp_prog_find.m4 | 18 + m4/fp_prog_ghc_pkg.m4 | 21 + m4/fp_prog_ld_build_id.m4 | 24 + m4/fp_prog_ld_filelist.m4 | 29 + m4/fp_prog_ld_flag.m4 | 17 + m4/fp_prog_ld_is_gnu.m4 | 13 + m4/fp_prog_ld_no_compact_unwind.m4 | 22 + m4/fp_prog_sort.m4 | 18 + m4/fp_set_cflags_c99.m4 | 38 + m4/fp_settings.m4 | 125 ++ m4/fp_setup_project_version.m4 | 102 ++ m4/fp_visibility_hidden.m4 | 16 + m4/fptools_alex.m4 | 33 + m4/fptools_float_word_order_bigendian.m4 | 25 + m4/fptools_ghc_version.m4 | 49 + m4/fptools_happy.m4 | 34 + m4/fptools_nocache_check.m4 | 11 + m4/fptools_set_c_ld_flags.m4 | 101 ++ m4/fptools_set_haskell_platform_vars.m4 | 224 +++ m4/fptools_set_platform_vars.m4 | 145 ++ m4/fptools_write_file.m4 | 9 + m4/get_arm_isa.m4 | 117 ++ m4/ghc_convert_cpu.m4 | 88 + m4/ghc_convert_os.m4 | 54 + m4/ghc_convert_vendor.m4 | 20 + m4/ghc_llvm_target.m4 | 45 + m4/ghc_select_file_extensions.m4 | 22 + m4/library_version.m4 | 10 + m4/maybe_override_stage0.m4 | 6 + m4/xcode_version.m4 | 25 + 69 files changed, 2640 insertions(+), 2740 deletions(-) delete mode 100644 aclocal.m4 create mode 100644 m4/bootstrapping_ghc_info_field.m4 create mode 100644 m4/check_for_gold_t22266.m4 create mode 100644 m4/check_ld_copy_bug.m4 create mode 100644 m4/find_ghc_bootstrap_prog.m4 create mode 100644 m4/find_ld.m4 create mode 100644 m4/find_llvm_prog.m4 create mode 100644 m4/find_merge_objects.m4 create mode 100644 m4/find_python.m4 create mode 100644 m4/fp_bfd_support.m4 create mode 100644 m4/fp_cc_linker_flag_try.m4 create mode 100644 m4/fp_cc_llvm_backend.m4 create mode 100644 m4/fp_check_alignment.m4 create mode 100644 m4/fp_check_func.m4 create mode 100644 m4/fp_check_prog.m4 create mode 100644 m4/fp_check_sizeof_and_alignment.m4 create mode 100644 m4/fp_check_timer_create.m4 create mode 100644 m4/fp_compare_versions.m4 create mode 100644 m4/fp_compute_int.m4 create mode 100644 m4/fp_copy_shellvar.m4 create mode 100644 m4/fp_cpp_cmd_with_args.m4 create mode 100644 m4/fp_curses.m4 create mode 100644 m4/fp_default_choice_override_check.m4 create mode 100644 m4/fp_find_root.m4 create mode 100644 m4/fp_gcc_extra_flags.m4 create mode 100644 m4/fp_gcc_supports__atomics.m4 create mode 100644 m4/fp_gcc_supports_no_pie.m4 create mode 100644 m4/fp_gcc_version.m4 create mode 100644 m4/fp_gmp.m4 create mode 100644 m4/fp_iconv.m4 create mode 100644 m4/fp_leading_underscore.m4 create mode 100644 m4/fp_prog_ar.m4 create mode 100644 m4/fp_prog_ar_args.m4 create mode 100644 m4/fp_prog_ar_is_gnu.m4 create mode 100644 m4/fp_prog_ar_needs_ranlib.m4 create mode 100644 m4/fp_prog_ar_supports_atfile.m4 create mode 100644 m4/fp_prog_context_diff.m4 create mode 100644 m4/fp_prog_find.m4 create mode 100644 m4/fp_prog_ghc_pkg.m4 create mode 100644 m4/fp_prog_ld_build_id.m4 create mode 100644 m4/fp_prog_ld_filelist.m4 create mode 100644 m4/fp_prog_ld_flag.m4 create mode 100644 m4/fp_prog_ld_is_gnu.m4 create mode 100644 m4/fp_prog_ld_no_compact_unwind.m4 create mode 100644 m4/fp_prog_sort.m4 create mode 100644 m4/fp_set_cflags_c99.m4 create mode 100644 m4/fp_settings.m4 create mode 100644 m4/fp_setup_project_version.m4 create mode 100644 m4/fp_visibility_hidden.m4 create mode 100644 m4/fptools_alex.m4 create mode 100644 m4/fptools_float_word_order_bigendian.m4 create mode 100644 m4/fptools_ghc_version.m4 create mode 100644 m4/fptools_happy.m4 create mode 100644 m4/fptools_nocache_check.m4 create mode 100644 m4/fptools_set_c_ld_flags.m4 create mode 100644 m4/fptools_set_haskell_platform_vars.m4 create mode 100644 m4/fptools_set_platform_vars.m4 create mode 100644 m4/fptools_write_file.m4 create mode 100644 m4/get_arm_isa.m4 create mode 100644 m4/ghc_convert_cpu.m4 create mode 100644 m4/ghc_convert_os.m4 create mode 100644 m4/ghc_convert_vendor.m4 create mode 100644 m4/ghc_llvm_target.m4 create mode 100644 m4/ghc_select_file_extensions.m4 create mode 100644 m4/library_version.m4 create mode 100644 m4/maybe_override_stage0.m4 create mode 100644 m4/xcode_version.m4 diff --git a/.gitignore b/.gitignore index c1be9cbfa7..6c9b992fd4 100644 --- a/.gitignore +++ b/.gitignore @@ -39,6 +39,7 @@ tags TAGS autom4te.cache +aclocal.m4 config.log config.status configure diff --git a/aclocal.m4 b/aclocal.m4 deleted file mode 100644 index d7b6c58f44..0000000000 --- a/aclocal.m4 +++ /dev/null @@ -1,2740 +0,0 @@ -# Extra autoconf macros for the Glasgow fptools -# -# To be a good autoconf citizen, names of local macros have prefixed with FP_ to -# ensure we don't clash with any pre-supplied autoconf ones. - -m4_include([m4/ax_compare_version.m4]) - -# FPTOOLS_WRITE_FILE -# ------------------ -# Write $2 to the file named $1. -AC_DEFUN([FPTOOLS_WRITE_FILE], -[ -cat >$1 <