summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2020-02-18 22:04:50 +0100
committerHans Ulrich Niedermann <hun@n-dimensional.de>2020-02-18 22:21:16 +0100
commitbb750f692f93e771aa1129d20170d414c2b1a292 (patch)
tree0ee7035063dbcc28110e11cc884aabbec953e3bc
parentfb75d3632dec4419594fb0d2db5d7ccebadf1841 (diff)
downloadlibgphoto2-bb750f692f93e771aa1129d20170d414c2b1a292.tar.gz
gphoto-m4/*.m4: Remove BEGIN and END comments
We do not need those any more, and they only clutter up the source code and the generated configure script.
-rw-r--r--gphoto-m4/gp-camlibs.m47
-rw-r--r--gphoto-m4/gp-set.m42
2 files changed, 0 insertions, 9 deletions
diff --git a/gphoto-m4/gp-camlibs.m4 b/gphoto-m4/gp-camlibs.m4
index 2706677f5..5c11c5935 100644
--- a/gphoto-m4/gp-camlibs.m4
+++ b/gphoto-m4/gp-camlibs.m4
@@ -78,7 +78,6 @@ dnl _GP_CAMLIBS_INIT
dnl Called internally when required.
dnl ####################################################################
AC_DEFUN_ONCE([_GP_CAMLIBS_INIT],[dnl
-dnl # BEGIN $0($@)
AC_BEFORE([$0],[GP_CAMLIB])dnl
AC_REQUIRE([AC_PROG_GREP])dnl
AC_REQUIRE([AC_PROG_SED])dnl
@@ -95,7 +94,6 @@ m4_foreach_w([var], [everything standard unlisted outdated], [dnl
GP_SET_DEFINE([camlib-set-standard])dnl
GP_SET_DEFINE([camlib-set-unlisted])dnl
GP_SET_DEFINE([camlib-set-outdated])dnl
-dnl # END $0($@)
])dnl
dnl
dnl
@@ -107,7 +105,6 @@ dnl the "outdated" set of camlibs, respectively.
dnl ####################################################################
m4_pattern_forbid([GP_CAMLIB])dnl
AC_DEFUN([GP_CAMLIB],[dnl
-dnl # BEGIN $0($@)
AC_REQUIRE([_GP_CAMLIBS_INIT])dnl
AC_BEFORE([$0],[GP_CAMLIBS_DEFINE])dnl
m4_case([$#],[2],[dnl
@@ -132,7 +129,6 @@ m4_set_add([gp_m4s_camlib_set_everything], [$1], [], [dnl
m4_errprintn(__file__:__line__:[Duplicate declaration of camlib $1])dnl
m4_exit(1)dnl
])dnl
-dnl # END $0($@)
])dnl AC_DEFUN GP_CAMLIB
dnl
dnl
@@ -179,7 +175,6 @@ dnl Determine the set of camlibs to build from the --with-camlibs
dnl parameter, and set the build variables accordingly.
dnl ####################################################################
AC_DEFUN([GP_CAMLIBS_DEFINE],[dnl
-# BEGIN $0($@)
AC_REQUIRE([_GP_CAMLIBS_INIT])dnl
AC_REQUIRE([GP_PROG_EXPR])dnl
@@ -476,8 +471,6 @@ AC_SUBST([GP_CAMLIB_SET])
m4_pattern_allow([GP_CAMLIB_SET_EVERYTHING])dnl
AC_SUBST([GP_CAMLIB_SET_EVERYTHING],
["m4_set_contents([gp_m4s_camlib_set_everything], [ ])"])
-
-# END $0($@)
])dnl
dnl
dnl
diff --git a/gphoto-m4/gp-set.m4 b/gphoto-m4/gp-set.m4
index 63993e862..e46a2c8df 100644
--- a/gphoto-m4/gp-set.m4
+++ b/gphoto-m4/gp-set.m4
@@ -653,7 +653,6 @@ dnl
dnl Should be mostly useful while debugging gp-set.m4 itself.
dnl ######################################################################
AC_DEFUN([GP_SET_TESTSUITE], [dnl
-# BEGIN $0
_GP_SET_INIT
GP_SET_DEFINE([foo])
@@ -742,7 +741,6 @@ GP_SET_FOREACH([foobar], [gp_set_var], [echo " * ELEMENT ${gp_set_var}"])dnl
AS_ECHO(["Moo."])
GP_SET_DUMP_ALL
-# END $0
])dnl
dnl
dnl