summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2021-10-18 20:53:12 +0200
committerHans Ulrich Niedermann <hun@n-dimensional.de>2021-11-03 22:02:49 +0100
commit5a00d0480e2b8b5966ab8e9ceb6d1ad117327a01 (patch)
tree40c2c5ae1e0107839c01db11ee9f434fb4fb9cea /configure.ac
parent24b7cfad168017d561562b769ca164fc395b624c (diff)
downloadlibgphoto2-5a00d0480e2b8b5966ab8e9ceb6d1ad117327a01.tar.gz
Use m4_pattern_forbid to find unnoticed GP_ strings
Use m4_pattern_forbid to find unnoticed GP_ strings in the configure and config.status scripts.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d235f9f0a..00fd9c9b0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -25,6 +25,11 @@ AM_INIT_AUTOMAKE([-Wall foreign 1.9 dist-bzip2 dist-xz check-news subdir-objects
m4_ifndef([AM_SILENT_RULES], [m4_define([AM_SILENT_RULES],[])])
AM_SILENT_RULES([no])
+
+dnl Flag all GP_ strings in result as error unless specifically allowed.
+m4_pattern_forbid([^_?GP_])dnl
+
+
GP_CHECK_SHELL_ENVIRONMENT
GP_CONFIG_MSG([Build])
GP_CONFIG_MSG([Source code location],[${srcdir}])