mirror of
https://github.com/termux/termux-packages.git
synced 2025-01-19 16:52:16 +00:00
de27f9b0f7
Termux hasn't packaged autogen yet. Use touch as an alternative. This change will not do any change to this library, so [skip ci]
30 lines
947 B
Diff
30 lines
947 B
Diff
https://github.com/termux/termux-packages/issues/19054
|
|
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -532,10 +532,11 @@
|
|
AC_MSG_WARN([[******************************************************************]])
|
|
])
|
|
|
|
+AUTOGEN_BIN="autogen --writable"
|
|
AS_IF([test "x$ac_cv_prog_HAVE_AUTOGEN" = "xno"], [
|
|
+ AUTOGEN_BIN="touch $@"
|
|
- AC_MSG_WARN([[Touching files in directory tests/.]])
|
|
- touch tests/*.c tests/*.h
|
|
])
|
|
+AC_SUBST(AUTOGEN_BIN)
|
|
|
|
dnl ====================================================================================
|
|
dnl Settings for the HTML documentation.
|
|
--- a/Makefile.am
|
|
+++ b/Makefile.am
|
|
@@ -415,7 +415,7 @@
|
|
# from calling autogen in tarball releases.
|
|
.def.c:
|
|
$(MAKE) $(AM_MAKEFLAGS) $<
|
|
- cd $(top_srcdir)/$(@D) && autogen --writable $(<F)
|
|
+ cd $(top_srcdir)/$(@D) && @AUTOGEN_BIN@ $(<F)
|
|
|
|
# recommended Automake way for multi-output targets:
|
|
# https://www.gnu.org/software/automake/manual/html_node/Multiple-Outputs.html
|