xref: /Universal-ctags/m4/zzgnulib.m4 (revision 820c1a8d46849a90376d8eb15b319ac05439f656)
1*820c1a8dSHiroo HAYASHI# zzgnulib.m4 serial 1
2*820c1a8dSHiroo HAYASHIdnl Copyright (C) 2020-2021 Free Software Foundation, Inc.
3*820c1a8dSHiroo HAYASHIdnl This file is free software; the Free Software Foundation
4*820c1a8dSHiroo HAYASHIdnl gives unlimited permission to copy and/or distribute it,
5*820c1a8dSHiroo HAYASHIdnl with or without modifications, as long as this notice is preserved.
6*820c1a8dSHiroo HAYASHI
7*820c1a8dSHiroo HAYASHIdnl This file must be named something that sorts after all other
8*820c1a8dSHiroo HAYASHIdnl package- or gnulib-provided .m4 files - at least for those packages
9*820c1a8dSHiroo HAYASHIdnl that redefine AC_PROG_CC.
10*820c1a8dSHiroo HAYASHI
11*820c1a8dSHiroo HAYASHIdnl Redefine AC_PROG_CC so that it ends with invocations of gl_COMPILER_CLANG
12*820c1a8dSHiroo HAYASHIdnl and gl_COMPILER_PREPARE_CHECK_DECL.
13*820c1a8dSHiroo HAYASHIm4_define([AC_PROG_CC],
14*820c1a8dSHiroo HAYASHI  m4_defn([AC_PROG_CC])[
15*820c1a8dSHiroo HAYASHIgl_COMPILER_CLANG
16*820c1a8dSHiroo HAYASHIgl_COMPILER_PREPARE_CHECK_DECL
17*820c1a8dSHiroo HAYASHI])
18*820c1a8dSHiroo HAYASHI
19*820c1a8dSHiroo HAYASHI# gl_ZZGNULIB
20*820c1a8dSHiroo HAYASHI# -----------
21*820c1a8dSHiroo HAYASHI# Witness macro that this file has been included.  Needed to force
22*820c1a8dSHiroo HAYASHI# Automake to include this file after all other gnulib .m4 files.
23*820c1a8dSHiroo HAYASHIAC_DEFUN([gl_ZZGNULIB])
24