summaryrefslogtreecommitdiff
path: root/app-accessibility/sphinx2/files/sphinx2-0.6-as-needed.patch
blob: f647ab35142cf69cdc58818079f202cf8e12ff59 (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
--- a/configure.in
+++ b/configure.in
@@ -1,7 +1,7 @@
 dnl Welcome to the Sphinx-2 automated build system.
 dnl try not to hurt yourself ;)
 
-AC_INIT(configure.in)
+AC_INIT(configure.ac)
 AM_INIT_AUTOMAKE(sphinx2,0.6)
 
 CFLAGS=${CFLAGS:--g -O2 -Wall}
--- a/src/libsphinx2/Makefile.am
+++ b/src/libsphinx2/Makefile.am
@@ -88,7 +88,7 @@
 	word_fsg.c
 
 
-# libsphinx2_la_LIBADD = -lc -lm $(top_srcdir)/src/libsphinx2fe/libsphinx2fe.la
+libsphinx2_la_LIBADD = -lc -lm $(top_srcdir)/src/libsphinx2fe/libsphinx2fe.la
 
 # hjf@cs.brown.edu - Added for Solaris build
 # LDADD = -L/usr/demo/SOUND/lib/ -laudio
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,5 +1,5 @@
-SUBDIRS = libsphinx2 \
-	libsphinx2fe \
+SUBDIRS = libsphinx2fe \
 	libsphinx2ad \
+	libsphinx2 \
 	examples