summaryrefslogtreecommitdiff
path: root/libgphoto2_port/gphoto-m4
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2021-10-31 12:54:45 +0100
committerHans Ulrich Niedermann <hun@n-dimensional.de>2021-11-07 22:28:48 +0100
commit2270e2ac6c5cd5a65ce937294cc78c5effeca560 (patch)
treee6f8fb05decf9d06329d1e34d2ce9db484f26ccb /libgphoto2_port/gphoto-m4
parent30ee10437b3463cf27a092a0c533ad9f7466e75d (diff)
downloadlibgphoto2-2270e2ac6c5cd5a65ce937294cc78c5effeca560.tar.gz
Add "mode: autoconf" line to all *.m4 files
This helps with editing the *.m4 files in the proper editor mode.
Diffstat (limited to 'libgphoto2_port/gphoto-m4')
-rw-r--r--libgphoto2_port/gphoto-m4/gp-byteorder.m410
-rw-r--r--libgphoto2_port/gphoto-m4/gp-check-doxygen.m410
-rw-r--r--libgphoto2_port/gphoto-m4/gp-check-shell-environment.m46
-rw-r--r--libgphoto2_port/gphoto-m4/gp-documentation.m410
-rw-r--r--libgphoto2_port/gphoto-m4/gp-internal-docs.m47
-rw-r--r--libgphoto2_port/gphoto-m4/gp-manual-docbook-xml.m47
-rw-r--r--libgphoto2_port/gphoto-m4/gp-manual-documentation.m47
-rw-r--r--libgphoto2_port/gphoto-m4/gp-manual-fig2dev.m47
-rw-r--r--libgphoto2_port/gphoto-m4/gp-manual-graphviz.m47
-rw-r--r--libgphoto2_port/gphoto-m4/gp-manual-gtk-doc.m47
-rw-r--r--libgphoto2_port/gphoto-m4/gp-manual-pstoimg.m47
-rw-r--r--libgphoto2_port/gphoto-m4/gp-manual-w3m.m47
-rw-r--r--libgphoto2_port/gphoto-m4/gp-packaging.m48
-rw-r--r--libgphoto2_port/gphoto-m4/gp-references.m47
-rw-r--r--libgphoto2_port/gphoto-m4/gp-subpackage.m47
-rw-r--r--libgphoto2_port/gphoto-m4/gp-udev.m47
16 files changed, 114 insertions, 7 deletions
diff --git a/libgphoto2_port/gphoto-m4/gp-byteorder.m4 b/libgphoto2_port/gphoto-m4/gp-byteorder.m4
index 95d7435bf..e6f9ccdc6 100644
--- a/libgphoto2_port/gphoto-m4/gp-byteorder.m4
+++ b/libgphoto2_port/gphoto-m4/gp-byteorder.m4
@@ -447,4 +447,12 @@ esac
cat >> "$1" << EOF
#endif /*__BYTEORDER_H*/
-EOF])
+EOF
+])dnl
+dnl
+dnl
+dnl ####################################################################
+dnl
+dnl Local Variables:
+dnl mode: autoconf
+dnl End:
diff --git a/libgphoto2_port/gphoto-m4/gp-check-doxygen.m4 b/libgphoto2_port/gphoto-m4/gp-check-doxygen.m4
index 482ba1e64..591e142b4 100644
--- a/libgphoto2_port/gphoto-m4/gp-check-doxygen.m4
+++ b/libgphoto2_port/gphoto-m4/gp-check-doxygen.m4
@@ -16,6 +16,10 @@ AC_SUBST([HTML_APIDOC_DIR], ["${PACKAGE_TARNAME}-api.html"])
AC_SUBST([DOXYGEN_OUTPUT_DIR], [doxygen-output])
AC_SUBST([HTML_APIDOC_INTERNALS_DIR], ["${PACKAGE_TARNAME}-internals.html"])
])dnl
-
-
-
+dnl
+dnl
+dnl ####################################################################
+dnl
+dnl Local Variables:
+dnl mode: autoconf
+dnl End:
diff --git a/libgphoto2_port/gphoto-m4/gp-check-shell-environment.m4 b/libgphoto2_port/gphoto-m4/gp-check-shell-environment.m4
index a3d6749b9..3a84c5e06 100644
--- a/libgphoto2_port/gphoto-m4/gp-check-shell-environment.m4
+++ b/libgphoto2_port/gphoto-m4/gp-check-shell-environment.m4
@@ -46,3 +46,9 @@ printenv | grep -E '^(LC_|LANG)'
dnl
])dnl
dnl
+dnl
+dnl ####################################################################
+dnl
+dnl Local Variables:
+dnl mode: autoconf
+dnl End:
diff --git a/libgphoto2_port/gphoto-m4/gp-documentation.m4 b/libgphoto2_port/gphoto-m4/gp-documentation.m4
index d2c46f856..10060b760 100644
--- a/libgphoto2_port/gphoto-m4/gp-documentation.m4
+++ b/libgphoto2_port/gphoto-m4/gp-documentation.m4
@@ -4,7 +4,7 @@ dnl
dnl determines documentation "root directory", i.e. the directory
dnl where all documentation will be placed in
dnl
-
+dnl
AC_DEFUN([GP_CHECK_DOC_DIR],
[
AC_BEFORE([$0], [GP_BUILD_GTK_DOCS])dnl
@@ -110,4 +110,10 @@ apidocdir="${htmldir}/api"
AC_SUBST([apidocdir])
])dnl
-
+dnl
+dnl
+dnl ####################################################################
+dnl
+dnl Local Variables:
+dnl mode: autoconf
+dnl End:
diff --git a/libgphoto2_port/gphoto-m4/gp-internal-docs.m4 b/libgphoto2_port/gphoto-m4/gp-internal-docs.m4
index 8593620aa..01c4768db 100644
--- a/libgphoto2_port/gphoto-m4/gp-internal-docs.m4
+++ b/libgphoto2_port/gphoto-m4/gp-internal-docs.m4
@@ -27,3 +27,10 @@ AC_MSG_CHECKING([whether to create internal code docs])
AC_MSG_RESULT([${set_enable_internal_docs}])
AM_CONDITIONAL([ENABLE_INTERNAL_DOCS], [test "x${set_enable_internal_docs}" = "xyes"])
])dnl
+dnl
+dnl
+dnl ####################################################################
+dnl
+dnl Local Variables:
+dnl mode: autoconf
+dnl End:
diff --git a/libgphoto2_port/gphoto-m4/gp-manual-docbook-xml.m4 b/libgphoto2_port/gphoto-m4/gp-manual-docbook-xml.m4
index bec00c7fd..4c2be1bc4 100644
--- a/libgphoto2_port/gphoto-m4/gp-manual-docbook-xml.m4
+++ b/libgphoto2_port/gphoto-m4/gp-manual-docbook-xml.m4
@@ -44,3 +44,10 @@ fi
AM_CONDITIONAL(XMLTO, $have_xmlto)
])
+dnl
+dnl
+dnl ####################################################################
+dnl
+dnl Local Variables:
+dnl mode: autoconf
+dnl End:
diff --git a/libgphoto2_port/gphoto-m4/gp-manual-documentation.m4 b/libgphoto2_port/gphoto-m4/gp-manual-documentation.m4
index 717b34ea5..d73649eaa 100644
--- a/libgphoto2_port/gphoto-m4/gp-manual-documentation.m4
+++ b/libgphoto2_port/gphoto-m4/gp-manual-documentation.m4
@@ -327,3 +327,10 @@ then
fi
])dnl
+dnl
+dnl
+dnl ####################################################################
+dnl
+dnl Local Variables:
+dnl mode: autoconf
+dnl End:
diff --git a/libgphoto2_port/gphoto-m4/gp-manual-fig2dev.m4 b/libgphoto2_port/gphoto-m4/gp-manual-fig2dev.m4
index c61f2b7fe..0eee53360 100644
--- a/libgphoto2_port/gphoto-m4/gp-manual-fig2dev.m4
+++ b/libgphoto2_port/gphoto-m4/gp-manual-fig2dev.m4
@@ -38,3 +38,10 @@ fi
AM_CONDITIONAL(ENABLE_FIGURES, $have_fig2dev)
])
+dnl
+dnl
+dnl ####################################################################
+dnl
+dnl Local Variables:
+dnl mode: autoconf
+dnl End:
diff --git a/libgphoto2_port/gphoto-m4/gp-manual-graphviz.m4 b/libgphoto2_port/gphoto-m4/gp-manual-graphviz.m4
index 08e162d49..e901ac231 100644
--- a/libgphoto2_port/gphoto-m4/gp-manual-graphviz.m4
+++ b/libgphoto2_port/gphoto-m4/gp-manual-graphviz.m4
@@ -47,3 +47,10 @@ fi
AM_CONDITIONAL(ENABLE_GRAPHS, $have_dot)
])
+dnl
+dnl
+dnl ####################################################################
+dnl
+dnl Local Variables:
+dnl mode: autoconf
+dnl End:
diff --git a/libgphoto2_port/gphoto-m4/gp-manual-gtk-doc.m4 b/libgphoto2_port/gphoto-m4/gp-manual-gtk-doc.m4
index 12ffca094..b07213b86 100644
--- a/libgphoto2_port/gphoto-m4/gp-manual-gtk-doc.m4
+++ b/libgphoto2_port/gphoto-m4/gp-manual-gtk-doc.m4
@@ -22,3 +22,10 @@ if $try_gtkdoc; then
fi
AM_CONDITIONAL(ENABLE_GTK_DOC, $have_gtkdoc)
])
+dnl
+dnl
+dnl ####################################################################
+dnl
+dnl Local Variables:
+dnl mode: autoconf
+dnl End:
diff --git a/libgphoto2_port/gphoto-m4/gp-manual-pstoimg.m4 b/libgphoto2_port/gphoto-m4/gp-manual-pstoimg.m4
index 8d40690cd..cef82d6e5 100644
--- a/libgphoto2_port/gphoto-m4/gp-manual-pstoimg.m4
+++ b/libgphoto2_port/gphoto-m4/gp-manual-pstoimg.m4
@@ -34,3 +34,10 @@ fi
AM_CONDITIONAL(ENABLE_PSTOIMG, $have_pstoimg)
])
+dnl
+dnl
+dnl ####################################################################
+dnl
+dnl Local Variables:
+dnl mode: autoconf
+dnl End:
diff --git a/libgphoto2_port/gphoto-m4/gp-manual-w3m.m4 b/libgphoto2_port/gphoto-m4/gp-manual-w3m.m4
index e563d7b90..4006cba53 100644
--- a/libgphoto2_port/gphoto-m4/gp-manual-w3m.m4
+++ b/libgphoto2_port/gphoto-m4/gp-manual-w3m.m4
@@ -43,3 +43,10 @@ fi
AM_CONDITIONAL([HAVE_W3M], [$have_w3m])
])
+dnl
+dnl
+dnl ####################################################################
+dnl
+dnl Local Variables:
+dnl mode: autoconf
+dnl End:
diff --git a/libgphoto2_port/gphoto-m4/gp-packaging.m4 b/libgphoto2_port/gphoto-m4/gp-packaging.m4
index 6ea9e0472..2587ce634 100644
--- a/libgphoto2_port/gphoto-m4/gp-packaging.m4
+++ b/libgphoto2_port/gphoto-m4/gp-packaging.m4
@@ -56,4 +56,10 @@ AC_DEFUN([GPKG_CHECK_LINUX],
AC_SUBST([hotplugdocdir])
AC_SUBST([hotplugusermapdir])
])
-
+dnl
+dnl
+dnl ####################################################################
+dnl
+dnl Local Variables:
+dnl mode: autoconf
+dnl End:
diff --git a/libgphoto2_port/gphoto-m4/gp-references.m4 b/libgphoto2_port/gphoto-m4/gp-references.m4
index e468c83fe..7f00d06b4 100644
--- a/libgphoto2_port/gphoto-m4/gp-references.m4
+++ b/libgphoto2_port/gphoto-m4/gp-references.m4
@@ -46,3 +46,10 @@ GP_REF( [MAIL_GPHOTO_TRANSLATION],
[gphoto translation mailing list])
])
+dnl
+dnl
+dnl ####################################################################
+dnl
+dnl Local Variables:
+dnl mode: autoconf
+dnl End:
diff --git a/libgphoto2_port/gphoto-m4/gp-subpackage.m4 b/libgphoto2_port/gphoto-m4/gp-subpackage.m4
index afabd8b17..d0978f997 100644
--- a/libgphoto2_port/gphoto-m4/gp-subpackage.m4
+++ b/libgphoto2_port/gphoto-m4/gp-subpackage.m4
@@ -3,3 +3,10 @@ AC_DEFUN([GP_SUBPACKAGE],
AC_ARG_VAR([enable_subpackage_][$1], [enable subpackage ][$1][ (true or false)])
test "x${[enable_subpackage_][$1]}" = "x" && [enable_subpackage_][$1]=true
])dnl
+dnl
+dnl
+dnl ####################################################################
+dnl
+dnl Local Variables:
+dnl mode: autoconf
+dnl End:
diff --git a/libgphoto2_port/gphoto-m4/gp-udev.m4 b/libgphoto2_port/gphoto-m4/gp-udev.m4
index ef5ecb52c..c6b70873c 100644
--- a/libgphoto2_port/gphoto-m4/gp-udev.m4
+++ b/libgphoto2_port/gphoto-m4/gp-udev.m4
@@ -7,3 +7,10 @@ AC_ARG_VAR([udevscriptdir],[Directory where udev scripts like check-ptp-camera w
AC_SUBST([udevscriptdir])
AM_CONDITIONAL([HAVE_UDEV],[if echo "$host"|grep -i linux >/dev/null ; then $1; fi ])
])dnl
+dnl
+dnl
+dnl ####################################################################
+dnl
+dnl Local Variables:
+dnl mode: autoconf
+dnl End: