preload-hacks: Some patches to make it work.
[termux-packages] / packages / cava / configure.ac.patch
CommitLineData
ec6185a6
OS
1diff --git a/configure.ac b/configure.ac
2index 6e3c291..c9d706e 100644
3--- a/configure.ac
4+++ b/configure.ac
5@@ -31,9 +31,9 @@ dnl ######################
6
7 AC_CHECK_HEADERS([pthread.h],
8 AC_CHECK_LIB(pthread, pthread_create, LIBS="$LIBS -lpthread",
9- AC_MSG_ERROR([pthread.h found but there is no pthread library to make use of])
10+ AC_MSG_NOTICE([pthread.h found but there is no pthread library to make use of])
11 ),
12- AC_MSG_ERROR([no pthread.h header header file found])
13+ AC_MSG_NOTICE([no pthread.h header header file found])
14 )
15
16
17@@ -152,7 +152,7 @@ AS_IF([test "x$enable_legacy_iniparser" = "xyes"], [
18 dnl ############################
19 dnl Set font directory
20 dnl ############################
21-DEFAULT_FONT_DIR="/usr/share/consolefonts"
22+DEFAULT_FONT_DIR="@TERMUX_PREFIX@/share/consolefonts"
23 AC_ARG_VAR(FONT_DIR, [Directory where the font will be installed.])
24 if test -z "$FONT_DIR" ; then
25 FONT_DIR="$DEFAULT_FONT_DIR"