diff --git a/system/devel/autogen/files/allow-guile-2.2.diff b/system/devel/autogen/files/allow-guile-2.2.diff
new file mode 100644
index 00000000..a63c3da2
--- /dev/null
+++ b/system/devel/autogen/files/allow-guile-2.2.diff
@@ -0,0 +1,36 @@
+diff --git a/agen5/guile-iface.h b/agen5/guile-iface.h
+index 0aeabb0..6ce3520 100644
+--- a/agen5/guile-iface.h
++++ b/agen5/guile-iface.h
+@@ -9,7 +9,7 @@
+ # error AutoGen does not work with this version of Guile
+ choke me.
+
+-#elif GUILE_VERSION < 201000
++#else
+ # define AG_SCM_IS_PROC(_p) scm_is_true( scm_procedure_p(_p))
+ # define AG_SCM_LIST_P(_l) scm_is_true( scm_list_p(_l))
+ # define AG_SCM_PAIR_P(_p) scm_is_true( scm_pair_p(_p))
+@@ -24,9 +24,6 @@
+ # define AG_SCM_TO_ULONG(_v) ((unsigned long)scm_to_ulong(_v))
+ # define AG_SCM_VEC_P(_v) scm_is_vector(_v)
+
+-#else
+-# error unknown GUILE_VERSION
+- choke me.
+ #endif
+
+ #endif /* MUTATING_GUILE_IFACE_H_GUARD */
+diff --git a/configure b/configure
+index befe20b..c4254eb 100755
+--- a/configure
++++ b/configure
+@@ -14191,7 +14191,7 @@ $as_echo "no" >&6; }
+ PKG_CONFIG=""
+ fi
+ fi
+- _guile_versions_to_search="2.0 1.8"
++ _guile_versions_to_search="2.2 2.0 1.8"
+ if test -n "$GUILE_EFFECTIVE_VERSION"; then
+ _guile_tmp=""
+ for v in $_guile_versions_to_search; do
diff --git a/system/devel/autogen/pspec.xml b/system/devel/autogen/pspec.xml
index 0b38aa70..5ddda5f6 100644
--- a/system/devel/autogen/pspec.xml
+++ b/system/devel/autogen/pspec.xml
@@ -12,7 +12,7 @@
app:console
The automated text and program generation tool
autogen is a tool designed to simplify the creation and maintenance of programs that contain large amounts of repetitious text.
- https://ftp.gnu.org/gnu/autogen/rel5.18.10/autogen-5.18.10.tar.gz
+ https://ftp.gnu.org/gnu/autogen/rel5.18.12/autogen-5.18.12.tar.gz
gc-devel
gmp-devel
@@ -20,6 +20,10 @@
libxml2-devel
which
+
+ allow-guile-2.2.diff
+
+
@@ -55,6 +59,13 @@
+
+ 2020-01-03
+ 5.8.12
+ Version bump.
+ Mustafa Cinasal
+ muscnsl@gmail.com
+
2018-07-20
5.18.10