FS-11368: [mod_flite] Use system libflite.
This commit is contained in:
parent
e7c5e2480a
commit
079086fe7e
11
configure.ac
11
configure.ac
|
@ -1427,24 +1427,25 @@ PKG_CHECK_MODULES([SOUNDTOUCH], [soundtouch >= 1.7.0],[
|
||||||
AM_CONDITIONAL([HAVE_SOUNDTOUCH],[true])],[
|
AM_CONDITIONAL([HAVE_SOUNDTOUCH],[true])],[
|
||||||
AC_MSG_RESULT([no]); AM_CONDITIONAL([HAVE_SOUNDTOUCH],[false])])
|
AC_MSG_RESULT([no]); AM_CONDITIONAL([HAVE_SOUNDTOUCH],[false])])
|
||||||
|
|
||||||
PKG_CHECK_MODULES([FLITE], [flite >= 2],[
|
flite="true"
|
||||||
AM_CONDITIONAL([HAVE_FLITE],[true])],[
|
PKG_CHECK_MODULES([FLITE], [flite >= 2],[],[
|
||||||
AC_CHECK_LIB([flite], [flite_init],[
|
AC_CHECK_LIB([flite], [flite_init],[
|
||||||
AC_CHECK_HEADERS([flite/flite.h],[
|
AC_CHECK_HEADERS([flite/flite.h],[
|
||||||
AM_CONDITIONAL([HAVE_FLITE],[true])
|
|
||||||
FLITE_LIBS="-lflite -lflite_cmu_grapheme_lang -lflite_cmu_grapheme_lex -lflite_cmu_indic_lang -lflite_cmu_indic_lex -lflite_cmulex -lflite_cmu_time_awb -lflite_cmu_us_awb -lflite_cmu_us_kal16 -lflite_cmu_us_kal -lflite_cmu_us_rms -lflite_cmu_us_slt -lflite_usenglish"
|
FLITE_LIBS="-lflite -lflite_cmu_grapheme_lang -lflite_cmu_grapheme_lex -lflite_cmu_indic_lang -lflite_cmu_indic_lex -lflite_cmulex -lflite_cmu_time_awb -lflite_cmu_us_awb -lflite_cmu_us_kal16 -lflite_cmu_us_kal -lflite_cmu_us_rms -lflite_cmu_us_slt -lflite_usenglish"
|
||||||
FLITE_CFLAGS=""
|
FLITE_CFLAGS=""
|
||||||
], [
|
], [
|
||||||
if module_enabled mod_flite; then
|
flite="false"
|
||||||
|
if module_enabled mod_flite; then
|
||||||
AC_MSG_ERROR([You must install libflite-dev to build mod_flite])
|
AC_MSG_ERROR([You must install libflite-dev to build mod_flite])
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT([no])
|
AC_MSG_RESULT([no])
|
||||||
AM_CONDITIONAL([HAVE_FLITE],[false])
|
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
])
|
])
|
||||||
])
|
])
|
||||||
|
|
||||||
|
AM_CONDITIONAL([HAVE_FLITE],[$flite])
|
||||||
|
|
||||||
PKG_CHECK_MODULES([MONGOC], [libmongoc-1.0 >= 1.0.8],[
|
PKG_CHECK_MODULES([MONGOC], [libmongoc-1.0 >= 1.0.8],[
|
||||||
AM_CONDITIONAL([HAVE_MONGOC],[true])],[
|
AM_CONDITIONAL([HAVE_MONGOC],[true])],[
|
||||||
AC_MSG_RESULT([no]); AM_CONDITIONAL([HAVE_MONGOC],[false])])
|
AC_MSG_RESULT([no]); AM_CONDITIONAL([HAVE_MONGOC],[false])])
|
||||||
|
|
Loading…
Reference in New Issue