Skip to content

Instantly share code, notes, and snippets.

@sshirokov
Last active May 3, 2023 23:41
Show Gist options
  • Save sshirokov/c367bcde4ed5c6030c14 to your computer and use it in GitHub Desktop.
Save sshirokov/c367bcde4ed5c6030c14 to your computer and use it in GitHub Desktop.
Patch to lasem configure.ac to make builds fucking work
diff --git a/configure.ac b/configure.ac
index 23ae194..32149a9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,7 +32,7 @@ AC_PROG_YACC
AC_SUBST(GETTEXT_PACKAGE, lasem-${LASEM_API_VERSION})
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
AM_GLIB_GNU_GETTEXT
-IT_PROG_INTLTOOL([0.35.0])
+#IT_PROG_INTLTOOL([0.35.0])
LT_INIT()
@@ -113,8 +113,8 @@ AC_SUBST(LASEM_LIBS)
AC_PATH_PROG(GLIB_MKENUMS, glib-mkenums)
GOBJECT_INTROSPECTION_CHECK([0.6.7])
-GTK_DOC_CHECK([1.14],[--flavour no-tmpl])
-AM_CONDITIONAL([BUILD_GTK_DOC], [test "x$enable_gtk_doc" = "xyes" || test ! -f "autogen.sh"])
+#GTK_DOC_CHECK([1.14],[--flavour no-tmpl])
+AM_CONDITIONAL([BUILD_GTK_DOC], [false])
AC_CONFIG_FILES([
Makefile
@sshirokov
Copy link
Author

With this, the build works in linux without gtk-doc and intltool using the following:

./autogen.sh && echo 'all:' > tests/Makefile ; make 

💻 🔥

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment