mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 18:21:22 +00:00
Fix compilation error
This commit is contained in:
parent
347fa8c4e1
commit
efc901b79d
4 changed files with 8 additions and 7 deletions
|
@ -14,18 +14,13 @@ GSSpeechRecognitionServer_OBJC_FILES = \
|
|||
GSSpeechRecognitionServer.m \
|
||||
main.m
|
||||
|
||||
|
||||
ifeq ($(GSSPEECHRECOGNITIONENGINE), Pocketsphinx)
|
||||
POCKETSPHINX_BASE_LIBS = -lpocketsphinx -lsphinxbase -lsphinxad
|
||||
|
||||
# Add includes and link dirs.... need to replace triplet.
|
||||
GSSpeechRecognitionServer_OBJC_FILES += PocketsphinxSpeechRecognitionEngine.m
|
||||
# Add includes and link dirs....
|
||||
GSSpeechRecognitionServer_OBJC_FILES += $(RECOGNIZER_ENGINE_CLASS)
|
||||
GSSpeechRecognitionServer_INCLUDE_DIRS += $(RECOGNIZER_BASE_CFLAGS) \
|
||||
-I../../Headers \
|
||||
-I../../Headers/Additions
|
||||
GSSpeechRecognitionServer_LIB_DIRS += -L../../Source/$(GNUSTEP_OBJ_DIR) \
|
||||
-L/usr/local/lib -lgnustep-gui \
|
||||
$(RECOGNIZER_BASE_LIBS)
|
||||
endif
|
||||
|
||||
include $(GNUSTEP_MAKEFILES)/application.make
|
||||
|
|
|
@ -12,6 +12,7 @@ BUILD_SPEECH_RECOGNIZER=@BUILD_SPEECH_RECOGNIZER@
|
|||
BUILD_SOUND=@BUILD_SOUND@
|
||||
RECOGNIZER_BASE_LIBS=@RECOGNIZER_BASE_LIBS@
|
||||
RECOGNIZER_BASE_CFLAGS=@RECOGNIZER_BASE_CFLAGS@
|
||||
RECOGNIZER_ENGINE_CLASS=@RECOGNIZER_ENGINE_CLASS@
|
||||
|
||||
# CUPS
|
||||
GSCUPS_CFLAGS = @GSCUPS_CFLAGS@
|
||||
|
|
3
configure
vendored
3
configure
vendored
|
@ -635,6 +635,7 @@ GSCUPS_LIBS
|
|||
GSCUPS_LDFLAGS
|
||||
GSCUPS_CFLAGS
|
||||
have_cups
|
||||
RECOGNIZER_ENGINE_CLASS
|
||||
RECOGNIZER_BASE_CFLAGS
|
||||
RECOGNIZER_BASE_LIBS
|
||||
BUILD_SPEECH_RECOGNIZER
|
||||
|
@ -5740,11 +5741,13 @@ if test $have_pocketsphinx = yes -a $have_speech_recognizer = yes -a $enable_spe
|
|||
BUILD_SPEECH_RECOGNIZER="speech_recognizer"
|
||||
RECOGNIZER_BASE_LIBS=`pkg-config --libs pocketsphinx sphinxbase`
|
||||
RECOGNIZER_BASE_CFLAGS=`pkg-config --cflags pocketsphinx sphinxbase`
|
||||
RECOGNIZER_ENGINE_CLASS=PocketsphinxSpeechRecognitionEngine.m
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#--------------------------------------------------------------------
|
||||
# Find CUPS
|
||||
#--------------------------------------------------------------------
|
||||
|
|
|
@ -553,10 +553,12 @@ if test $have_pocketsphinx = yes -a $have_speech_recognizer = yes -a $enable_spe
|
|||
BUILD_SPEECH_RECOGNIZER="speech_recognizer"
|
||||
RECOGNIZER_BASE_LIBS=`pkg-config --libs pocketsphinx sphinxbase`
|
||||
RECOGNIZER_BASE_CFLAGS=`pkg-config --cflags pocketsphinx sphinxbase`
|
||||
RECOGNIZER_ENGINE_CLASS=PocketsphinxSpeechRecognitionEngine.m
|
||||
fi
|
||||
AC_SUBST(BUILD_SPEECH_RECOGNIZER)
|
||||
AC_SUBST(RECOGNIZER_BASE_LIBS)
|
||||
AC_SUBST(RECOGNIZER_BASE_CFLAGS)
|
||||
AC_SUBST(RECOGNIZER_ENGINE_CLASS)
|
||||
|
||||
#--------------------------------------------------------------------
|
||||
# Find CUPS
|
||||
|
|
Loading…
Reference in a new issue