diff options
Diffstat (limited to 'm4/zzgnulib.m4')
-rw-r--r-- | m4/zzgnulib.m4 | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/m4/zzgnulib.m4 b/m4/zzgnulib.m4 new file mode 100644 index 00000000..fd73a201 --- /dev/null +++ b/m4/zzgnulib.m4 | |||
@@ -0,0 +1,23 @@ | |||
1 | # zzgnulib.m4 serial 1 | ||
2 | dnl Copyright (C) 2020-2022 Free Software Foundation, Inc. | ||
3 | dnl This file is free software; the Free Software Foundation | ||
4 | dnl gives unlimited permission to copy and/or distribute it, | ||
5 | dnl with or without modifications, as long as this notice is preserved. | ||
6 | |||
7 | dnl This file must be named something that sorts after all other | ||
8 | dnl package- or gnulib-provided .m4 files - at least for those packages | ||
9 | dnl that redefine AC_PROG_CC. | ||
10 | |||
11 | dnl Redefine AC_PROG_CC so that it ends with invocations of gl_COMPILER_CLANG | ||
12 | dnl and gl_COMPILER_PREPARE_CHECK_DECL. | ||
13 | m4_define([AC_PROG_CC], | ||
14 | m4_defn([AC_PROG_CC])[ | ||
15 | gl_COMPILER_CLANG | ||
16 | gl_COMPILER_PREPARE_CHECK_DECL | ||
17 | ]) | ||
18 | |||
19 | # gl_ZZGNULIB | ||
20 | # ----------- | ||
21 | # Witness macro that this file has been included. Needed to force | ||
22 | # Automake to include this file after all other gnulib .m4 files. | ||
23 | AC_DEFUN([gl_ZZGNULIB]) | ||