Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
--- ../configure.ac.orig 2020-02-19 13:10:41.419383896 +0100
+++ configure.ac 2020-02-19 14:14:36.189197818 +0100
@@ -106,9 +106,20 @@
[AC_MSG_FAILURE([ncurses test failed])],
[])
+ AC_LANG_CPLUSPLUS()
+ AC_CHECK_LIB([estbase], [main], [],
+ [AC_MSG_FAILURE([estbase test failed])],
+ []
+ )
+
+ AC_CHECK_LIB([eststring], [main], [],
+ [AC_MSG_FAILURE([eststring test failed])],
+ []
+ )
+
AC_CHECK_LIB([estools], [main], [],
[AC_MSG_FAILURE([estool test failed])],
- []
+ [-lncurses]
)
AC_CHECK_LIB([Festival], [main], [
@@ -121,7 +132,7 @@
LIB_FESTIVAL="${srcdir}/lib/libFestival.a ${srcdir}/lib/libestools.a ${srcdir}/lib/libestbase.a ${srcdir}/lib/libeststring.a -lncurses"
CFLAG_FESTIVAL="-I${srcdir}/include -I${srcdir}/include/festival -I${srcdir}/include/speech_tools"
],
- []
+ [-lestbase -leststring -lncurses]
)
],
[LIB_FESTIVAL=""
@@ -183,7 +194,7 @@
AC_MSG_FAILURE(
[--with-mp3lame was given, but test for mp3lame failed])
fi
- ], [])])
+ ], [-lncurses])])
AC_ARG_ENABLE(dist-voice,
[ --disable-dist-voice],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment