From a8e2ff971ac6e7cdd4cf8c6b7166d8b0c5109c2a Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Tue, 18 Feb 2020 21:29:25 +0100 Subject: Use GP_INIT --- configure.ac | 1 + gphoto-m4/gp-init.m4 | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 gphoto-m4/gp-init.m4 diff --git a/configure.ac b/configure.ac index b298270f2..0830d4d08 100644 --- a/configure.ac +++ b/configure.ac @@ -20,6 +20,7 @@ dnl before determining the string length. However, the only relevant dnl string to determine the length of would be PACKAGE-VERSION/foo/bar AM_INIT_AUTOMAKE([-Wall foreign 1.9 dist-bzip2 check-news subdir-objects]) +GP_INIT # Use the silent-rules feature when possible. m4_ifndef([AM_SILENT_RULES], [m4_define([AM_SILENT_RULES],[])]) diff --git a/gphoto-m4/gp-init.m4 b/gphoto-m4/gp-init.m4 new file mode 100644 index 000000000..f5f92a6d7 --- /dev/null +++ b/gphoto-m4/gp-init.m4 @@ -0,0 +1,13 @@ +dnl #################################################################### +dnl GP_INIT +dnl So far, a dummy function to force inclusion of this file and +dnl thus the m4_pattern_forbid() call. +dnl #################################################################### +dnl +m4_pattern_forbid([GP_])dnl +dnl +dnl +AC_DEFUN_ONCE([GP_INIT], [dnl +])dnl +dnl +dnl -- cgit v1.2.1