blob: b265c9a204d7ce700e45c5e0c614939c65c50ead (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
diff --git a/configure.ac b/configure.ac
index 3b549f2..56cb572 100644
--- a/configure.ac
+++ b/configure.ac
@@ -119,9 +119,6 @@ if test x$sphinxbase != x && test x$cross_compiling = xyes; then
CPPFLAGS="-I$sphinxbase/include -I$sphinxbasebuild/include $CPPFLAGS"
LIBS="$LIBS -lsphinxbase"
# We include libsphinxbase/.libs because of stupid broken versions of libtool
- LDFLAGS="$LDFLAGS -L$sphinxbasebuild/src/libsphinxad \
- -L$sphinxbasebuild/src/libsphinxbase \
- -L$sphinxbasebuild/src/libsphinxbase/.libs"
fi
if test x$sphinxbase != x && test x$cross_compiling != xyes; then
AC_CHECK_FILE($sphinxbase/include/sphinxbase/prim_type.h,CPPFLAGS="-I$sphinxbase/include $CPPFLAGS",
@@ -131,18 +128,7 @@ if test x$sphinxbase != x && test x$cross_compiling != xyes; then
SphinxBase. Run $0 --help for more information.]))
fi
# We include libsphinxbase/.libs because of stupid broken versions of libtool
-if test x$sphinxbasebuild != x && test x$cross_compiling != xyes; then
- AC_CHECK_FILE($sphinxbasebuild/src/libsphinxbase/libsphinxbase.la,
-[CPPFLAGS="-I$sphinxbasebuild/include $CPPFLAGS"
LIBS="$LIBS -lsphinxbase"
-LDFLAGS="$LDFLAGS -L$sphinxbasebuild/src/libsphinxad \
- -L$sphinxbasebuild/src/libsphinxbase \
- -L$sphinxbasebuild/src/libsphinxbase/.libs"],
- AC_ERROR(
-[SphinxBase libraries were not found in $sphinxbasebuild.
-Use the --with-sphinxbase-build option to `configure' to specify
-the build directory for SphinxBase. Run $0 --help for more information.]))
-fi
AC_ARG_ENABLE(g2p-decoder,
[ --enable-g2p-decoder Enable the g2p decoder],
|