diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2010-02-16 11:42:18 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2010-02-16 11:42:18 (GMT) |
commit | 39b7a3e3c54653ccdd828b052c397f34b71fca43 (patch) | |
tree | 44755b5659582613439abbe46d4beecf6a5a4763 /configure.ac | |
parent | 8d8d0587aaf2ceedf086f98e11e3e0c410062981 (diff) |
Add service.info0.3
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index ae34351..fe41fd8 100644 --- a/configure.ac +++ b/configure.ac @@ -124,17 +124,23 @@ fi AC_SUBST(plugindir) dnl set proper LDFLAGS for plugins -GST_PLUGIN_LDFLAGS='-module -avoid-version -export-symbols-regex [_]*\(gst_\|Gst\|GST_\).*' +GST_PLUGIN_LDFLAGS='-module -avoid-version' AC_SUBST(GST_PLUGIN_LDFLAGS) -dnl check espeak dependencies -AC_CHECK_LIB(espeak, espeak_Initialize,, AC_MSG_ERROR()) PKG_CHECK_MODULES(GST_AUDIO, gstreamer-audio-0.10, HAVE_AUDIO=yes, HAVE_AUDIO=no) - if test "x$HAVE_AUDIO" = "xno"; then AC_CHECK_LIB(gstbase-0.10, gst_base_src_get_type,, AC_MSG_ERROR()) AC_CHECK_LIB(gstaudio-0.10, gst_base_audio_src_get_type,, AC_MSG_ERROR()) fi -AC_OUTPUT(Makefile m4/Makefile src/Makefile) +dnl check espeak +if test "${ESPEAK_PREFIX}"; then + ESPEAK_CFLAGS="-I${ESPEAK_PREFIX}/include" + ESPEAK_LIBS="-L${ESPEAK_PREFIX}/lib -lespeak" + AC_SUBST(ESPEAK_CFLAGS) + AC_SUBST(ESPEAK_LIBS) +else + AC_CHECK_LIB(espeak, espeak_Initialize,, AC_MSG_ERROR()) +fi +AC_OUTPUT(Makefile m4/Makefile src/Makefile) |