summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2020-02-18 21:29:25 +0100
committerHans Ulrich Niedermann <hun@n-dimensional.de>2020-02-18 22:52:33 +0100
commita8e2ff971ac6e7cdd4cf8c6b7166d8b0c5109c2a (patch)
tree9d11ef6d534f810f32b22094ab0d81a3e375ba86
parentd64e5c43e0cf8b45fdc082d7bd3734010fc2d392 (diff)
downloadlibgphoto2-a8e2ff971ac6e7cdd4cf8c6b7166d8b0c5109c2a.tar.gz
Use GP_INIT
-rw-r--r--configure.ac1
-rw-r--r--gphoto-m4/gp-init.m413
2 files changed, 14 insertions, 0 deletions
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